@Immutable @ThreadSafe protected static class DatagramService.DatagramServiceReceiveMemo extends Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
type |
Constructor and Description |
---|
DatagramServiceReceiveMemo(int type) |
Modifier and Type | Method and Description |
---|---|
void |
acceptData(int resultCode) |
boolean |
equals(Object o) |
void |
handleData(NodeID n,
int[] data,
DatagramService.ReplyMemo service)
Overload this for notification of data.
|
int |
hashCode() |
String |
toString() |
public void acceptData(int resultCode)
public void handleData(NodeID n, int[] data, DatagramService.ReplyMemo service)
service
- Implementations must reply to the datagram by invoking
reply.acceptData(int replycode)
before returning. (This is done, instead of using the
return value, to allow the receiving code to reply immediately
and queue other activity afterwards)Information on copyright, trademarks and licenses is linked here.
Site hosted by: