Project JXTA

net.jxta.endpoint
Interface EndpointListener


public interface EndpointListener

This interface is used in order to set up an EndpointService listener.

Since:
JXTA 1.0
See Also:
EndpointService, EndpointAddress, Message

Method Summary
 void processIncomingMessage(Message message, EndpointAddress srcAddr, EndpointAddress dstAddr)
          This method is invoked by the EndpointService for each incoming message that is destinated to the listener.
 

Method Detail

processIncomingMessage

public void processIncomingMessage(Message message,
                                   EndpointAddress srcAddr,
                                   EndpointAddress dstAddr)
This method is invoked by the EndpointService for each incoming message that is destinated to the listener.

Parameters:
message - Incoming message
srcAddr - Endpoint Address of the source of the message
dstAddr - Endpoint Address of the destination of the message

Project JXTA