- com
- pcbsys
- nirvana
- client
- nAbstractChannel
This is the base class for all nirvana channel types, including queues and normal pub/sub channels and as such has no public methods. More...
Public Member Functions | |
int | getQueueSize () |
Returns the size of the underlying event queue waiting for delivery via the go method. More... | |
nSession | getSession () |
Returns the nSession used to create/find this channel. More... | |
nChannelAttributes | getStoreAttributes () |
The attributes about this channel and how it is configured. More... | |
boolean | isStoreObjectInvalid () |
When a store is removed (or modified which entails a remove and create) then these logical representations can become invalid Once they are invalid you must perform a findChannel again on the nSession to acquire the latest object. More... | |
void | updateProtobufDefinitions (byte[][] descriptors) throws nIllegalArgumentException, nSessionNotConnectedException, nRequestTimedOutException, nSessionPausedException |
Update the Protocol Buffer definition for the store. More... | |
This is the base class for all nirvana channel types, including queues and normal pub/sub channels and as such has no public methods.
int com.pcbsys.nirvana.client.nAbstractChannel.getQueueSize | ( | ) |
Returns the size of the underlying event queue waiting for delivery via the go method.
nSession com.pcbsys.nirvana.client.nAbstractChannel.getSession | ( | ) |
nChannelAttributes com.pcbsys.nirvana.client.nAbstractChannel.getStoreAttributes | ( | ) |
The attributes about this channel and how it is configured.
boolean com.pcbsys.nirvana.client.nAbstractChannel.isStoreObjectInvalid | ( | ) |
When a store is removed (or modified which entails a remove and create) then these logical representations can become invalid Once they are invalid you must perform a findChannel again on the nSession to acquire the latest object.
void com.pcbsys.nirvana.client.nAbstractChannel.updateProtobufDefinitions | ( | byte | descriptors[][] | ) | throws nIllegalArgumentException, nSessionNotConnectedException, nRequestTimedOutException, nSessionPausedException |
Update the Protocol Buffer definition for the store.
descriptors | An array of descriptors as byte[] to set as the new channel's descriptors. |
nIllegalArgumentException | descriptors cannot be sent to the realm. |
nSessionNotConnectedException | if the session for this store is not currently connected |
nRequestTimedOutException | if there is no response to the request to set the store's descriptors within the timeout period. |
nSessionPausedException | if the session for this store is currently paused |