|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Adaptor
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 |
javax.management.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 |
|---|
java.lang.String getHost()
int getPort()
java.lang.String getProtocol()
int getState()
java.lang.String getStateInString()
void setPort(int port)
throws java.lang.IllegalStateException
java.lang.IllegalStateException - if the Adaptor is STARTING or STARTED stateboolean isActive()
boolean isSecure()
void enableAuthentication(boolean flag)
throws java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationException
void enableAuthorisation(boolean flag)
throws java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationException
void startService()
throws java.lang.IllegalStateException,
java.lang.Exception
java.lang.IllegalStateException - if the Adaptor is in STARTING or STARTED state
java.lang.Exception
void stopService()
throws java.lang.IllegalStateException
java.lang.IllegalStateException - if the Adaptor is in STOPPING or STOPPED statejava.lang.String getAdaptorVersion()
javax.management.ObjectName getAdaptorObjectName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||