|
XMOJO 5 API Docs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is implemented by all Protocol adaptors (RMI,CORBA,HTTP,HTML,SNMP) This interface essentialy defines the management functions of the adaptor
com.adventnet.adaptor.AbstractAdaptor
,
com.adventnet.adaptor.Protocol
Method Summary | |
void |
enableAuthentication(boolean flag)
This method can be used to enable or disable Authentication |
void |
enableAuthorisation(boolean flag)
This method can be used to enable or disable Authorisation |
ObjectName |
getAdaptorObjectName()
This method returns the Adaptors Object Name |
java.lang.String |
getAdaptorVersion()
This method returns the Adaptors Version |
java.lang.String |
getHost()
This method returns the host on which the Adaptor resides |
int |
getPort()
This method returns the port on which the Adaptor is listening |
java.lang.String |
getProtocol()
This method Returns the Protocol associated with this Adaptor |
int |
getState()
This method returns the state of the Adaptor |
java.lang.String |
getStateInString()
This method returns the state of the Adaptor in String format |
boolean |
isActive()
This method checks if the Adaptor is in STARTING or STARTED state |
boolean |
isSecure()
This method checks if the communication is secure |
void |
setPort(int port)
This method sets the port number of on which the adaptor should listen |
void |
startService()
This method starts the Adaptor |
void |
stopService()
This method stops the Adaptor |
Method Detail |
public java.lang.String getHost()
public int getPort()
public java.lang.String getProtocol()
public int getState()
public java.lang.String getStateInString()
public void setPort(int port) throws java.lang.IllegalStateException
java.lang.IllegalStateException
- if the Adaptor is STARTING or STARTED statepublic boolean isActive()
public boolean isSecure()
public void enableAuthentication(boolean flag) throws java.lang.UnsupportedOperationException
public void enableAuthorisation(boolean flag) throws java.lang.UnsupportedOperationException
public void startService() throws java.lang.IllegalStateException, java.lang.Exception
java.lang.IllegalStateException
- if the Adaptor is in STARTING or STARTED statepublic void stopService() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- if the Adaptor is in STOPPING or STOPPED statepublic java.lang.String getAdaptorVersion()
public ObjectName getAdaptorObjectName()
|
XMOJO 5 API Docs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |