JXTA

net.jxta.endpoint
Interface EndpointListener

All Known Subinterfaces:
EndpointService

public interface EndpointListener

A listener for messages. The listener is invoked for each incoming message which is destined for this listener. Various services register

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

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.

JXSE