com.hazelcast.topic.impl
Class DataAwareMessage

java.lang.Object
  extended by java.util.EventObject
      extended by com.hazelcast.core.Message
          extended by com.hazelcast.topic.impl.DataAwareMessage
All Implemented Interfaces:
Serializable

public class DataAwareMessage
extends Message

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.hazelcast.core.Message
messageObject
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DataAwareMessage(String topicName, Data messageData, long publishTime, Member publishingMember, SerializationService serializationService)
           
 
Method Summary
 Data getMessageData()
           
 Object getMessageObject()
          Returns the published message
 
Methods inherited from class com.hazelcast.core.Message
getPublishingMember, getPublishTime
 
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

DataAwareMessage

public DataAwareMessage(String topicName,
                        Data messageData,
                        long publishTime,
                        Member publishingMember,
                        SerializationService serializationService)
Method Detail

getMessageObject

public Object getMessageObject()
Description copied from class: Message
Returns the published message

Overrides:
getMessageObject in class Message
Returns:
the published message object

getMessageData

public Data getMessageData()


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.