|
Project JXTA | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use EndpointAddress | |
net.jxta.endpoint | Provides interfaces and classes used for the addressing, filtering, sending, and receiving of messages within JXTA. |
net.jxta.protocol | Provides inteface objects for Advertisments and protocol messages for the JXTA Core and Standard Protocols. |
net.jxta.rendezvous | The RendezVous Service is responsible for propagating messages within a JXTA PeerGroup. |
net.jxta.util.endpoint |
Uses of EndpointAddress in net.jxta.endpoint |
Fields in net.jxta.endpoint declared as EndpointAddress | |
protected EndpointAddress |
AbstractMessenger.dstAddress
The destination address of messages sent on this messenger. |
Methods in net.jxta.endpoint that return EndpointAddress | |
EndpointAddress |
ThreadedMessenger.getLogicalDestinationAddress()
Returns the logical destination of this messenger. This may be a different address than is returned by getDestinationAddress and refers to
the entity which is located at the destination address.
By analogy, a telephone number would be the destination address, and
the owner of that telephone number would be the logical destination.
Each logical destination may be known by one or more destination
addresses. |
protected abstract EndpointAddress |
ThreadedMessenger.getLogicalDestinationImpl()
Obtain the logical destination address from the implementer (which likely gets it from the transport messenger). |
EndpointAddress |
MessengerEvent.getConnectionAddress()
|
EndpointAddress |
Messenger.getDestinationAddress()
Returns the destination of this messenger. |
EndpointAddress |
Messenger.getDestinationAddressObject()
Returns the internal EndpointAddress object of the destination of the user. |
EndpointAddress |
Messenger.getLogicalDestinationAddress()
Returns the logical destination of this messenger. |
EndpointAddress |
MessageSender.getPublicAddress()
Returns the EndpointAddress which will be used as the source
address for all messages sent by this message sender. |
static EndpointAddress |
EndpointAddress.unmodifiableEndpointAddress(EndpointAddress address)
Returns an unmodifiable clone of the provided EndpointAddress. |
EndpointAddress |
AbstractMessenger.getDestinationAddress()
Returns the destination of this messenger. The returned EndpointAddress is a clone and can be freely used by the caller. |
EndpointAddress |
AbstractMessenger.getDestinationAddressObject()
Returns the internal EndpointAddress object of the destination of the user. Changing the content of the object may have unpredictable consequence on the behavior of the EndpointMessenger. This method is intended to be used for applications that requires to have weak or soft reference to an EndpointMessenger: the returned Endpoint Address object will be unreferenced when this messenger will finalize. |
Methods in net.jxta.endpoint with parameters of type EndpointAddress | |
Messenger |
MessageSender.getMessenger(EndpointAddress dest,
Object hint)
Creates an Messenger for sending messages to the
specified destination EndpointAddress . |
boolean |
MessageSender.ping(EndpointAddress addr)
Returns true if the target address is reachable via this Message Transport otherwise returns false. |
Message |
MessageFilterListener.filterMessage(Message message,
EndpointAddress srcAddr,
EndpointAddress dstAddr)
This method is invoked by the EndpointService for each message for which this filter is registered. |
Messenger |
EndpointService.getMessengerImmediate(EndpointAddress addr,
Object hint)
Returns a messenger to the specified destination. |
Messenger |
EndpointService.getMessenger(EndpointAddress addr,
Object hint)
Behaves like EndpointService.getMessengerImmediate(EndpointAddress, Object) , except that the invoker is blocked until the
messenger resolves or fails to do so. |
Messenger |
EndpointService.getCanonicalMessenger(EndpointAddress addr,
Object hint)
Creates and maps a canonical messenger to the specified destination. |
boolean |
EndpointService.ping(EndpointAddress addr)
Deprecated. It now always return true. Try and get a messenger instead. |
Messenger |
EndpointService.getMessenger(EndpointAddress addr)
Deprecated. This convenience method adds little value. It is strictly equivalent to
|
boolean |
EndpointService.getMessenger(MessengerEventListener listener,
EndpointAddress addr,
Object hint)
Deprecated. This method is being phased out. Prefer one of the other non-blocking variants. If a listener style paradigm is required, use ListenerAdaptor which emulates this functionality. |
void |
EndpointListener.processIncomingMessage(Message message,
EndpointAddress srcAddr,
EndpointAddress dstAddr)
This method is invoked by the EndpointService for each incoming message which is addressed to this listener. |
Message |
EndpointFilterListener.processIncomingMessage(Message message,
EndpointAddress srcAddr,
EndpointAddress dstAddr)
Deprecated. This method is invoked by the EndpointService for each incoming message that contains a message element associated to this Endpoint Filter. |
static EndpointAddress |
EndpointAddress.unmodifiableEndpointAddress(EndpointAddress address)
Returns an unmodifiable clone of the provided EndpointAddress. |
Constructors in net.jxta.endpoint with parameters of type EndpointAddress | |
ThreadedMessenger(PeerGroupID homeGroupID,
EndpointAddress destination,
EndpointAddress logicalDestination,
int channelQueueSize)
Create a new ThreadedMessenger. |
|
MessengerEvent(Object source,
Messenger messenger,
EndpointAddress connectionAddress)
Creates a new instance of MessengerEvent |
|
EndpointAddress(EndpointAddress base,
String service,
String serviceParam)
Constructor which builds an endpoint address from a base address and replacement service and params |
|
ChannelMessenger(EndpointAddress baseAddress,
PeerGroupID groupRedirection,
String origService,
String origServiceParam)
Create a new ChannelMessenger |
|
AsyncChannelMessenger(EndpointAddress baseAddress,
PeerGroupID redirection,
String origService,
String origServiceParam,
int queueSize,
boolean connected)
Create a new AsyncChannelMessenger. |
|
AbstractMessenger(EndpointAddress dest)
Create a new abstract messenger. |
Uses of EndpointAddress in net.jxta.protocol |
Methods in net.jxta.protocol with parameters of type EndpointAddress | |
void |
RouteAdvertisement.addEndpointAddressToHop(PeerID pid,
EndpointAddress addr)
Add a new endpointaddress to a hop |
void |
RouteAdvertisement.removeEndpointAddressToHop(PeerID pid,
EndpointAddress addr)
remove an endpointaddress to a hop |
boolean |
AccessPointAdvertisement.contains(EndpointAddress addr)
Check if the EndpointAddresses is already in the access point |
Uses of EndpointAddress in net.jxta.rendezvous |
Methods in net.jxta.rendezvous with parameters of type EndpointAddress | |
void |
RendezVousService.connectToRendezVous(EndpointAddress addr)
Attempt connection to the specified peer as a new RendezVous point. |
Uses of EndpointAddress in net.jxta.util.endpoint |
Methods in net.jxta.util.endpoint with parameters of type EndpointAddress | |
Messenger |
WeakMessengerCache.getMessenger(EndpointAddress addr)
Deprecated. Return, if any, a cached Messenger. |
|
JXTA J2SE | ||||||||||
PREV NEXT | FRAMES NO FRAMES |