com.adventnet.management
Interface MSConnectionListener
- public interface MSConnectionListener
This interface is used by the ProtocolProvider to notify the
ManagementServer on the connection status of the established session
between ProtocolProvider and Device Agent. This is applicable for only
connection-oriented protocols eg. TL1.
This interface is implemented by the ManagementServer. When protocol
providers are initialized by Management Server, MS itself registers as
connection listener to the ProtocolProvider using ProtocolProvider.addMSConnectionListener(com.adventnet.management.MSConnectionListener)..
|
Method Summary |
void |
processConnectionDown(java.util.Properties props)
This method is implemented by the ManagementServer to be
notified by the ProtocolProvider on an established session going down . |
void |
processConnectionUp(java.util.Properties props)
This method is implemented by the ManagementServer to be
notified by the ProtocolProvider on an established session coming up. |
processConnectionDown
public void processConnectionDown(java.util.Properties props)
- This method is implemented by the ManagementServer to be
notified by the ProtocolProvider on an established session going down .
The Provider should pass the sessionKey of the Property, used
for session establishment, as the value to the key "sessionId"
in the input argument.
It is to be set as java.util.Properties.set("sessionId", sessionKey);
- Parameters:
props - - The parameters related to the session status change.
processConnectionUp
public void processConnectionUp(java.util.Properties props)
- This method is implemented by the ManagementServer to be
notified by the ProtocolProvider on an established session coming up.
The Provider should pass the sessionKey of the Property, used
for session establishment, as the value to the key "sessionId"
in the input argument.
It is to be set as java.util.Properties.set("sessionId",Id);
- Parameters:
- - The parameters related to the session status change.