us.ihmc.utilities.net
Class KryoObjectServer

java.lang.Object
  extended by us.ihmc.utilities.net.KryoObjectCommunicator
      extended by us.ihmc.utilities.net.KryoObjectServer
All Implemented Interfaces:
ObjectCommunicator, ObjectConsumer<java.lang.Object>

public class KryoObjectServer
extends KryoObjectCommunicator


Constructor Summary
KryoObjectServer(int tcpPort, NetClassList netClassList)
           
 
Method Summary
 void close()
           
 int getNumberOfConnections()
           
 boolean isConnected()
           
 void setMaximumNumberOfConnections(int maximumNumberOfConnections)
           
 
Methods inherited from class us.ihmc.utilities.net.KryoObjectCommunicator
attachListener, attachStateListener, connect, consumeObject, showBandwidthDialog
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KryoObjectServer

public KryoObjectServer(int tcpPort,
                        NetClassList netClassList)
Method Detail

setMaximumNumberOfConnections

public void setMaximumNumberOfConnections(int maximumNumberOfConnections)

isConnected

public boolean isConnected()
Specified by:
isConnected in interface ObjectCommunicator
Specified by:
isConnected in class KryoObjectCommunicator

getNumberOfConnections

public int getNumberOfConnections()

close

public void close()
Specified by:
close in interface ObjectCommunicator
Specified by:
close in class KryoObjectCommunicator