net.jxta.endpoint
Class OutgoingMessageEvent
java.lang.Object
java.util.EventObject
net.jxta.endpoint.OutgoingMessageEvent
- All Implemented Interfaces:
- Serializable
- public class OutgoingMessageEvent
- extends EventObject
An event which provides notification of the the transmission status of an
outgoing message. The source of the event is the Message object.
- See Also:
- Serialized Form
SUCCESS
public static final OutgoingMessageEvent SUCCESS
OVERFLOW
public static final OutgoingMessageEvent OVERFLOW
OutgoingMessageEvent
public OutgoingMessageEvent()
- Create an Outgoing Message Event with a dummy src (message
is not specified because the event is a constant).
OutgoingMessageEvent
public OutgoingMessageEvent(Message source)
- Create an Outgoing Message Event.
- Parameters:
source
- the message for which the event is occuring.
OutgoingMessageEvent
public OutgoingMessageEvent(Message source,
Throwable failure)
- Create an Outgoing Message Event.
- Parameters:
source
- The message for which the event is occuring.failure
- The failure associated with this event.
getFailure
public Throwable getFailure()
- Get the failure associated with this event, if any.
- Returns:
- the
Throwable
associated with the failure, if any.
null
if there was no associated failure.