com.evolution.player.core.network
Interface INetworkNode

All Known Subinterfaces:
IClient, IRemoteNetworkNode

public interface INetworkNode

A network node is a node (client) in the network. It is either a IClient (you) or a IRemoteNetworkNode which is a remote node in the network to which connections can be established.

Clients must not implement.

Since:
0.6

Method Summary
 byte[] getIp()
          The ip on which to reach this node.
 int getPort()
          The port on which this node is listening for incoming connections.
 IScoreBoard getScoreBoard()
          The score board for this node.
 java.util.UUID getUUID()
          The global unique id of this node.
 

Method Detail

getUUID

java.util.UUID getUUID()
The global unique id of this node.

Returns:
the id

getPort

int getPort()
The port on which this node is listening for incoming connections.

Returns:
the port

getIp

byte[] getIp()
The ip on which to reach this node.

Returns:
the ip

getScoreBoard

IScoreBoard getScoreBoard()
The score board for this node.

Returns:
the score board