org.lastbamboo.common.p2p
Interface TcpUdpSocket<T>
- All Known Implementing Classes:
- DefaultTcpUdpEndpoint, DefaultTcpUdpSocket
public interface TcpUdpSocket<T>
Interface for classes that can create P2P sockets.
newSocket
T newSocket(URI uri)
throws IOException,
org.lastbamboo.common.offer.answer.NoAnswerException
- Creates a new socket.
- Parameters:
uri - The URI to create a socket from. This could be a SIP URI,
for example.
- Returns:
- The new socket.
- Throws:
IOException - If there's an IO error creating the socket.
org.lastbamboo.common.offer.answer.NoAnswerException - If the answerer doesn't reply.
Copyright © 2013 LittleShoot. All Rights Reserved.