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