public interface CordObject extends IdentifiableObject
Modifier and Type | Method and Description |
---|---|
java.net.InetAddress |
getIpAddress() |
java.lang.String |
getName() |
int |
getPort() |
java.net.InetSocketAddress |
getSocketAddress() |
boolean |
isConnected()
Normally, a Cord is always connected if you are able to get its CordObject.
|
void |
sendPluginMessage(PluginMessage message)
Send a plugin message to the cord
|
getId
java.lang.String getName()
getName
in interface IdentifiableObject
java.net.InetSocketAddress getSocketAddress()
java.net.InetAddress getIpAddress()
int getPort()
boolean isConnected()
void sendPluginMessage(PluginMessage message)
message
- The message which shall be sent