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:
com.pcbsys.nirvana.client.nEventListener

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. More...
 
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. More...
 
- Public Member Functions inherited from com.pcbsys.nirvana.client.nEventListener
void go (com.pcbsys.nirvana.client.nConsumeEvent evt)
 This method is asynchronously called by the nirvana client API to deliver an event to a registered subscriber. More...
 

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
evtThe nConsumeEvent object specifying the event being delivered.
signaturethe signature being used go attempt to validate the event
reasonthe 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
evtThe nConsumeEvent object specifying the event being delivered.
signerDetailssigning information such as java.security.cert.X509Certificate