|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRemoteNetworkNode
A remote network node is a network node at a remote address.
Clients must not implement
Method Summary | |
---|---|
java.util.UUID[] |
getNeighbors()
The id of all connected nodes. |
int |
getNeighborsCount()
Returns the number of connections for this node. |
boolean |
hasNeighbor(java.util.UUID uuid)
Is this node connected to the node with the given id? |
boolean |
isReachable()
Can this node be reached directly? If this returns false then the node is probably behind a firewall or NAT. |
Methods inherited from interface com.evolution.player.core.network.INetworkNode |
---|
getIp, getPort, getScoreBoard, getUUID |
Method Detail |
---|
boolean isReachable()
boolean hasNeighbor(java.util.UUID uuid)
uuid
- the id of the node to check for connection
int getNeighborsCount()
java.util.UUID[] getNeighbors()
INetwork.getNode(UUID)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |