org.soyatec.windowsazure.queue
Class MessageReceivedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.soyatec.windowsazure.queue.MessageReceivedEvent
All Implemented Interfaces:
java.io.Serializable

public class MessageReceivedEvent
extends java.util.EventObject

The argument class for the MessageReceived event.

See Also:
Serialized Form

Constructor Summary
MessageReceivedEvent(java.lang.Object source, org.soyatec.windowsazure.queue.internal.Message message)
          Constructor for creating a message received argument.
 
Method Summary
 org.soyatec.windowsazure.queue.internal.Message getMessage()
          Returns the new message which is put into the queue.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageReceivedEvent

public MessageReceivedEvent(java.lang.Object source,
                            org.soyatec.windowsazure.queue.internal.Message message)
Constructor for creating a message received argument.

Parameters:
source - Event source
message -
Method Detail

getMessage

public org.soyatec.windowsazure.queue.internal.Message getMessage()
Returns the new message which is put into the queue.

Returns:
The new message