Class RPCRequestPacket

java.lang.Object
eu.cloudnetservice.driver.network.protocol.BasePacket
eu.cloudnetservice.driver.network.rpc.packet.RPCRequestPacket
All Implemented Interfaces:
Packet

public class RPCRequestPacket extends BasePacket
The packet used for any rpc within the CloudNet network. This packet should only be used internally, and any developer should use the rpc api rather than sending this packet themselves.
Since:
4.0
  • Constructor Details

    • RPCRequestPacket

      public RPCRequestPacket(@NonNull @NonNull DataBuf dataBuf)
      Constructs a new rpc request packet.
      Parameters:
      dataBuf - the encoded data of the rpc, ready for interpretation and handling on the receiver site.
      Throws:
      NullPointerException - if the given data buffer is null.