|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface ClientConnectionHandler
Interface for wrappers around a socket connection to the server on the client side.
| Method Summary | |
|---|---|
void |
close()
Close and cleanup this connection handler. |
SocketWrapper |
getSocketClient()
Get the socket client uses to communicate over a socket connection. |
void |
init()
Initialize the connection. |
void |
initSocketClient()
Initialize the underlying socket connection of this connection handler. |
| Methods inherited from interface org.jppf.client.event.ClientConnectionStatusHandler |
|---|
addClientConnectionStatusListener, getStatus, removeClientConnectionStatusListener, setStatus |
| Method Detail |
|---|
void init()
throws Exception
Exception - if an error is raised while initializing the connection.
void initSocketClient()
throws Exception
Exception - if an error is raised during initialization.
SocketWrapper getSocketClient()
throws Exception
SocketWrapper instance.
Exception - if the connection has failed or timed out.void close()
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||