|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lastbamboo.common.ice.transport.IceTcpConnector
public class IceTcpConnector
Class for establishing TCP connections for ICE.
| Constructor Summary | |
|---|---|
IceTcpConnector(org.littleshoot.stun.stack.message.StunMessageVisitorFactory messageVisitorFactory,
boolean controlling)
Creates a new connector for connecting to the remote address. |
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IceTcpConnector(org.littleshoot.stun.stack.message.StunMessageVisitorFactory messageVisitorFactory,
boolean controlling)
messageVisitorFactory - The class for visiting received STUN
messages.controlling - Whether or not this agent is controlling.| Method Detail |
|---|
public org.littleshoot.mina.common.IoSession connect(InetSocketAddress localAddress,
InetSocketAddress remoteAddress)
IceConnector
connect in interface IceConnectorlocalAddress - The local address to connect from.remoteAddress - The remote address to connect to.
IoSession for the connection.public void addIoServiceListener(org.littleshoot.mina.common.IoServiceListener serviceListener)
IceConnectorIoServiceListener to connections created with
this connector.
addIoServiceListener in interface IceConnectorserviceListener - The listener to be notified of connection events.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||