|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdriver.CBR.Server
public static class CBR.Server
A server node in the simulation. This node simply listens for incoming packets and prints a message for each one that it receives.
Constructor Summary | |
---|---|
CBR.Server(TransInterface.TransUdpInterface udp,
NetAddress localAddr)
Creates a new Server . |
Method Summary | |
---|---|
CBR.ServerInterface |
getProxy()
Returns the proxy interface for this object. |
void |
run()
Starts the server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CBR.Server(TransInterface.TransUdpInterface udp, NetAddress localAddr)
Server
.
udp
- the UDP interface used by this nodelocalAddr
- the IP address of this nodeMethod Detail |
---|
public CBR.ServerInterface getProxy()
public void run()
run
in interface CBR.ServerInterface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |