Name

EndpointAddress

Synopsis

An endpoint address is a URI that is defined as protocol://network address/service name/optional parameters. For instance, the pipe service of a JXTA Peer on a TCP network will have an address of tcp://<IP Address>/JxtaPipe. A particular pipe provided by the service would have the following address: tcp://<IP Address>/JxtaPipe/<128 bit UUID of the pipe>.

public interface EndpointAddress extends Cloneable {
// Public Instance Methods
   public abstract Object clone();  
   public abstract String getProtocolAddress();  
   public abstract String getProtocolName();  
   public abstract String getServiceName();  
   public abstract String getServiceParameter();  
   public abstract void setProtocolAddress(String address);  
   public abstract void setProtocolName(String name);  
   public abstract void setServiceName(String name);  
   public abstract void setServiceParameter(String name);  
}

Passed To

EndpointFilterListener.processIncomingMessage(), EndpointListener.processIncomingMessage(), EndpointProtocol.{getMessenger(), ping()}, EndpointService.{getMessenger(), ping()}, Message.{setDestinationAddress(), setSourceAddress()}, net.jxta.rendezvous.RendezVousService.connectToRendezVous()

Returned By

EndpointProtocol.getPublicAddress(), EndpointService.newEndpointAddress(), Message.{getDestinationAddress(), getSourceAddress()}

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.