Package net.md_5.bungee.api.connection

# Interface Connection.Unsafe

Enclosing interface:
  Connection

public static interface Connection.Unsafe

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `sendPacket(DefinedPacket packet)`
  Send a packet to this connection.
  `void`
  `sendPacketQueued(DefinedPacket packet)`
  Queue a packet to this connection.

- ## 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