com.pcbsys.nirvana.client.nAbstractChannel Class Reference

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...

Inheritance diagram for com.pcbsys.nirvana.client.nAbstractChannel:
com.pcbsys.nirvana.client.nQueue

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 object that this channel belongs to More...
 
void updateProtobufDefinitions (byte[][] descriptors)
 Sets the protobuf descriptors for this channel. More...
 

Detailed Description

This is the base class for all nirvana channel types, including queues and normal pub/sub channels and as such has no public methods

nChannel nQueue

Member Function Documentation

int com.pcbsys.nirvana.client.nAbstractChannel.getQueueSize ( )

Returns the size of the underlying event queue waiting for delivery via the go method

Returns
Size of the underlying event queue waiting for delivery
nSession com.pcbsys.nirvana.client.nAbstractChannel.getSession ( )

Returns the nSession object that this channel belongs to

Returns
The nSession that this channel is associated with
void com.pcbsys.nirvana.client.nAbstractChannel.updateProtobufDefinitions ( byte  descriptors[][])

Sets the protobuf descriptors for this channel.

Parameters
descriptorsan array of the descriptors in byte[] form.