org.lastbamboo.common.ice
Class EndpointFactory
java.lang.Object
org.lastbamboo.common.ice.EndpointFactory
- All Implemented Interfaces:
- UdpSocketFactory<org.littleshoot.util.FiveTuple>
public class EndpointFactory
- extends Object
- implements UdpSocketFactory<org.littleshoot.util.FiveTuple>
Factory for creating NAT/firewall traversed endpoint pairs for local and
remote hosts.
|
Method Summary |
void |
newEndpoint(org.littleshoot.mina.common.IoSession session,
boolean controlling,
org.lastbamboo.common.offer.answer.OfferAnswerListener<org.littleshoot.util.FiveTuple> endpointListener,
IceStunUdpPeer stunUdpPeer,
IceAgent iceAgent)
Creates a NAT/firewall traversed endpoint, notifying the listener when
the channel is available. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EndpointFactory
public EndpointFactory()
newEndpoint
public void newEndpoint(org.littleshoot.mina.common.IoSession session,
boolean controlling,
org.lastbamboo.common.offer.answer.OfferAnswerListener<org.littleshoot.util.FiveTuple> endpointListener,
IceStunUdpPeer stunUdpPeer,
IceAgent iceAgent)
- Description copied from interface:
UdpSocketFactory
- Creates a NAT/firewall traversed endpoint, notifying the listener when
the channel is available.
- Specified by:
newEndpoint in interface UdpSocketFactory<org.littleshoot.util.FiveTuple>
- Parameters:
session - The MINA session to create the socket from.controlling - Whether or not the caller is the controlling ICE
agent.endpointListener - The listener for the socket.stunUdpPeer - The STUN UDP peer class.iceAgent - The high level ICE agent.
Copyright © 2013 LittleShoot. All Rights Reserved.