| Modifier and Type | Field and Description |
|---|---|
protected javolution.util.FastList<Association> |
anonymAssociations |
protected javolution.util.FastList<String> |
associations |
protected static javolution.xml.XMLFormat<ServerImpl> |
SERVER_XML
XML Serialization/Deserialization
|
| Constructor and Description |
|---|
ServerImpl() |
ServerImpl(String name,
String hostAddress,
int hostport,
IpChannelType ipChannelType,
boolean acceptAnonymousConnections,
int maxConcurrentConnectionsCount,
String[] extraHostAddresses) |
| Modifier and Type | Method and Description |
|---|---|
List<Association> |
getAnonymAssociations() |
List<String> |
getAssociations() |
String[] |
getExtraHostAddresses() |
String |
getHostAddress() |
int |
getHostport() |
protected AbstractSelectableChannel |
getIpChannel() |
IpChannelType |
getIpChannelType() |
int |
getMaxConcurrentConnectionsCount() |
String |
getName() |
boolean |
isAcceptAnonymousConnections() |
boolean |
isStarted() |
void |
setManagement(ManagementImpl management) |
void |
setMaxConcurrentConnectionsCount(int val) |
protected void |
start() |
protected void |
stop() |
String |
toString() |
protected javolution.util.FastList<String> associations
protected javolution.util.FastList<Association> anonymAssociations
protected static final javolution.xml.XMLFormat<ServerImpl> SERVER_XML
public ServerImpl()
public ServerImpl(String name, String hostAddress, int hostport, IpChannelType ipChannelType, boolean acceptAnonymousConnections, int maxConcurrentConnectionsCount, String[] extraHostAddresses) throws IOException
name - ip - port - IOExceptionpublic IpChannelType getIpChannelType()
getIpChannelType in interface Serverpublic boolean isAcceptAnonymousConnections()
isAcceptAnonymousConnections in interface Serverpublic int getMaxConcurrentConnectionsCount()
getMaxConcurrentConnectionsCount in interface Serverpublic void setMaxConcurrentConnectionsCount(int val)
setMaxConcurrentConnectionsCount in interface Serverpublic List<Association> getAnonymAssociations()
getAnonymAssociations in interface Serverprotected AbstractSelectableChannel getIpChannel()
public String getHostAddress()
getHostAddress in interface Serverpublic int getHostport()
getHostport in interface Serverpublic String[] getExtraHostAddresses()
getExtraHostAddresses in interface Serverpublic boolean isStarted()
public void setManagement(ManagementImpl management)
management - the management to setpublic List<String> getAssociations()
getAssociations in interface ServerCopyright © 2016. All Rights Reserved.