Package | Description |
---|---|
com.hazelcast.nio |
This package contains classes related to New IO
|
com.hazelcast.nio.tcp |
Contains functionality for the TCP/IP Networking for cluster members
This whole package is internal and no compatibility will be provided. |
Modifier and Type | Method and Description |
---|---|
Packet |
Packet.raiseFlags(int flagsToRaise)
Raises all the flags raised in the argument.
|
Packet |
PacketIOHelper.readFrom(ByteBuffer src)
Reads the packet data from the supplied
ByteBuffer . |
Packet |
Packet.resetFlagsTo(int flagsToSet)
Resets the entire
flags bitfield to the supplied value. |
Packet |
Packet.setConn(Connection conn)
Sets the Connection this Packet is send with.
|
Packet |
Packet.setPacketType(Packet.Type type)
Sets the packet type by updating the packet type bits in the
flags bitfield. |
Modifier and Type | Method and Description |
---|---|
boolean |
ConnectionManager.transmit(Packet packet,
Address target)
Transmits a packet to a certain address.
|
boolean |
ConnectionManager.transmit(Packet packet,
Connection connection)
Transmits a packet to a certain connection.
|
boolean |
PacketIOHelper.writeTo(Packet packet,
ByteBuffer dst)
Writes the packet data to the supplied
ByteBuffer , up to the buffer's limit. |
Modifier and Type | Method and Description |
---|---|
void |
TcpIpConnectionManager.handle(Packet packet) |
protected void |
PacketDecoder.onPacketComplete(Packet packet) |
boolean |
PacketEncoder.onWrite(Packet packet,
ByteBuffer dst) |
boolean |
TcpIpConnectionManager.transmit(Packet packet,
Address target)
Retries sending packet maximum 5 times until connection to target becomes available.
|
boolean |
TcpIpConnectionManager.transmit(Packet packet,
Connection connection) |
Copyright © 2018 Hazelcast, Inc.. All rights reserved.