|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjist.swans.trans.TcpServerSocket.TcpServerSocketCallback
public static class TcpServerSocket.TcpServerSocketCallback
Implementation of Socket Callback for TcpServerSocket.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface jist.swans.trans.TransInterface.SocketHandler |
---|
TransInterface.SocketHandler.TcpHandler |
Field Summary | |
---|---|
private SocketInterface.TcpServerSocketInterface |
serverSocketEntity
Entity reference to TcpServerSocket. |
Constructor Summary | |
---|---|
TcpServerSocket.TcpServerSocketCallback(SocketInterface.TcpServerSocketInterface entity)
Constructor. |
Method Summary | |
---|---|
void |
receive(Message msg,
NetAddress src,
int srcPort)
Receive transport layer packet. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private SocketInterface.TcpServerSocketInterface serverSocketEntity
Constructor Detail |
---|
public TcpServerSocket.TcpServerSocketCallback(SocketInterface.TcpServerSocketInterface entity)
entity
- the entity reference to TcpServerSocketMethod Detail |
---|
public void receive(Message msg, NetAddress src, int srcPort)
receive
in interface TransInterface.SocketHandler
msg
- incoming packetsrc
- packet source addresssrcPort
- packet source port
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |