com.meiglobal.ebds.api.event
Class SendMessageFailureEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.meiglobal.ebds.api.event.AcceptorEvent
          extended by com.meiglobal.ebds.api.event.SendMessageFailureEvent
All Implemented Interfaces:
java.io.Serializable

public class SendMessageFailureEvent
extends AcceptorEvent

Event generated when the api fails send a non-poll message or fails to receive a proper reply to the sent message. The host can view the message to determine if they should attempt to retry this message at a later time.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.meiglobal.ebds.api.event.AcceptorEvent
description
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SendMessageFailureEvent(java.lang.Object source, Message message)
          Constructor
 
Method Summary
 Message getMessage()
          Gets the message that failed to be sent.
 
Methods inherited from class com.meiglobal.ebds.api.event.AcceptorEvent
getDescription
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SendMessageFailureEvent

public SendMessageFailureEvent(java.lang.Object source,
                               Message message)
Constructor

Parameters:
source - Event source object.
message - Message object that contains details on the message that failed to be sent.
Method Detail

getMessage

public Message getMessage()
Gets the message that failed to be sent.

Returns:
The message.