Name

EndpointService

Synopsis

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 ...

Get JXTA in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.