public class TCPServerSOContainerGroup extends SOContainerGroup
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_GROUP_NAME |
INVALID_CONNECT, map
Constructor and Description |
---|
TCPServerSOContainerGroup(int port) |
TCPServerSOContainerGroup(java.lang.String name,
int port) |
TCPServerSOContainerGroup(java.lang.String name,
java.lang.ThreadGroup group,
int port) |
TCPServerSOContainerGroup(java.lang.String name,
java.lang.ThreadGroup group,
int port,
java.net.InetAddress bindAddress) |
TCPServerSOContainerGroup(java.lang.String name,
java.lang.ThreadGroup group,
int port,
int backlog,
java.net.InetAddress bindAddress) |
Modifier and Type | Method and Description |
---|---|
int |
getPort() |
boolean |
isOnTheAir() |
void |
putOnTheAir() |
void |
takeOffTheAir() |
java.lang.String |
toString() |
protected void |
trace(java.lang.String msg) |
protected void |
traceStack(java.lang.String msg,
java.lang.Throwable e) |
add, contains, createObjectInputStream, createObjectOutputStream, elements, get, getName, handleAccept, readConnectRequestMessage, remove
public TCPServerSOContainerGroup(java.lang.String name, java.lang.ThreadGroup group, int port, int backlog, java.net.InetAddress bindAddress)
name
- namegroup
- thread group to useport
- portbacklog
- backlogbindAddress
- bind addresspublic TCPServerSOContainerGroup(java.lang.String name, java.lang.ThreadGroup group, int port, java.net.InetAddress bindAddress)
name
- namegroup
- thread group to useport
- portbindAddress
- bind addresspublic TCPServerSOContainerGroup(java.lang.String name, java.lang.ThreadGroup group, int port)
public TCPServerSOContainerGroup(java.lang.String name, int port)
public TCPServerSOContainerGroup(int port)
protected void trace(java.lang.String msg)
protected void traceStack(java.lang.String msg, java.lang.Throwable e)
public void putOnTheAir() throws java.io.IOException
java.io.IOException
public boolean isOnTheAir()
public void takeOffTheAir()
public int getPort()
public java.lang.String toString()
toString
in class java.lang.Object