|
TPTP 4.2.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface defines the methods to be implemented by clients receiving data from agents.
| Method Summary | |
|---|---|
void |
incomingData(byte[] buffer,
int length,
java.net.InetAddress peer)
This method is invoked when data is received over the data channel |
void |
incomingData(char[] buffer,
int length,
java.net.InetAddress peer)
This method is invoked when data is received over the data channel |
void |
invalidDataType(byte[] data,
int length,
java.net.InetAddress peer)
This method is invoked when data received over the data channel is invalid. |
void |
waitingForData()
This method is invoked when there is no data to be recieved over the data channel. |
| Method Detail |
public void incomingData(byte[] buffer,
int length,
java.net.InetAddress peer)
buffer - byte[]length - intpeer - java.net.InetAddress
public void incomingData(char[] buffer,
int length,
java.net.InetAddress peer)
buffer - char[]length - intpeer - java.net.InetAddress
public void invalidDataType(byte[] data,
int length,
java.net.InetAddress peer)
data - byte[]length - intpeer - java.net.InetAddresspublic void waitingForData()
|
TPTP 4.2.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||