This class represents a client context on a RealmServer. More...
Public Member Functions | |
nDurableDetails | getDetails () |
This method returns an object with the durable details. | |
long | getEID () |
Returns the current event ID that this named context is bound to. | |
long | getId () |
Returns the unique ID of this client context. | |
long | getLength () |
Returns the total number of events for this particular named context. | |
string | getName () |
Returns the name of this client context. | |
string | getSelector () |
Selector used for this durable object to filter events. | |
virtual bool | isPriorityEnabled () |
If set the named object will queue multiple subscription such that the first subscriber will receive all events until it either disconnects or deletes the subscription, at which time, the next subscription request will start to receive events. | |
virtual bool | isQueued () |
Indicates whether the shared durable object is backed with a hidden queue. | |
virtual bool | isSerial () |
Indicates whether the durable object is shared. | |
virtual bool | isShared () |
Indicates whether the durable object is shared. | |
This class represents a client context on a RealmServer.
In as much as that if a client session is closed and sometime later a new client session is created by referencing this named object the client can resume where they were
nDurableDetails com.pcbsys.nirvana.client.nNamedObject.getDetails | ( | ) |
This method returns an object with the durable details.
long com.pcbsys.nirvana.client.nNamedObject.getEID | ( | ) |
Returns the current event ID that this named context is bound to.
long com.pcbsys.nirvana.client.nNamedObject.getId | ( | ) |
Returns the unique ID of this client context.
long com.pcbsys.nirvana.client.nNamedObject.getLength | ( | ) |
Returns the total number of events for this particular named context.
If the named object is not shared then this method will always return -1
string com.pcbsys.nirvana.client.nNamedObject.getName | ( | ) |
Returns the name of this client context.
string com.pcbsys.nirvana.client.nNamedObject.getSelector | ( | ) |
Selector used for this durable object to filter events.
|
virtual |
If set the named object will queue multiple subscription such that the first subscriber will receive all events until it either disconnects or deletes the subscription, at which time, the next subscription request will start to receive events.
|
virtual |
Indicates whether the shared durable object is backed with a hidden queue.
Queued durables are no longer supported. The flag is used for backwards compatibility and only query based operations are supported for this type.
|
virtual |
Indicates whether the durable object is shared.
If true, multiple subscribers are queued and events are sent in a serial fashion.
|
virtual |
Indicates whether the durable object is shared.
If true, multiple subscribers are queued and events are sent in a round-robin fashion.