## 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` | EndpointManager.`transmit(Packet packet, Address target)` Transmits a packet to a certain address.
    `boolean` | EndpointManager.`transmit(Packet packet, T 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` | TcpIpEndpointManager.`accept(Packet packet)`
    `protected void` | PacketDecoder.`onPacketComplete(Packet packet)`
    `boolean` | TcpIpEndpointManager.`transmit(Packet packet, Address target)`
    `boolean` | TcpIpEndpointManager.`transmit(Packet packet, TcpIpConnection connection)`

    Constructor parameters in com.hazelcast.nio.tcp with type arguments of type Packet
    Constructor and Description
    `PacketDecoder(TcpIpConnection connection, Consumer<Packet> dst)`

Copyright © 2020. All rights reserved.