com.pcbsys.nirvana.nAdminAPI.nSocketInterface Class Reference

Socket Interface class. More...

Inheritance diagram for com.pcbsys.nirvana.nAdminAPI.nSocketInterface:

com.pcbsys.nirvana.nAdminAPI.nInterface com.pcbsys.nirvana.nAdminAPI.nSSLInterface

Public Member Functions

void enablePolicyServer (boolean flag)
 Returns true if the policy server is enables.
boolean isPolicyServerEnabled ()
 Returns true if the policy server is enables.
 nSocketInterface (String adapter, int port, boolean autostart) throws nAdminIllegalArgumentException
 Creates a new Socket Interface with the supplied values.
 nSocketInterface (String adapter, int port) throws nAdminIllegalArgumentException
 Creates a new Socket Interface with the supplied values.

Detailed Description

Socket Interface class.

This class exposes the current settings for a nsp protocol adapter on the Nirvana Realm server. It is also used to construct a new interface on the Realm server, however, the name is only valid when the Realm server has added the interface.


Constructor & Destructor Documentation

com.pcbsys.nirvana.nAdminAPI.nSocketInterface.nSocketInterface ( String  adapter,
int  port 
) throws nAdminIllegalArgumentException

Creates a new Socket Interface with the supplied values.

Parameters:
adapter The adapter to bind to
port The port to bind to
Exceptions:
nAdminIllegalArgumentException if the adapter is null or the port is in an invalid range

com.pcbsys.nirvana.nAdminAPI.nSocketInterface.nSocketInterface ( String  adapter,
int  port,
boolean  autostart 
) throws nAdminIllegalArgumentException

Creates a new Socket Interface with the supplied values.

Parameters:
adapter The adapter to bind to
port The port to bind to
autostart Specifies whether to autostart this interface


Member Function Documentation

void com.pcbsys.nirvana.nAdminAPI.nSocketInterface.enablePolicyServer ( boolean  flag  ) 

Returns true if the policy server is enables.

Parameters:
flag if set to true, the socket will support policy server requests

boolean com.pcbsys.nirvana.nAdminAPI.nSocketInterface.isPolicyServerEnabled (  ) 

Returns true if the policy server is enables.

Returns:
true if policy server is enabled