Glossary:
com.pcbsys.nirvana.client.nConsumeEventCompressReader Class Reference
This is a helper class and enables clients to uncompress events being received from a server. More...
Inheritance diagram for com.pcbsys.nirvana.client.nConsumeEventCompressReader:

Public Member Functions | |
| void | go (nConsumeEvent evt) |
| This method is called by the client for each event that the server sends. | |
| nConsumeEventCompressReader (nEventListener listener) throws nIllegalArgumentException | |
| Adds a nEventListener to be called after the event has been uncompressed. | |
Detailed Description
This is a helper class and enables clients to uncompress events being received from a server.The events would have needed to be compressed using the nConsumeEventCompressWriter.
- See also:
- nConsumeEventCompressWriter
Constructor & Destructor Documentation
| com.pcbsys.nirvana.client.nConsumeEventCompressReader.nConsumeEventCompressReader | ( | nEventListener | listener | ) | throws nIllegalArgumentException |
Adds a nEventListener to be called after the event has been uncompressed.
- Parameters:
-
listener the listener that will receive the callback with the uncompressed event
- Exceptions:
-
nIllegalArgumentException if the listener is null
Member Function Documentation
| void com.pcbsys.nirvana.client.nConsumeEventCompressReader.go | ( | nConsumeEvent | evt | ) |
This method is called by the client for each event that the server sends.
It then uncompresses, if required.
If it receives an event which has not been compressed then the event is passed directly on to the nEventListener that was supplied by the constructor.
- Parameters:
-
evt the commpressed nConsumeEvent
