Top Fields Methods
org.apache.sshd.common.io

public Interface IoConnector

extends IoService
Imports
java.net.SocketAddress, org.apache.sshd.common.AttributeRepository

Author
Apache MINA SSHD Project

Field Summary

Inherited from org.apache.sshd.common.io.IoService:
DEFAULT_REUSE_ADDRESS

Method Summary

Modifier and TypeMethod and Description
public IoConnectFuture

Returns:

The future representing the connection request
connect
(SocketAddress
The target address to connect to
targetAddress
,
AttributeRepository
An optional "context" to be attached to the established session if successfully connected
context
,
SocketAddress
The local address to use - if null an automatic ephemeral port and bind address is used
localAddress
)

Inherited from org.apache.sshd.common.io.IoService:
getManagedSessions

Method Detail

connectback to summary
public IoConnectFuture connect(SocketAddress targetAddress, AttributeRepository context, SocketAddress localAddress)
Parameters
targetAddress:SocketAddress

The target address to connect to

context:AttributeRepository

An optional "context" to be attached to the established session if successfully connected

localAddress:SocketAddress

The local address to use - if null an automatic ephemeral port and bind address is used

Returns:IoConnectFuture

The future representing the connection request