Package org.eclipse.net4j.tcp
Class TCPUtil
java.lang.Object
org.eclipse.net4j.tcp.TCPUtil
A utility class with static convenience methods.
- Author:
- Eike Stepper
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Encapsulates the data needed to configure aTCP acceptor
.static final class
Encapsulates the data needed to configure aTCP connector
. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ITCPAcceptor
getAcceptor
(org.eclipse.net4j.util.container.IManagedContainer container, String description) static ITCPConnector
getConnector
(org.eclipse.net4j.util.container.IManagedContainer container, String description) static void
prepareContainer
(org.eclipse.net4j.util.container.IManagedContainer container)
-
Field Details
-
FACTORY_TYPE
- Since:
- 4.1
- See Also:
-
PORT_SEPARATOR
- Since:
- 4.1
- See Also:
-
CREDENTIALS_SEPARATOR
- Since:
- 4.1
- See Also:
-
-
Method Details
-
prepareContainer
public static void prepareContainer(org.eclipse.net4j.util.container.IManagedContainer container) -
getAcceptor
public static ITCPAcceptor getAcceptor(org.eclipse.net4j.util.container.IManagedContainer container, String description) -
getConnector
public static ITCPConnector getConnector(org.eclipse.net4j.util.container.IManagedContainer container, String description)
-