Class ServerConnection

java.lang.Object
net.md_5.bungee.ServerConnection
All Implemented Interfaces:
net.md_5.bungee.api.connection.Connection, net.md_5.bungee.api.connection.Server

public class ServerConnection extends Object implements net.md_5.bungee.api.connection.Server
  • Constructor Details

    • ServerConnection

      public ServerConnection()
  • Method Details

    • sendData

      public void sendData(byte[] data)
      Specified by:
      sendData in interface net.md_5.bungee.api.connection.Server
    • disconnect

      public void disconnect(String reason)
      Specified by:
      disconnect in interface net.md_5.bungee.api.connection.Connection
    • getAddress

      public InetSocketAddress getAddress()
      Specified by:
      getAddress in interface net.md_5.bungee.api.connection.Connection
    • unsafe

      public net.md_5.bungee.api.connection.Connection.Unsafe unsafe()
      Specified by:
      unsafe in interface net.md_5.bungee.api.connection.Connection