org.lastbamboo.common.ice.transport
Interface IceConnector

All Known Implementing Classes:
IceTcpConnector, IceUdpConnector

public interface IceConnector

Interface for classes that establish the transport layer for connectivity checks.


Method Summary
 void addIoServiceListener(org.littleshoot.mina.common.IoServiceListener serviceListener)
          Adds the specified IoServiceListener to connections created with this connector.
 org.littleshoot.mina.common.IoSession connect(InetSocketAddress localAddress, InetSocketAddress remoteAddress)
          Creates a new connection from the specified local address to the specified remote address.
 

Method Detail

connect

org.littleshoot.mina.common.IoSession connect(InetSocketAddress localAddress,
                                              InetSocketAddress remoteAddress)
Creates a new connection from the specified local address to the specified remote address.

Parameters:
localAddress - The local address to connect from.
remoteAddress - The remote address to connect to.
Returns:
The MINA IoSession for the connection.

addIoServiceListener

void addIoServiceListener(org.littleshoot.mina.common.IoServiceListener serviceListener)
Adds the specified IoServiceListener to connections created with this connector.

Parameters:
serviceListener - The listener to be notified of connection events.


Copyright © 2013 LittleShoot. All Rights Reserved.