September 2002
Intermediate to advanced
416 pages
14h 46m
English
EndpointListener
Objects that implement this interface
can be registered with the endpoint service. When the endpoint
receives a message for a particular address, the
processIncomingMessage( ) method of the listener
will be called.
Note that this interface is not a standard event listener: it does
not extend the EventListener interface and does
not receive an EventObject.
public interface EndpointListener { // Public Instance Methods public abstract void processIncomingMessage(Message message, EndpointAddress srcAddr, EndpointAddress dstAddr); }
EndpointService.{addListener(),
removeListener()},
net.jxta.rendezvous.RendezVousService.{addPropagateListener(),
removePropagateListener()}
Read now
Unlock full access