|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hazelcast.topic.impl.reliable.ReliableTopicMessage
public class ReliableTopicMessage
The Object that is going to be stored in the Ringbuffer. It contains the actual message payload and some metadata.
Constructor Summary | |
---|---|
ReliableTopicMessage()
|
|
ReliableTopicMessage(Data payload,
Address publisherAddress)
|
Method Summary | |
---|---|
int |
getFactoryId()
Returns DataSerializableFactory factory id for this class. |
int |
getId()
Returns type identifier for this class. |
Data |
getPayload()
|
Address |
getPublisherAddress()
|
long |
getPublishTime()
|
void |
readData(ObjectDataInput in)
Reads fields from the input stream |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReliableTopicMessage()
public ReliableTopicMessage(Data payload, Address publisherAddress)
Method Detail |
---|
public long getPublishTime()
public Address getPublisherAddress()
public Data getPayload()
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- output
IOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- input
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |