public class ClientNetworkChannels extends Object
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.
Constructor and Description |
---|
ClientNetworkChannels(String hostId) |
Modifier and Type | Method and Description |
---|---|
void |
add(NetworkChannelReference networkChannelReference) |
String |
getHostId() |
boolean |
isEmpty() |
void |
remove(NetworkChannelReference networkChannelReference) |
boolean |
shutdownAllNetworkChannels() |
int |
size() |
public ClientNetworkChannels(String hostId)
public void add(NetworkChannelReference networkChannelReference)
public void remove(NetworkChannelReference networkChannelReference)
public boolean isEmpty()
public int size()
public boolean shutdownAllNetworkChannels()
public String getHostId()
Copyright © 2009–2020 Waarp. All rights reserved.