fulmine.distribution.events
Class MessageConsumedEvent

java.lang.Object
  extended by fulmine.event.AbstractEvent
      extended by fulmine.distribution.events.MessageConsumedEvent
All Implemented Interfaces:
IEvent, IAddressable, IDescriptor, Cloneable

public class MessageConsumedEvent
extends AbstractEvent

Represents when a MessageEvent has been consumed by all IEventListener instances.

Author:
Ramon Servadei

Constructor Summary
MessageConsumedEvent(IConnection connection, MessageEvent message)
          Construct the message consumed event
 
Method Summary
protected  String getAdditionalToString()
          Delegate method for subclasses to provide additional toString information.
 MessageEvent getMessage()
           
 
Methods inherited from class fulmine.event.AbstractEvent
clone, equals, getAddress, getDomain, getDrivingFrame, getFrame, getIdentity, getSource, getTriggerEvent, getType, hashCode, hideSourceFromToString, setAddress, setDrivingFrame, setFrame, setSource, setTriggerEvent, toDetailedString, toIdentityString, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageConsumedEvent

public MessageConsumedEvent(IConnection connection,
                            MessageEvent message)
Construct the message consumed event

Parameters:
connection - the connection the message was for
message - the message that has been consumed
Method Detail

getMessage

public MessageEvent getMessage()

getAdditionalToString

protected String getAdditionalToString()
Description copied from class: AbstractEvent
Delegate method for subclasses to provide additional toString information. This should be a comma separated string, e.g. "one, two, three"

Overrides:
getAdditionalToString in class AbstractEvent
Returns:
the additional toString information in comma separated format


Copyright © 2007-2009. All Rights Reserved.