JXTA

net.jxta.endpoint
Interface OutgoingMessageEventListener

All Superinterfaces:
EventListener

public interface OutgoingMessageEventListener
extends EventListener

A listener for events concerning the status of outgoing messages.


Method Summary
 void messageSendFailed(OutgoingMessageEvent event)
          The message identified by the event could not be sent.
 void messageSendSucceeded(OutgoingMessageEvent event)
          The message identified by the event was successfully sent.
 

Method Detail

messageSendFailed

void messageSendFailed(OutgoingMessageEvent event)
The message identified by the event could not be sent.

The cause of the failure, if any, is available from OutgoingMessageEvent.getFailure(). Failures while sending messages have several causes :

Parameters:
event - the event

messageSendSucceeded

void messageSendSucceeded(OutgoingMessageEvent event)
The message identified by the event was successfully sent. Successfully sending a message is not a guarantee that it will be successfully received by the destination.

Parameters:
event - the event

JXSE