Package org.eclipse.ecf.provider.generic
Class TCPServerSOContainerGroup
java.lang.Object
org.eclipse.ecf.provider.generic.SOContainerGroup
org.eclipse.ecf.provider.generic.TCPServerSOContainerGroup
- All Implemented Interfaces:
ISocketAcceptHandler
-
Field Summary
Fields inherited from class org.eclipse.ecf.provider.generic.SOContainerGroup
INVALID_CONNECT, map
-
Constructor Summary
ConstructorDescriptionTCPServerSOContainerGroup
(int port) TCPServerSOContainerGroup
(String name, int port) TCPServerSOContainerGroup
(String name, ThreadGroup group, int port) TCPServerSOContainerGroup
(String name, ThreadGroup group, int port, int backlog, InetAddress bindAddress) TCPServerSOContainerGroup
(String name, ThreadGroup group, int port, InetAddress bindAddress) -
Method Summary
Modifier and TypeMethodDescriptionint
getPort()
boolean
void
void
toString()
protected void
protected void
traceStack
(String msg, Throwable e) Methods inherited from class org.eclipse.ecf.provider.generic.SOContainerGroup
add, contains, createObjectInputStream, createObjectOutputStream, elements, get, getName, handleAccept, readConnectRequestMessage, remove
-
Field Details
-
DEFAULT_GROUP_NAME
-
-
Constructor Details
-
TCPServerSOContainerGroup
public TCPServerSOContainerGroup(String name, ThreadGroup group, int port, int backlog, InetAddress bindAddress) - Parameters:
name
- namegroup
- thread group to useport
- portbacklog
- backlogbindAddress
- bind address- Since:
- 4.4
-
TCPServerSOContainerGroup
- Parameters:
name
- namegroup
- thread group to useport
- portbindAddress
- bind address- Since:
- 4.4
-
TCPServerSOContainerGroup
-
TCPServerSOContainerGroup
-
TCPServerSOContainerGroup
public TCPServerSOContainerGroup(int port)
-
-
Method Details
-
trace
-
traceStack
-
putOnTheAir
- Throws:
IOException
-
isOnTheAir
public boolean isOnTheAir() -
takeOffTheAir
public void takeOffTheAir() -
getPort
public int getPort() -
toString
-