org.lastbamboo.common.ice
Interface UdpSocketFactory<T>

All Known Implementing Classes:
BarchartUdtSocketFactory, EndpointFactory, RawUdpSocketFactory, UdtSocketFactory

public interface UdpSocketFactory<T>

Interface for creating sockets from reliable UDP "connections."


Method Summary
 void newEndpoint(org.littleshoot.mina.common.IoSession session, boolean controlling, org.lastbamboo.common.offer.answer.OfferAnswerListener<T> offerAnswerListener, IceStunUdpPeer stunUdpPeer, IceAgent iceAgent)
          Creates a NAT/firewall traversed endpoint, notifying the listener when the channel is available.
 

Method Detail

newEndpoint

void newEndpoint(org.littleshoot.mina.common.IoSession session,
                 boolean controlling,
                 org.lastbamboo.common.offer.answer.OfferAnswerListener<T> offerAnswerListener,
                 IceStunUdpPeer stunUdpPeer,
                 IceAgent iceAgent)
Creates a NAT/firewall traversed endpoint, notifying the listener when the channel is available.

Parameters:
session - The MINA session to create the socket from.
controlling - Whether or not the caller is the controlling ICE agent.
offerAnswerListener - The listener for the socket.
stunUdpPeer - The STUN UDP peer class.
iceAgent - The high level ICE agent.


Copyright © 2013 LittleShoot. All Rights Reserved.