- com
- pcbsys
- nirvana
- client
- nDurableManager
A Manager for the Durable Subscriptions on a channel. More...
Public Member Functions | |
nDurable | add (nDurableAttributes attributes) throws nIllegalArgumentException, nSessionPausedException, nSecurityException, nChannelNotFoundException, nSessionNotConnectedException, nNameAlreadyBoundException, nRequestTimedOutException, nUnexpectedResponseException, nSelectorParserException |
Creates a named object on the channel with the given name and depending on the persistent flag informs the server to store the name and value to disk or not. More... | |
void | delete (nDurable name) throws nIllegalArgumentException, nSecurityException, nChannelNotFoundException, nSessionNotConnectedException, nSessionPausedException, nNameDoesNotExistException, nRequestTimedOutException, nUnexpectedResponseException |
Removes all references for this name on the realm Server. More... | |
nDurable | get (String name) throws nIllegalArgumentException, nSessionPausedException, nSecurityException, nChannelNotFoundException, nSessionNotConnectedException, nNameDoesNotExistException, nRequestTimedOutException, nUnexpectedResponseException |
Returns an instance nDurable Object called by the string Name. More... | |
nDurable[] | getAll () throws nIllegalArgumentException, nSessionPausedException, nSecurityException, nChannelNotFoundException, nSessionNotConnectedException, nNameDoesNotExistException, nRequestTimedOutException, nUnexpectedResponseException |
Returns all known nDurable objects known on this channel. More... | |
void | unbind (nDurable name) throws nIllegalArgumentException, nSecurityException, nChannelNotFoundException, nSessionNotConnectedException, nSessionPausedException, nNameDoesNotExistException, nRequestTimedOutException, nUnexpectedResponseException |
Unbinds the named object from the current connection. More... | |
A Manager for the Durable Subscriptions on a channel.
nDurable com.pcbsys.nirvana.client.nDurableManager.add | ( | nDurableAttributes | attributes | ) | throws nIllegalArgumentException, nSessionPausedException, nSecurityException, nChannelNotFoundException, nSessionNotConnectedException, nNameAlreadyBoundException, nRequestTimedOutException, nUnexpectedResponseException, nSelectorParserException |
Creates a named object on the channel with the given name and depending on the persistent flag informs the server to store the name and value to disk or not.
nSecurityException | is thrown if the caller has insufficient permissions |
nChannelNotFoundException | if the channel no longer exists |
nRequestTimedOutException | if the request exceeded the timeout value |
nSessionNotConnectedException | The session is not currently connected to the server |
nUnexpectedResponseException | Received a response from the server for which we can not deal with, see the message for further information |
nIllegalArgumentException | This exception is raised if there is any issues with any of the arguments used by this method. One condition of this is if this object has been invalidated and no longer can be utilised, this can occur if a delete request has been issued to the connected server. |
nSessionPausedException | The session is currently paused, please resume |
void com.pcbsys.nirvana.client.nDurableManager.delete | ( | nDurable | name | ) | throws nIllegalArgumentException, nSecurityException, nChannelNotFoundException, nSessionNotConnectedException, nSessionPausedException, nNameDoesNotExistException, nRequestTimedOutException, nUnexpectedResponseException |
Removes all references for this name on the realm Server.
name | the name to be removed from the server |
nSecurityException | is thrown if the caller has insufficient permissions |
nChannelNotFoundException | if the channel no longer exists |
nRequestTimedOutException | if the request exceeded the timeout value |
nSessionNotConnectedException | The session is not currently connected to the server |
nUnexpectedResponseException | Received a response from the server for which we can not deal with, see the message for further information |
nIllegalArgumentException | This exception is raised if there is any issues with any of the arguments used by this method. One condition of this is if this object has been invalidated and no longer can be utilised, this can occur if a delete request has been issued to the connected server. |
nNameDoesNotExistException | The name specified does not exist on the server |
nSessionPausedException | The session is currently paused, please resume |
nDurable com.pcbsys.nirvana.client.nDurableManager.get | ( | String | name | ) | throws nIllegalArgumentException, nSessionPausedException, nSecurityException, nChannelNotFoundException, nSessionNotConnectedException, nNameDoesNotExistException, nRequestTimedOutException, nUnexpectedResponseException |
Returns an instance nDurable Object called by the string Name.
name | of the nNamedObject |
nSecurityException | is thrown if the caller has insufficient permissions |
nChannelNotFoundException | if the channel no longer exists |
nRequestTimedOutException | if the request exceeded the timeout value |
nSessionNotConnectedException | The session is not currently connected to the server |
nUnexpectedResponseException | Received a response from the server for which we can not deal with, see the message for further information |
nIllegalArgumentException | This exception is raised if there is any issues with any of the arguments used by this method. One condition of this is if this object has been invalidated and no longer can be utilised, this can occur if a delete request has been issued to the connected server. |
nNameDoesNotExistException | The name specified does not exist on the server or if the name is referring to a non shared Named Object |
nSessionPausedException | The session is currently paused, please resume |
nDurable [] com.pcbsys.nirvana.client.nDurableManager.getAll | ( | ) | throws nIllegalArgumentException, nSessionPausedException, nSecurityException, nChannelNotFoundException, nSessionNotConnectedException, nNameDoesNotExistException, nRequestTimedOutException, nUnexpectedResponseException |
Returns all known nDurable objects known on this channel.
nSecurityException | is thrown if the caller has insufficient permissions |
nChannelNotFoundException | if the channel no longer exists |
nRequestTimedOutException | if the request exceeded the timeout value |
nSessionNotConnectedException | The session is not currently connected to the server |
nUnexpectedResponseException | Received a response from the server for which we can not deal with, see the message for further information |
nIllegalArgumentException | This exception is raised if there is any issues with any of the arguments used by this method. One condition of this is if this object has been invalidated and no longer can be utilised, this can occur if a delete request has been issued to the connected server. |
nNameDoesNotExistException | The name specified does not exist on the server or if the name is referring to a non shared Named Object |
nSessionPausedException | The session is currently paused, please resume |
void com.pcbsys.nirvana.client.nDurableManager.unbind | ( | nDurable | name | ) | throws nIllegalArgumentException, nSecurityException, nChannelNotFoundException, nSessionNotConnectedException, nSessionPausedException, nNameDoesNotExistException, nRequestTimedOutException, nUnexpectedResponseException |
Unbinds the named object from the current connection.
name | the named object to be unbound |
nSecurityException | is thrown if the caller has insufficient permissions |
nChannelNotFoundException | if the channel no longer exists |
nRequestTimedOutException | if the request exceeded the timeout value |
nSessionNotConnectedException | The session is not currently connected to the server |
nUnexpectedResponseException | Received a response from the server for which we can not deal with, see the message for further information |
nIllegalArgumentException | This exception is raised if there is any issues with any of the arguments used by this method. One condition of this is if this object has been invalidated and no longer can be utilised, this can occur if a delete request has been issued to the connected server. |
nNameDoesNotExistException | The name specified does not exist on the server |
nSessionPausedException | The session is currently paused, please resume |