Project JXTA

net.jxta.endpoint
Interface EndpointFilterListener


Deprecated. See the MessageFilterListener.

public interface EndpointFilterListener

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

See Also:
EndpointService, EndpointAddress, Message

Method Summary
 Message processIncomingMessage(Message message, EndpointAddress srcAddr, EndpointAddress dstAddr)
          Deprecated. This method is invoked by the EndpointService for each incoming message that contains a message element associated to this Endpoint Filter.
 

Method Detail

processIncomingMessage

Message processIncomingMessage(Message message,
                               EndpointAddress srcAddr,
                               EndpointAddress dstAddr)
Deprecated. 
This method is invoked by the EndpointService for each incoming message that contains a message element associated to this Endpoint Filter.

Parameters:
message - Incoming message
srcAddr - Endpoint Address of the source of the message
dstAddr - Endpoint Address of the destination of the message
Returns:
Message The listener is expected to return the provided message if the message is to be further processed, and null if the message is to be dropped.

JXTA J2SE