Glossary:
com.pcbsys.nirvana.client.nSignedEventListener Interface Reference
This interface should be implemented by any object that wishes to register itself as a subscriber to a nirvana channel or queue, using the nMessageValidator class to receive signed events. More...
Inheritance diagram for com.pcbsys.nirvana.client.nSignedEventListener:

Public Member Functions | |
| void | error (com.pcbsys.nirvana.client.nConsumeEvent evt, byte[] signature, Exception reason) |
| This method is asynchronously called by the nirvana client API to deliver a failed signature events to a registered subscriber. | |
| void | go (com.pcbsys.nirvana.client.nConsumeEvent evt, Object signerDetails) |
| This method is asynchronously called by the nirvana client API to deliver a signed event to a registered subscriber. | |
Detailed Description
This interface should be implemented by any object that wishes to register itself as a subscriber to a nirvana channel or queue, using the nMessageValidator class to receive signed events.Member Function Documentation
| void com.pcbsys.nirvana.client.nSignedEventListener.error | ( | com.pcbsys.nirvana.client.nConsumeEvent | evt, | |
| byte[] | signature, | |||
| Exception | reason | |||
| ) |
This method is asynchronously called by the nirvana client API to deliver a failed signature events to a registered subscriber.
- Parameters:
-
evt The nConsumeEvent object specifying the event being delivered. signature the signature being used go attempt to validate the event reason the exception generated when validating the event
| void com.pcbsys.nirvana.client.nSignedEventListener.go | ( | com.pcbsys.nirvana.client.nConsumeEvent | evt, | |
| Object | signerDetails | |||
| ) |
This method is asynchronously called by the nirvana client API to deliver a signed event to a registered subscriber.
- Parameters:
-
evt The nConsumeEvent object specifying the event being delivered. signerDetails signing information such as java.security.cert.X509Certificate
