Class RPCRequestPacket

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

public class RPCRequestPacket extends eu.cloudnetservice.driver.network.protocol.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
  • Field Summary

    Fields inherited from class eu.cloudnetservice.driver.network.protocol.BasePacket

    channel, creationStamp, dataBuf, prioritized, uniqueId
  • Constructor Summary

    Constructors
    Constructor
    Description
    RPCRequestPacket(@NonNull eu.cloudnetservice.driver.network.buffer.DataBuf dataBuf)
    Constructs a new rpc request packet.
  • Method Summary

    Methods inherited from class eu.cloudnetservice.driver.network.protocol.BasePacket

    canEqual, channel, constructResponse, content, creation, equals, hashCode, prioritized, readable, toString, uniqueId, uniqueId

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • RPCRequestPacket

      public RPCRequestPacket(@NonNull @NonNull eu.cloudnetservice.driver.network.buffer.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.