com.hazelcast.topic.impl.client
Constructor and Description |
---|
PortableMessage() |
PortableMessage(Data message,
long publishTime,
String uuid) |
Modifier and Type | Method and Description |
---|---|
int |
getClassId()
Returns class identifier for this portable class.
|
int |
getFactoryId()
Returns PortableFactory id for this portable class
|
Data |
getMessage() |
long |
getPublishTime() |
String |
getUuid() |
void |
readPortable(PortableReader reader)
Read portable fields using PortableReader
|
void |
writePortable(PortableWriter writer)
Serialize this portable object using PortableWriter
|
public Data getMessage()
public long getPublishTime()
public String getUuid()
public int getFactoryId()
Portable
getFactoryId
in interface Portable
public int getClassId()
Portable
getClassId
in interface Portable
public void writePortable(PortableWriter writer) throws IOException
Portable
writePortable
in interface Portable
writer
- PortableWriterIOException
public void readPortable(PortableReader reader) throws IOException
Portable
readPortable
in interface Portable
reader
- PortableReaderIOException
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.