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
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 messagesrcAddr - Endpoint Address of the source of the messagedstAddr - Endpoint Address of the destination of the message