Package org.hyperledger.aries.webhook
Class ReactiveEventHandler
- java.lang.Object
-
- org.hyperledger.aries.webhook.ReactiveEventHandler
-
- All Implemented Interfaces:
IEventHandler
- Direct Known Subclasses:
AriesWebSocketClient
public class ReactiveEventHandler extends Object implements IEventHandler
Reactive event handler
-
-
Constructor Summary
Constructors Constructor Description ReactiveEventHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Flux<BasicMessage>basicMessage()reactor.core.publisher.Flux<ConnectionRecord>connection()reactor.core.publisher.Flux<V1CredentialExchange>credentialEx()reactor.core.publisher.Flux<V20CredExRecord>credentialExV2()reactor.core.publisher.Flux<V2IssueIndyCredentialEvent>credentialIssueIndy()reactor.core.publisher.Flux<V2IssueLDCredentialEvent>credentialIssueLD()reactor.core.publisher.Flux<DiscoverFeatureEvent>discoverFeature()reactor.core.publisher.Flux<EndorseTransactionRecord>endorseTrx()voidhandleEvent(String topic, String payload)Handler for regular walletsvoidhandleEvent(String walletId, String topic, String payload)Handler for multi tenant walletsreactor.core.publisher.Flux<RevocationEvent>issuerRevocation()reactor.core.publisher.Flux<PingEvent>ping()reactor.core.publisher.Flux<PresentationExchangeRecord>presentationEx()reactor.core.publisher.Flux<V20PresExRecord>presentationExV2()reactor.core.publisher.Flux<ProblemReport>problemReport()reactor.core.publisher.Flux<RevocationNotificationEvent>revocationNotification()reactor.core.publisher.Flux<RevocationNotificationEventV2>revocationNotificationV2()
-
-
-
Method Detail
-
handleEvent
public void handleEvent(String topic, String payload)
Description copied from interface:IEventHandlerHandler for regular wallets- Specified by:
handleEventin interfaceIEventHandler- Parameters:
topic- event typepayload- json payload
-
handleEvent
public void handleEvent(String walletId, String topic, String payload)
Description copied from interface:IEventHandlerHandler for multi tenant wallets- Specified by:
handleEventin interfaceIEventHandler- Parameters:
walletId- x-wallet-id HTTP header valuetopic- event typepayload- json payload
-
connection
public reactor.core.publisher.Flux<ConnectionRecord> connection()
-
presentationEx
public reactor.core.publisher.Flux<PresentationExchangeRecord> presentationEx()
-
presentationExV2
public reactor.core.publisher.Flux<V20PresExRecord> presentationExV2()
-
credentialEx
public reactor.core.publisher.Flux<V1CredentialExchange> credentialEx()
-
credentialExV2
public reactor.core.publisher.Flux<V20CredExRecord> credentialExV2()
-
credentialIssueIndy
public reactor.core.publisher.Flux<V2IssueIndyCredentialEvent> credentialIssueIndy()
-
credentialIssueLD
public reactor.core.publisher.Flux<V2IssueLDCredentialEvent> credentialIssueLD()
-
basicMessage
public reactor.core.publisher.Flux<BasicMessage> basicMessage()
-
ping
public reactor.core.publisher.Flux<PingEvent> ping()
-
issuerRevocation
public reactor.core.publisher.Flux<RevocationEvent> issuerRevocation()
-
endorseTrx
public reactor.core.publisher.Flux<EndorseTransactionRecord> endorseTrx()
-
problemReport
public reactor.core.publisher.Flux<ProblemReport> problemReport()
-
discoverFeature
public reactor.core.publisher.Flux<DiscoverFeatureEvent> discoverFeature()
-
revocationNotification
public reactor.core.publisher.Flux<RevocationNotificationEvent> revocationNotification()
-
revocationNotificationV2
public reactor.core.publisher.Flux<RevocationNotificationEventV2> revocationNotificationV2()
-
-