org.jgroups.protocols

Class CAUSAL.CausalHeader

Enclosing Class:
CAUSAL
Implemented Interfaces:
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(TransportedVectorTime timeVector)

Method Summary

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(TransportedVectorTime timeVector)

Method Details

getVectorTime

public 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) 1998-2005 Bela Ban. All Rights Reserved.