This class represents a nirvana Realm More...
Public Member Functions | |
List< string > | getConnections () |
Gets the collection of the network interfaces this realm listens in. More... | |
string | getMountPoint () |
Returns the relative name of the realm within the namespace More... | |
string | getName () |
Gets the name of this realm More... | |
string[] | getProtocols () |
Returns an array of Strings with the rnames for this realm More... | |
nRealm () | |
Default constructor | |
nRealm (string pName, string[] connections) | |
Constructs a new nRealm object with the specified name and collection of network interfaces More... | |
void | setMountPoint (string mountPoint) |
Sets the relative name for the realm within the namespace More... | |
void | setName (string pData) |
Sets the name on this realm More... | |
This class represents a nirvana Realm
com.pcbsys.nirvana.client.nRealm.nRealm | ( | string | pName, |
string[] | connections | ||
) |
Constructs a new nRealm object with the specified name and collection of network interfaces
pName | A string specifying the realm's name |
connections | An array of strings specifying the realm's network interfaces. These have to be in the form: protocol://host:port/servlet File , where: |
Protocol can be one of nsp, nhp, nsps, nhps where:
nsp => Nirvana Socket Protocol nhp => Nirvana HTTP Protocol nsps => Nirvana Socket Protocol Secure (Socket protocol over SSL/TLS) nhps => Nirvana HTTP Protocol Secure (HTTP protocol over SSL/TLS)
Host is the host the realm is running on
Port is the port the realm is listening on
servlet File specifies the location that servlets are mapped if talking to the realm via a web server (e.g. in a DMZ environment)
nIllegalArgumentException | if the parameters are invalid, refer to the exception message for more information |
List<string> com.pcbsys.nirvana.client.nRealm.getConnections | ( | ) |
Gets the collection of the network interfaces this realm listens in.
string com.pcbsys.nirvana.client.nRealm.getMountPoint | ( | ) |
Returns the relative name of the realm within the namespace
string com.pcbsys.nirvana.client.nRealm.getName | ( | ) |
Gets the name of this realm
string [] com.pcbsys.nirvana.client.nRealm.getProtocols | ( | ) |
Returns an array of Strings with the rnames for this realm
void com.pcbsys.nirvana.client.nRealm.setMountPoint | ( | string | mountPoint | ) |
Sets the relative name for the realm within the namespace
mountPoint | the name to add this realm in the namespace |
nIllegalArgumentException | Illegal parameter, check the message for more information |
void com.pcbsys.nirvana.client.nRealm.setName | ( | string | pData | ) |
Sets the name on this realm
pData | a string specifying the name of this realm |
nIllegalArgumentException | Illegal parameter, check the message for more information |