Project JXTA

net.jxta.endpoint
Interface EndpointListener

All Known Subinterfaces:
EndpointService

public interface EndpointListener

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

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 which is addressed to this listener.
 

Method Detail

processIncomingMessage

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

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

JXTA J2SE