## Uses of Class
com.hazelcast.nio.Packet

- Packages that use Packet
  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.

- - ### Uses of Packet in com.hazelcast.nio

    Methods in com.hazelcast.nio that return Packet
    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.

    Methods in com.hazelcast.nio with parameters of type Packet
    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.

  - ### Uses of Packet in com.hazelcast.nio.tcp

    Methods in com.hazelcast.nio.tcp with parameters of type Packet
    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. All rights reserved.