Package net.md_5.bungee.api.connection
Interface Server
- All Superinterfaces:
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
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
ServerInfofor this server
-
sendData
void sendData(byte[] data) Send data by any available means to this server.- Parameters:
data- the data to sendchannel- the channel to send this data via
-