September 2002
Intermediate to advanced
416 pages
14h 46m
English
EndpointService
The endpoint service
provides a gateway to the underlying network topology of the JXTA
network. It includes endpoint protocol objects that can bridge
network interfaces and endpoint messengers that send message objects
over those endpoints. It is not normally used by JXTA developers. The
endpoint service can be obtained by calling the
getEndpointService( ) method of the
PeerGroup class.
public interface EndpointService extends net.jxta.service.Service { // Public Instance Methods public abstract void addEndpointProtocol(EndpointProtocol proto) throws net.jxta.exception.PeerGroupException; public abstract void addFilterListener(String elementName, EndpointFilterListener listener, boolean incoming) throws IllegalArgumentException; public abstract void addListener(String address, EndpointListener listener) throws IllegalArgumentException; public abstract void demux(Message msg) throws IOException; public abstract EndpointProtocol getEndpointProtocolByName(String name); public abstract java.util.Enumeration getEndpointProtocols(); public abstract net.jxta.peergroup.PeerGroup getGroup(); public abstract EndpointMessenger getMessenger(EndpointAddress addr) throws IOException; public abstract EndpointAddress newEndpointAddress(String Uri); public abstract Message newMessage(); public abstract boolean ping(EndpointAddress addr); public abstract void propagate(Message srcMsg, String serviceName, String serviceParam) throws IOException; public abstract void ...
Read now
Unlock full access