Package org.eclipse.ecf.provider.generic
Class SSLServerSOContainerGroup
java.lang.Object
org.eclipse.ecf.provider.generic.SOContainerGroup
org.eclipse.ecf.provider.generic.SSLServerSOContainerGroup
- All Implemented Interfaces:
ISocketAcceptHandler
- Since:
- 4.3
-
Field Summary
Fields inherited from class org.eclipse.ecf.provider.generic.SOContainerGroup
INVALID_CONNECT, map
-
Constructor Summary
ConstructorDescriptionSSLServerSOContainerGroup
(int port) SSLServerSOContainerGroup
(String name, int port) SSLServerSOContainerGroup
(String name, ThreadGroup group, int port) SSLServerSOContainerGroup
(String name, ThreadGroup group, int port, int backlog) SSLServerSOContainerGroup
(String name, ThreadGroup group, int port, int backlog, InetAddress inetAddress) SSLServerSOContainerGroup
(String name, ThreadGroup group, int port, InetAddress bindAddress) SSLServerSOContainerGroup
(String name, ThreadGroup group, SSLServerSocket sslServerSocket) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
int
getPort()
void
handleAccept
(Socket aSocket) protected void
handleSyncAccept
(Socket aSocket) boolean
void
protected Thread
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, readConnectRequestMessage, remove
-
Field Details
-
DEFAULT_BACKLOG
public static final int DEFAULT_BACKLOG- See Also:
-
DEFAULT_GROUP_NAME
-
-
Constructor Details
-
SSLServerSOContainerGroup
public SSLServerSOContainerGroup(String name, ThreadGroup group, int port, int backlog, InetAddress inetAddress) -
SSLServerSOContainerGroup
-
SSLServerSOContainerGroup
- Parameters:
name
- namegroup
- thread group to use to create threadport
- portbindAddress
- bind address- Since:
- 4.4
-
SSLServerSOContainerGroup
-
SSLServerSOContainerGroup
-
SSLServerSOContainerGroup
public SSLServerSOContainerGroup(int port) -
SSLServerSOContainerGroup
- Parameters:
name
- namegroup
- thread group to usesslServerSocket
- the ssl server socket- Since:
- 4.6
-
-
Method Details
-
trace
-
traceStack
-
putOnTheAir
- Throws:
IOException
-
isOnTheAir
public boolean isOnTheAir() -
takeOffTheAir
public void takeOffTheAir() -
getPort
public int getPort() -
toString
-
setupListener
-
handleSyncAccept
- Parameters:
aSocket
- socket- Throws:
Exception
- if some problem with handling accept- Since:
- 4.7
-
handleAccept
- Specified by:
handleAccept
in interfaceISocketAcceptHandler
- Overrides:
handleAccept
in classSOContainerGroup
- Parameters:
aSocket
- socket
-
debug
-