|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The LogManager class manages the redirecting of debug messages and error messages from the SnmpSession class to client which sends request. The client has to implement the LogInterface. Log Manager will generate the unique id and it will give it to clients whoever registers with LogManager and client has to set the id in SnmpTarget or SnmpRequestServer The Log Manager will call the corresponding client's debug method
| Method Summary | |
void |
addLogClient(LogInterface client)
Subscribe for logging debug message. |
java.lang.Object |
getLogClient()
Returns the client that have registered to receive log messages or null is returned if no one is registered. |
int |
getLogID()
get the Log id returned by the Log Manager |
void |
removeLogClient()
Unsubscribe for debug messages. |
| Method Detail |
public void addLogClient(LogInterface client)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionLogInterface
public java.lang.Object getLogClient()
throws java.rmi.RemoteException
java.rmi.RemoteException
public void removeLogClient()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionLog
public int getLogID()
throws java.rmi.RemoteException
java.rmi.RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||