|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PacketTransceiver
The PacketTransceiver is responsible for receiving and transmitting Packet instances.
When it receives a Packet (from the IO system) it dispatches to the appropriate service:
| Method Summary | |
|---|---|
void |
receive(Packet packet)
Lets the PacketTransceiver receive a packet. |
boolean |
transmit(Packet packet,
Address target)
Transmits a packet to a certain address. |
boolean |
transmit(Packet packet,
Connection connection)
Transmits a packet to a certain connection. |
| Method Detail |
|---|
boolean transmit(Packet packet,
Connection connection)
packet - The Packet to transmit.connection - The connection to where the Packet should be transmitted.
boolean transmit(Packet packet,
Address target)
packet - The Packet to transmit.target - The address of the target machine where the Packet should be transmitted.
transmit(com.hazelcast.nio.Packet, com.hazelcast.nio.Connection)void receive(Packet packet)
packet - the Packet to receive.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||