This class exposes the Realm Servers interface management API so that the control and management of the interfaces can be performed by an authorised Administrator. More...
Public Member Functions | |
virtual void | addInterface (nInterface newInterface) |
Adds a new interface to the Realm Server. More... | |
virtual void | closed (nRealmNode node) |
Called when the nRealmNode is closed, for internal use only. More... | |
virtual void | delInterface (nInterface delInterface) |
Deletes an existing Interface from the Realm Server. More... | |
virtual nInterfaceStatus | findInterface (string name) |
Finds the nInterface object identified by the string supplied More... | |
virtual ArrayList | getInterfaces () |
Returns an ArrayList of nInterfaceStatus objects that are currently configured on the Realm Server More... | |
virtual int | getNumberOfNHP () |
Returns the number of NHP interfaces that are currently configured on the Realm Server More... | |
virtual int | getNumberOfNHPS () |
Returns the number of NHPS interfaces that are currently configured on the Realm Server More... | |
virtual int | getNumberOfNSP () |
Returns the number of NSP interfaces that are currently configured on the Realm Server More... | |
virtual int | getNumberOfNSPS () |
Returns the number of NSPS interfaces that are currently configured on the Realm Server More... | |
virtual int | getNumberOfSHM () |
Returns the number of SHM interfaces that are currently configured on the Realm Server More... | |
virtual ArrayList | getPluginConfiguration () |
Returns an ArrayList of nInterfacePluginConfiguration objects More... | |
virtual void | modInterface (nInterface modInterface) |
Changes the existing interface so that it takes the new settings supplied. More... | |
virtual void | startInterface (nInterface inter) |
Starts the interface, specified in the nInterface object, on the Realm Server More... | |
virtual void | stopInterface (nInterface inter) |
Stops the specified interface on the Realm Server More... | |
Public Member Functions inherited from com.pcbsys.nirvana.client.Observable | |
void | addObserver (IObserver o) |
Adds an observer to the set of observers for this object, provided that it is not the same as some observer already in the set. More... | |
int | countObservers () |
Returns the number of observers of this Observable object. More... | |
void | deleteObserver (IObserver o) |
Deletes an observer from the set of observers of this object. More... | |
void | deleteObservers () |
Clears the observer list so that this object no longer has any observers. More... | |
bool | hasChanged () |
Tests if this object has changed. More... | |
void | notifyObservers () |
If this object has changed, as indicated by the hasChanged method, then notify all of its observers and then call the clearChanged method to indicate that this object has no longer changed. More... | |
void | notifyObservers (Object arg) |
If this object has changed, as indicated by the More... | |
Observable () | |
Construct an Observable with zero Observers. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from com.pcbsys.nirvana.client.Observable | |
void | clearChanged () |
Indicates that this object has no longer changed, or that it has already notified all of its observers of its most recent change, so that the hasChanged method will now return false . More... | |
void | setChanged () |
Marks this Observable object as having been changed; the hasChanged method will now return true . More... | |
This class exposes the Realm Servers interface management API so that the control and management of the interfaces can be performed by an authorised Administrator.
|
virtual |
Adds a new interface to the Realm Server.
If Autostart is set to true then the interface is also started
newInterface | The new interface configuration |
nSessionNotConnectedException | is thrown if the underlying session to perform the AdminAPI request is not connected |
nUnexpectedResponseException | is thrown if the server responds with an unexpected protocol response |
nRequestTimedOutException | is thrown if the protocol request times out |
nAdminIllegalArgumentException | is thrown if null is passed as the interface to be added |
|
virtual |
Called when the nRealmNode is closed, for internal use only.
node | The nRealmNode which has been closed |
|
virtual |
Deletes an existing Interface from the Realm Server.
All current connections on this interface are disconnected immediatly.
delInterface | The interface to delete |
nSessionNotConnectedException | is thrown if the underlying session to perform the AdminAPI request is not connected |
nUnexpectedResponseException | is thrown if the server responds with an unexpected protocol response |
nRequestTimedOutException | is thrown if the protocol request times out |
nAdminIllegalArgumentException | if null is passed as the interface to be added |
|
virtual |
Finds the nInterface object identified by the string supplied
name | null if the interface does not exist |
nAdminIllegalArgumentException | if null or a zero length string is passed as the name of the interface to be found |
|
virtual |
Returns an ArrayList of nInterfaceStatus objects that are currently configured on the Realm Server
|
virtual |
Returns the number of NHP interfaces that are currently configured on the Realm Server
|
virtual |
Returns the number of NHPS interfaces that are currently configured on the Realm Server
|
virtual |
Returns the number of NSP interfaces that are currently configured on the Realm Server
|
virtual |
Returns the number of NSPS interfaces that are currently configured on the Realm Server
|
virtual |
Returns the number of SHM interfaces that are currently configured on the Realm Server
|
virtual |
Returns an ArrayList of nInterfacePluginConfiguration objects
|
virtual |
Changes the existing interface so that it takes the new settings supplied.
This method will automatically start and stop the interface.
modInterface | Changed settings for the interface |
nSessionNotConnectedException | is thrown if the underlying session to perform the AdminAPI request is not connected |
nUnexpectedResponseException | is thrown if the server responds with an unexpected protocol response |
nRequestTimedOutException | is thrown if the protocol request times out |
nAdminIllegalArgumentException | if null is passed as the interface to be deleted |
|
virtual |
Starts the interface, specified in the nInterface object, on the Realm Server
inter | The interface to start |
nSessionNotConnectedException | is thrown if the underlying session to perform the AdminAPI request is not connected |
nRequestTimedOutException | is thrown if the protocol request times out |
nAdminIllegalArgumentException | if null is passed as the interface to be started, or the interface specified can not be found |
|
virtual |
Stops the specified interface on the Realm Server
inter | The interface to stop |
nSessionNotConnectedException | is thrown if the underlying session to perform the AdminAPI request is not connected |
nRequestTimedOutException | is thrown if the protocol request times out |
nAdminIllegalArgumentException | if null is passed as the interface to be stopped, or the interface specified can not be found |