public class NettyServerImpl extends Object implements Server
| Modifier and Type | Field and Description |
|---|---|
protected javolution.util.FastList<Association> |
anonymAssociations |
protected javolution.util.FastList<String> |
associations |
protected static javolution.xml.XMLFormat<NettyServerImpl> |
SERVER_XML
XML Serialization/Deserialization
|
| Constructor and Description |
|---|
NettyServerImpl() |
NettyServerImpl(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 io.netty.channel.ServerChannel |
getIpChannel() |
IpChannelType |
getIpChannelType() |
int |
getMaxConcurrentConnectionsCount() |
String |
getName() |
boolean |
isAcceptAnonymousConnections() |
boolean |
isStarted() |
protected void |
setManagement(NettySctpManagementImpl 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<NettyServerImpl> SERVER_XML
public NettyServerImpl()
public NettyServerImpl(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 String getHostAddress()
getHostAddress in interface Serverpublic int getHostport()
getHostport in interface Serverpublic String[] getExtraHostAddresses()
getExtraHostAddresses in interface Serverpublic List<String> getAssociations()
getAssociations in interface Serverpublic List<Association> getAnonymAssociations()
getAnonymAssociations in interface Serverprotected io.netty.channel.ServerChannel getIpChannel()
protected void setManagement(NettySctpManagementImpl management)
management - the management to setCopyright © 2016. All Rights Reserved.