|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjist.swans.trans.TcpSocket.TcpSocketCallback
public static class TcpSocket.TcpSocketCallback
Implementation of Socket Callback for TcpSocket.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface jist.swans.trans.TransInterface.SocketHandler |
|---|
TransInterface.SocketHandler.TcpHandler |
| Field Summary | |
|---|---|
private SocketInterface.TcpSocketInterface |
socketEntity
Entity reference to TcpSocket. |
| Constructor Summary | |
|---|---|
TcpSocket.TcpSocketCallback(SocketInterface.TcpSocketInterface 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.TcpSocketInterface socketEntity
| Constructor Detail |
|---|
public TcpSocket.TcpSocketCallback(SocketInterface.TcpSocketInterface entity)
entity - the entity reference to TcpSocket| Method Detail |
|---|
public void receive(Message msg,
NetAddress src,
int srcPort)
receive in interface TransInterface.SocketHandlermsg - incoming packetsrc - packet source addresssrcPort - packet source port
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||