Project 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

public 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 :


messageSendSucceeded

public 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.


JXTA J2SE