org.jgroups.stack

Class GossipData

public class GossipData extends Object implements Externalizable

Encapsulates data sent between GossipServer and GossipClient

Author: Bela Ban Oct 4 2001

Field Summary
static intGET_REQ
static intGET_RSP
static intREGISTER_REQ
Constructor Summary
GossipData()
GossipData(int type, String group, Address mbr, Vector mbrs)
Method Summary
StringgetGroup()
AddressgetMbr()
VectorgetMbrs()
intgetType()
voidreadExternal(ObjectInput in)
StringtoString()
static Stringtype2String(int t)
voidwriteExternal(ObjectOutput out)

Field Detail

GET_REQ

public static final int GET_REQ

GET_RSP

public static final int GET_RSP

REGISTER_REQ

public static final int REGISTER_REQ

Constructor Detail

GossipData

public GossipData()

GossipData

public GossipData(int type, String group, Address mbr, Vector mbrs)

Method Detail

getGroup

public String getGroup()

getMbr

public Address getMbr()

getMbrs

public Vector getMbrs()

getType

public int getType()

readExternal

public void readExternal(ObjectInput in)

toString

public String toString()

type2String

public static String type2String(int t)

writeExternal

public void writeExternal(ObjectOutput out)
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.