|
Project JXTA | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The EndpointAddress class defines the JXTA Endpoint address. An Endpoint Address is an URI which is defined as follow:
protocol://network address/service name/optional parameters
For instance, a JXTA Peer on TCP, will have its PipeService Service address
defined as:
tcp://192.168.1.10/JxtaPipe
A particular pipe provided by the service would have the following address:
tcp://192.168.1.10/JxtaPipe/000...128 bit UUID of the pipe
MessageTransport,
EndpointService,
PipeService| Method Summary | |
java.lang.Object |
clone()
Returns a complete copy of the provided EndpointAddress |
java.lang.String |
getProtocolAddress()
Return a String that contains the name of the protocol address embedded in the EndpointAddress |
java.lang.String |
getProtocolName()
Return a String that contains the name of the protocol embedded in the EndpointAddress |
java.lang.String |
getServiceName()
Return a String that contains the name of the service name embedded in the EndpointAddress |
java.lang.String |
getServiceParameter()
Return a String that contains the service parameter embedded in the EndpointAddress |
void |
setProtocolAddress(java.lang.String address)
Set the protocol address. |
void |
setProtocolName(java.lang.String name)
Set the protocol name. |
void |
setServiceName(java.lang.String name)
Set the service name. |
void |
setServiceParameter(java.lang.String name)
Set the service parameter |
| Method Detail |
public java.lang.Object clone()
clone in class java.lang.Objectpublic java.lang.String getProtocolName()
public java.lang.String getProtocolAddress()
public java.lang.String getServiceName()
public java.lang.String getServiceParameter()
public void setProtocolName(java.lang.String name)
name - String containing the name of the protocolpublic void setProtocolAddress(java.lang.String address)
address - String containing the peer address.public void setServiceName(java.lang.String name)
name - String containing the name of the servicepublic void setServiceParameter(java.lang.String name)
name - String containing the service parameter
|
Project JXTA | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||