|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SocketConnectorHandler
Socket based client side connector.
SocketConnectorHandler is responsible for creating and initializing
Connection, and optionally connect is to a specific local/remote
address.
| Method Summary | |
|---|---|
java.util.concurrent.Future<Connection> |
connect(java.lang.String host,
int port)
Creates, initializes and connects socket to the specific remote host and port and returns Connection, representing socket. |
| Methods inherited from interface org.glassfish.grizzly.ConnectorHandler |
|---|
connect, connect, connect, connect |
| Method Detail |
|---|
java.util.concurrent.Future<Connection> connect(java.lang.String host,
int port)
throws java.io.IOException
Connection, representing socket.
host - remote host to connect to.port - remote port to connect to.
Future of connect operation, which could be used to get
resulting Connection.
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||