Glossary:
com.pcbsys.nirvana.client.nEventPublisher Interface Reference
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. | |
Detailed Description
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)
Member Function Documentation
| 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.
- Parameters:
-
evt The event to publish
- Exceptions:
-
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
