Interface Connection.Unsafe

Enclosing interface:
Connection

public static interface Connection.Unsafe
  • Method Details

    • sendPacket

      void sendPacket(DefinedPacket packet)
      Send a packet to this connection.
      Parameters:
      packet - the packet to send
    • sendPacketQueued

      void sendPacketQueued(DefinedPacket packet)
      Queue a packet to this connection. If the packet is not registered for the connections current encoder protocol, it will be queued until it is, otherwise it will be sent immediately.
      Parameters:
      packet - the packet to be queued
      Throws:
      UnsupportedOperationException - if used for a PendingConnection