|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SocketFactory<T>
General factory interface for sockets.
| Method Summary | |
|---|---|
T |
newRawSocket(URI uri)
Creates a new socket. |
T |
newRawUnreliableSocket(URI uri)
Creates a new "unreliable" socket that, while it uses the Socket interface, does not send packets reliably underneath. |
T |
newSocket(URI uri)
Creates a new socket. |
T |
newUnreliableSocket(URI uri)
Creates a new "unreliable" socket that, while it uses the Socket interface, does not send packets reliably underneath. |
| Method Detail |
|---|
T newSocket(URI uri)
throws IOException,
org.lastbamboo.common.offer.answer.NoAnswerException
uri - The URI to generate a socket from.
IOException - If there's an error connecting.
org.lastbamboo.common.offer.answer.NoAnswerException - If there's no response from the answerer.
T newUnreliableSocket(URI uri)
throws IOException,
org.lastbamboo.common.offer.answer.NoAnswerException
uri - The URI to generate a socket from.
IOException - If there's an error connecting.
org.lastbamboo.common.offer.answer.NoAnswerException - If there's no response from the answerer.
T newRawSocket(URI uri)
throws IOException,
org.lastbamboo.common.offer.answer.NoAnswerException
uri - The URI to generate a socket from.
IOException - If there's an error connecting.
org.lastbamboo.common.offer.answer.NoAnswerException - If there's no response from the answerer.
T newRawUnreliableSocket(URI uri)
throws IOException,
org.lastbamboo.common.offer.answer.NoAnswerException
uri - The URI to generate a socket from.
IOException - If there's an error connecting.
org.lastbamboo.common.offer.answer.NoAnswerException - If there's no response from the answerer.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||