|
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. |
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 |
EndpointAddress.clone()
Deprecated. EndpointAddress objects are immutable and never need to be cloned. |
EndpointAddress |
MessengerEvent.getConnectionAddress()
|
EndpointAddress |
Messenger.getDestinationAddress()
Returns the destination of this messenger. |
EndpointAddress |
AbstractMessenger.getDestinationAddress()
Returns the destination of this messenger. |
EndpointAddress |
Messenger.getDestinationAddressObject()
Deprecated. EndpointAddress is now immutable which means that this result is the same as Messenger.getDestinationAddress() . This method will be
eventually removed. |
EndpointAddress |
AbstractMessenger.getDestinationAddressObject()
Deprecated. |
EndpointAddress |
Messenger.getLogicalDestinationAddress()
Returns the logical destination of this messenger. |
EndpointAddress |
ThreadedMessenger.getLogicalDestinationAddress()
Returns the logical destination of this messenger. |
protected abstract EndpointAddress |
ThreadedMessenger.getLogicalDestinationImpl()
|
EndpointAddress |
MessageSender.getPublicAddress()
Returns the EndpointAddress which will be used as the source
address for all messages sent by this message sender. |
EndpointAddress |
MessagePropagater.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)
Deprecated. All EndpointAddresses are now unmodifiable so this method is no longer needed. |
Methods in net.jxta.endpoint that return types with arguments of type EndpointAddress | |
---|---|
Iterator<EndpointAddress> |
MessageReceiver.getPublicAddresses()
Returns an Iterator of all of the EndpointAddresses by which this
MessageReceiver is reachable. |
Methods in net.jxta.endpoint with parameters of type EndpointAddress | |
---|---|
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.getCanonicalMessenger(EndpointAddress addr,
Object hint)
Creates and maps a canonical messenger to the specified destination. |
Messenger |
EndpointService.getDirectMessenger(EndpointAddress addr,
Object hint,
boolean exclusive)
Returns a Direct Messenger that may be used to send messages via this endpoint to the specified destination. |
Messenger |
EndpointService.getMessenger(EndpointAddress addr)
Returns a Messenger that may be used to send messages via this endpoint to the specified destination. |
Messenger |
MessageSender.getMessenger(EndpointAddress dest,
Object hint)
Return a Messenger for sending messages to the specified
destination EndpointAddress . |
Messenger |
EndpointService.getMessenger(EndpointAddress addr,
Object hint)
Returns a messenger for the specified destination address. |
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. |
Messenger |
EndpointService.getMessengerImmediate(EndpointAddress addr,
Object hint)
Returns a messenger to the specified destination. |
boolean |
MessageSender.ping(EndpointAddress addr)
Deprecated. This operation is often very expensive and usually duplicates the work of MessageSender.getMessenger(net.jxta.endpoint.EndpointAddress, java.lang.Object) . If you want to determine
the reachability of a destination, get a Messenger to the destination. |
boolean |
EndpointService.ping(EndpointAddress addr)
Deprecated. The cost of performing this operation is generally the same as getting a Messenger for the destination. Using getMessenger()
is a better approach because the resulting Messenger is generally needed
soon after ping. |
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. |
static EndpointAddress |
EndpointAddress.unmodifiableEndpointAddress(EndpointAddress address)
Deprecated. All EndpointAddresses are now unmodifiable so this method is no longer needed. |
Constructors in net.jxta.endpoint with parameters of type EndpointAddress | |
---|---|
AbstractMessenger(EndpointAddress dest)
Create a new abstract messenger. |
|
AsyncChannelMessenger(EndpointAddress baseAddress,
PeerGroupID redirection,
String origService,
String origServiceParam,
int queueSize,
boolean connected)
Create a new AsyncChannelMessenger. |
|
ChannelMessenger(EndpointAddress baseAddress,
PeerGroupID groupRedirection,
String origService,
String origServiceParam)
Create a new ChannelMessenger |
|
EndpointAddress(EndpointAddress base,
String service,
String serviceParam)
Constructor which builds an endpoint address from a base address and replacement service and params |
|
MessengerEvent(Object source,
Messenger messenger,
EndpointAddress connectionAddress)
Creates a new instance of MessengerEvent |
|
ThreadedMessenger(PeerGroupID homeGroupID,
EndpointAddress destination,
EndpointAddress logicalDestination,
int channelQueueSize)
Create a new ThreadedMessenger. |
Uses of EndpointAddress in net.jxta.protocol |
---|
Methods in net.jxta.protocol that return types with arguments of type EndpointAddress | |
---|---|
List<EndpointAddress> |
RouteAdvertisement.getDestEndpointAddresses()
Returns the endpoint addresses of the destination peer in their preferred order. |
Methods in net.jxta.protocol with parameters of type EndpointAddress | |
---|---|
void |
RouteAdvertisement.addDestEndpointAddress(EndpointAddress addr)
Add the specified endpoint address to destination peer. |
void |
AccessPointAdvertisement.addEndpointAddress(EndpointAddress address)
Add a new EndpointAddresses to the access point |
boolean |
AccessPointAdvertisement.contains(EndpointAddress addr)
Check if the EndpointAddress is already associated with this access point |
void |
RouteAdvertisement.removeDestEndpointAddress(EndpointAddress addr)
Remove the specified endpoint address to destination peer. |
void |
AccessPointAdvertisement.removeEndpointAddress(EndpointAddress addr)
Remove the specified EndpointAddress. |
Method parameters in net.jxta.protocol with type arguments of type EndpointAddress | |
---|---|
void |
RouteAdvertisement.addDestEndpointAddresses(List<EndpointAddress> addrs)
Add all of the specified endpoint addresses to destination peer. |
void |
AccessPointAdvertisement.addEndpointAddresses(List<EndpointAddress> addrs)
Add all of the provided EndpointAddresses. |
void |
RouteAdvertisement.removeDestEndpointAddresses(Collection<EndpointAddress> addrs)
Remove the specified endpoint addresses from destination peer. |
void |
AccessPointAdvertisement.removeEndpointAddresses(Collection<EndpointAddress> addrs)
Remove the specified EndpointAddresses. |
Uses of EndpointAddress in net.jxta.rendezvous |
---|
Methods in net.jxta.rendezvous with parameters of type EndpointAddress | |
---|---|
void |
RendezVousService.connectToRendezVous(EndpointAddress addr)
Deprecated. Directly connecting to rendezvous peers is not recommended. Seed rendezvous should be specified using the RdvConfigAdv mechanisms. |
|
JXSE | |||||||||
PREV NEXT | FRAMES NO FRAMES |