Class CAUSAL.CausalHeader
java.lang.Object
org.jgroups.Header
org.jgroups.protocols.CAUSAL.CausalHeader
- All Implemented Interfaces:
Externalizable, Serializable, Streamable
- Enclosing class:
CAUSAL
- Version:
- $Id: CAUSAL.java,v 1.16.4.2 2008/01/22 10:01:18 belaban Exp $
- Author:
- Vladimir Blagojevic vladimir@cs.yorku.ca
- See Also:
-
Field Summary
Fields inherited from class Header
HDR_OVERHEAD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a vector timestamp carreid by this headervoidManual deserializationvoidRead the state of the current object (including superclasses) from instream Note that the input stream must not be closedintsize()Size of this vector timestamp estimation, used in fragmetationtoString()voidManual serializationvoidwriteTo(DataOutputStream out) Write the entire state of the current object (including superclasses) to outstream.
-
Constructor Details
-
CausalHeader
public CausalHeader()used for externalization -
CausalHeader
-
-
Method Details
-
getVectorTime
Returns a vector timestamp carreid by this header- Returns:
- Vector timestamp contained in this header
-
size
-
writeExternal
Manual serialization- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
Manual deserialization- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeTo
Description copied from interface:StreamableWrite the entire state of the current object (including superclasses) to outstream. Note that the output stream must not be closed- Specified by:
writeToin interfaceStreamable- Throws:
IOException
-
readFrom
public void readFrom(DataInputStream in) throws IOException, IllegalAccessException, InstantiationException Description copied from interface:StreamableRead the state of the current object (including superclasses) from instream Note that the input stream must not be closed- Specified by:
readFromin interfaceStreamable- Throws:
IOExceptionIllegalAccessExceptionInstantiationException
-
toString
-