|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SocketConnectionManager
Interface to abstract the underlying mechanism of obtaining socket connections.
Method Summary | |
---|---|
void |
destroy()
Destroy this connection manager. |
java.net.Socket |
getSocket()
Return a reference to a socket connection. |
void |
init(XMLProperties xmlProps)
Initialise the connection manager with the given XMLProperties. |
void |
releaseSocket(java.net.Socket socket)
Release a reference to a socket. |
Method Detail |
---|
void init(XMLProperties xmlProps) throws SocketClientException
xmlProps
- XML configuration properties
SocketClientException
- if the manager cannot be initialised.java.net.Socket getSocket() throws SocketClientException
SocketClientException
void releaseSocket(java.net.Socket socket)
socket
- The socket instance to release.void destroy()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |