public interface Server extends Connection
Connection.Unsafe
Modifier and Type | Method and Description |
---|---|
ServerInfo |
getInfo()
Returns the basic information about this server.
|
void |
sendData(String channel,
byte[] data)
Send data by any available means to this server.
|
disconnect, disconnect, disconnect, getAddress, getSocketAddress, isConnected, unsafe
ServerInfo getInfo()
ServerInfo
for this servervoid sendData(String channel, byte[] data)
channel
- the channel to send this data viadata
- the data to sendCopyright © 2012–2020 SpigotMC. All rights reserved.