infoservice.agreement.paxos.integration
Class InfoServiceFreezeProofMessage
java.lang.Object
infoservice.agreement.paxos.integration.InfoServiceFreezeProofMessage
- All Implemented Interfaces:
- IDistributable
public class InfoServiceFreezeProofMessage
- extends java.lang.Object
- implements IDistributable
Method Summary |
java.lang.String |
getId()
Returns a ID for this information. |
byte[] |
getPostData()
Returns the data to post to the other infoservice. |
int |
getPostEncoding()
Returns the content encoding of the post data. |
java.lang.String |
getPostFile()
Returns the filename (InfoService command) to which the data of this entry is posted at the
other infoservice. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_message
private FreezeProofMessage m_message
m_compressedData
private byte[] m_compressedData
InfoServiceFreezeProofMessage
public InfoServiceFreezeProofMessage(FreezeProofMessage a_msg)
- Creates a decorating InfoServiceFreezeProofMessage for the given messages
- Parameters:
a_msg
-
getId
public java.lang.String getId()
- Description copied from interface:
IDistributable
- Returns a ID for this information. It is used as an identifier for logging status information.
- Specified by:
getId
in interface IDistributable
- Returns:
- The ID of this information.
getPostFile
public java.lang.String getPostFile()
- Description copied from interface:
IDistributable
- Returns the filename (InfoService command) to which the data of this entry is posted at the
other infoservice.
- Specified by:
getPostFile
in interface IDistributable
- Returns:
- The filename, where the data is posted when this entry is forwarded.
getPostEncoding
public int getPostEncoding()
- Description copied from interface:
IDistributable
- Returns the content encoding of the post data.
- Specified by:
getPostEncoding
in interface IDistributable
- Returns:
- the content encoding of the post data
getPostData
public byte[] getPostData()
- Description copied from interface:
IDistributable
- Returns the data to post to the other infoservice. In general this should be an XML structure
with the data of this entry.
- Specified by:
getPostData
in interface IDistributable
- Returns:
- The data to post to the other infoservice when this entry is forwarded.