|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectp2ps.imp.endpoint.AbstractEndpointResolver
p2ps.imp.endpoint.UDP.UDPResolver
The resolver for socket using UDP
| Field Summary |
| Fields inherited from interface p2ps.pipe.PipeSchemes |
P2PS_DISCOVERY, P2PS_MULTICAST, P2PS_SECURE, P2PS_STANDARD |
| Fields inherited from interface p2ps.imp.endpoint.UDP.UDPEndpointSchemes |
UDP_MULTICAST, UDP_STANDARD |
| Constructor Summary | |
UDPResolver()
Create a UDPResolver that uses the standard UDP_STANDARD |
|
| Method Summary | |
Endpoint |
connectOutputEndpoint(java.net.URI uri,
SecurityContext remotecontext)
Connects an endpoint to output to the specified address |
Endpoint |
createInputEndpoint(java.lang.String pipeid,
java.lang.String scheme)
Create a endpoint for the specified input pipe |
Endpoint |
createInputEndpoint(java.lang.String pipeid,
java.net.URI uri)
Create a endpoint for the specified input pipe bound the specified endpoint address |
java.lang.String[] |
getEndpointSchemes()
|
java.lang.String[] |
getPipeSchemes()
|
protected Endpoint |
initResolverSocket()
Initialize and return an endpoint for receive EndpointQueries (or null if EndpointQueries not handled) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UDPResolver()
| Method Detail |
protected Endpoint initResolverSocket()
throws java.io.IOException
AbstractEndpointResolver
initResolverSocket in class AbstractEndpointResolverjava.io.IOExceptionpublic java.lang.String[] getEndpointSchemes()
getEndpointSchemes in interface EndpointResolverpublic java.lang.String[] getPipeSchemes()
getPipeSchemes in interface EndpointResolver
public Endpoint createInputEndpoint(java.lang.String pipeid,
java.lang.String scheme)
throws java.io.IOException
createInputEndpoint in interface EndpointResolverjava.io.IOException
public Endpoint createInputEndpoint(java.lang.String pipeid,
java.net.URI uri)
throws java.io.IOException
createInputEndpoint in interface EndpointResolverjava.io.IOException
public Endpoint connectOutputEndpoint(java.net.URI uri,
SecurityContext remotecontext)
throws java.io.IOException
connectOutputEndpoint in interface EndpointResolverjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||