Interface Server

All Superinterfaces:
Connection

public interface Server extends Connection
Represents a destination which this proxy might connect to.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.md_5.bungee.api.connection.Connection

    Connection.Unsafe
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the basic information about this server.
    void
    sendData(byte[] data)
    Send data by any available means to this server.

    Methods inherited from interface net.md_5.bungee.api.connection.Connection

    disconnect, getAddress, unsafe
  • Method Details

    • getInfo

      ServerInfo getInfo()
      Returns the basic information about this server.
      Returns:
      the ServerInfo for this server
    • sendData

      void sendData(byte[] data)
      Send data by any available means to this server.
      Parameters:
      data - the data to send
      channel - the channel to send this data via