public interface SocketManager
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ROLE |
| Modifier and Type | Method and Description |
|---|---|
ServerSocketFactory |
getServerSocketFactory(java.lang.String name)
Retrieve a server socket factory by name.
|
SocketFactory |
getSocketFactory(java.lang.String name)
Retrieve a client socket factory by name.
|
ServerSocketFactory getServerSocketFactory(java.lang.String name) throws java.lang.Exception
name - the name of server socket factoryjava.lang.Exception - if server socket factory is not availableSocketFactory getSocketFactory(java.lang.String name) throws java.lang.Exception
name - the name of client socket factoryjava.lang.Exception - if socket factory is not available