org.jgroups.protocols

Class CAUSAL.CausalHeader

Enclosing Class:
CAUSAL
Implemented Interfaces:
Cloneable, Externalizable

public static class CAUSAL.CausalHeader
extends Header

Field Summary

Fields inherited from class org.jgroups.Header

HDR_OVERHEAD

Constructor Summary

CausalHeader()
used for externalization
CausalHeader(org.jgroups.protocols.TransportedVectorTime timeVector)

Method Summary

org.jgroups.protocols.TransportedVectorTime
getVectorTime()
Returns a vector timestamp carreid by this header
void
readExternal(ObjectInput in)
Manual deserialization
long
size()
Size of this vector timestamp estimation, used in fragmetation
String
toString()
void
writeExternal(ObjectOutput out)
Manual serialization

Methods inherited from class org.jgroups.Header

size, toString

Constructor Details

CausalHeader

public CausalHeader()
used for externalization


CausalHeader

public CausalHeader(org.jgroups.protocols.TransportedVectorTime timeVector)

Method Details

getVectorTime

public org.jgroups.protocols.TransportedVectorTime getVectorTime()
Returns a vector timestamp carreid by this header

Returns:
Vector timestamp contained in this header


readExternal

public void readExternal(ObjectInput in)
            throws IOException,
                   ClassNotFoundException
Manual deserialization


size

public long size()
Size of this vector timestamp estimation, used in fragmetation
Overrides:
size in interface Header

Returns:
headersize in bytes


toString

public String toString()
Overrides:
toString in interface Header


writeExternal

public void writeExternal(ObjectOutput out)
            throws IOException
Manual serialization


Copyright B) 2001,2002 www.jgroups.com . All Rights Reserved.