This interface defines the functionality that should be offered by a generic Nirvana event publisher. More...
Public Member Functions | |
void | publish (nConsumeEvent evt) |
The publish method should be implemented to define the specific behavior for writing to a channel or queue. More... | |
This interface defines the functionality that should be offered by a generic Nirvana event publisher.
Classes implementing this interface can be designated as publishing implementations. (e.g. by the nConsumeEventFragmentWriter)
void com.pcbsys.nirvana.client.nEventPublisher.publish | ( | nConsumeEvent | evt | ) |
The publish method should be implemented to define the specific behavior for writing to a channel or queue.
evt | The event to publish |
nTransactionException | thrown if any transactional errors occur |
nSessionPausedException | The session is currently paused |
nSessionNotConnectedException | The session has become disconnected from the server |
nSecurityException | Insufficient privileges for the operation |
nRequestTimedOutException | The server failed to respond within the specified timeout |
nUnexpectedResponseException | The response from the server was not expected |
nChannelNotFoundException | The channel / queue was not founf on the server |
nIllegalArgumentException | The method arguments was invalid, incorrect or possibly null |