org.jgroups.protocols.pbcast

Class STATE_TRANSFER.StateHeader

Enclosing Class:
STATE_TRANSFER
Implemented Interfaces:
Cloneable, Externalizable

public static class STATE_TRANSFER.StateHeader
extends Header

Wraps data for a state request/response. Note that for a state response the actual state will not

Field Summary

Fields inherited from class org.jgroups.Header

HDR_OVERHEAD

Constructor Summary

StateHeader()
StateHeader(int type, Address sender, long id, Digest digest)

Method Summary

boolean
equals(Object o)
Digest
getDigest()
int
getType()
int
hashCode()
void
readExternal(ObjectInput in)
String
toString()
void
writeExternal(ObjectOutput out)

Methods inherited from class org.jgroups.Header

size, toString

Constructor Details

StateHeader

public StateHeader()


StateHeader

public StateHeader(int type,
                   Address sender,
                   long id,
                   Digest digest)

Method Details

equals

public boolean equals(Object o)


getDigest

public Digest getDigest()


getType

public int getType()


hashCode

public int hashCode()


readExternal

public void readExternal(ObjectInput in)
            throws IOException,
                   ClassNotFoundException


toString

public String toString()
Overrides:
toString in interface Header


writeExternal

public void writeExternal(ObjectOutput out)
            throws IOException


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