|
"WEBNMS_5 API Docs" | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.nms.startnms.MainSocketServerFE
public class MainSocketServerFE
This is the server class for the Common Socket or Common RMI API for the client-
server communication. All the modules of the Web NMS viz., Topology Database,
Maps, Events, Alerts and Poll use the common socket for their client and server
communication. Users can plug in their own client and server module in the Web NMS
and use this API for their client and server module communication.
Note: For com.adventnet.management.transport.LogInterface and
com.adventnet.management.transport.SessionTransportProvider javadocs
please refer to the SNMP API java docs.
| Constructor Summary | |
|---|---|
MainSocketServerFE(java.lang.Class trans,
java.lang.String[] argv)
|
|
MainSocketServerFE(java.lang.Class trans,
java.lang.String[] argv,
boolean isGenericSocket)
|
|
| Method Summary | |
|---|---|
void |
dbg(java.lang.String str)
|
void |
err(java.lang.String str)
|
void |
out(java.lang.String str)
|
void |
registerForResponses(SocketServerConnectionFE servClient)
The modules which want to use the common socket connection should implement the SocketServerConnectionFE interface and use this method to register themselves. |
void |
run()
The thread where the Socket accept is done so that client can request for a connection. |
void |
shutDown()
Gets called whenever Web NMS Server shuts down. |
void |
startSession(com.adventnet.management.transport.SessionTransportProvider sstp)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MainSocketServerFE(java.lang.Class trans,
java.lang.String[] argv)
throws java.lang.Exception
java.lang.Exception
public MainSocketServerFE(java.lang.Class trans,
java.lang.String[] argv,
boolean isGenericSocket)
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablepublic void startSession(com.adventnet.management.transport.SessionTransportProvider sstp)
public void registerForResponses(SocketServerConnectionFE servClient)
public void shutDown()
ShutDownObserver
shutDown in interface ShutDownObserverpublic void dbg(java.lang.String str)
dbg in interface com.adventnet.management.transport.LogInterfacepublic void err(java.lang.String str)
err in interface com.adventnet.management.transport.LogInterfacepublic void out(java.lang.String str)
out in interface com.adventnet.management.transport.LogInterface
|
"WEBNMS_5 API Docs" | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||