openr66.protocol.networkhandler
Class ClientNetworkChannels
java.lang.Object
openr66.protocol.networkhandler.ClientNetworkChannels
public class ClientNetworkChannels
- extends Object
Client NetworkChannel attached to one HostId.
This class is used to keep information for one HostID when it connects as client
to the current Host. As one Id can be shared or one can use direct send, so having
a connection by request, this class is useful when one wants to know who is connected
and how many times.
- Author:
- Frederic Bregier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientNetworkChannels
public ClientNetworkChannels(String hostId)
add
public void add(NetworkChannel networkChannel)
remove
public void remove(NetworkChannel networkChannel)
isEmpty
public boolean isEmpty()
size
public int size()
shutdownAll
public boolean shutdownAll()
getHostId
public String getHostId()
Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.