|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lastbamboo.common.ice.transport.IceUdpConnector
public class IceUdpConnector
Class for creating a UDP "connection" for ICE. This really just sets up the UDP transport for a UDP connectivity check.
| Constructor Summary | |
|---|---|
IceUdpConnector(org.littleshoot.mina.filter.codec.ProtocolCodecFactory protocolCodecFactory,
org.littleshoot.mina.common.IoHandler demuxingIoHandler,
boolean controlling)
Creates a new UDP connector. |
|
| 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. |
void |
serviceActivated(org.littleshoot.mina.common.IoService arg0,
SocketAddress arg1,
org.littleshoot.mina.common.IoHandler arg2,
org.littleshoot.mina.common.IoServiceConfig arg3)
|
void |
serviceDeactivated(org.littleshoot.mina.common.IoService arg0,
SocketAddress arg1,
org.littleshoot.mina.common.IoHandler arg2,
org.littleshoot.mina.common.IoServiceConfig arg3)
|
void |
sessionCreated(org.littleshoot.mina.common.IoSession arg0)
|
void |
sessionDestroyed(org.littleshoot.mina.common.IoSession session)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IceUdpConnector(org.littleshoot.mina.filter.codec.ProtocolCodecFactory protocolCodecFactory,
org.littleshoot.mina.common.IoHandler demuxingIoHandler,
boolean controlling)
protocolCodecFactory - The class for interpreting the protocol
for the connection.demuxingIoHandler - The class for processing read and written
messages.controlling - Whether or not we're the controlling agent.| 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.
public void serviceActivated(org.littleshoot.mina.common.IoService arg0,
SocketAddress arg1,
org.littleshoot.mina.common.IoHandler arg2,
org.littleshoot.mina.common.IoServiceConfig arg3)
serviceActivated in interface org.littleshoot.mina.common.IoServiceListener
public void serviceDeactivated(org.littleshoot.mina.common.IoService arg0,
SocketAddress arg1,
org.littleshoot.mina.common.IoHandler arg2,
org.littleshoot.mina.common.IoServiceConfig arg3)
serviceDeactivated in interface org.littleshoot.mina.common.IoServiceListenerpublic void sessionCreated(org.littleshoot.mina.common.IoSession arg0)
sessionCreated in interface org.littleshoot.mina.common.IoServiceListenerpublic void sessionDestroyed(org.littleshoot.mina.common.IoSession session)
sessionDestroyed in interface org.littleshoot.mina.common.IoServiceListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||