org.jgroups.protocols

Class PingHeader

Implemented Interfaces:
Cloneable, Externalizable

public class PingHeader
extends Header

Field Summary

static int
GET_MBRS_REQ
static int
GET_MBRS_RSP
Object
arg
int
type

Fields inherited from class org.jgroups.Header

HDR_OVERHEAD

Constructor Summary

PingHeader()
PingHeader(int type, Object arg)

Method Summary

void
readExternal(ObjectInput in)
long
size()
String
toString()
void
writeExternal(ObjectOutput out)

Methods inherited from class org.jgroups.Header

size, toString

Field Details

GET_MBRS_REQ

public static final int GET_MBRS_REQ
Field Value:
1

GET_MBRS_RSP

public static final int GET_MBRS_RSP
Field Value:
2

arg

public Object arg

type

public int type

Constructor Details

PingHeader

public PingHeader()

PingHeader

public PingHeader(int type,
                  Object arg)

Method Details

readExternal

public void readExternal(ObjectInput in)
            throws IOException,
                   ClassNotFoundException

size

public long size()
Overrides:
size in interface Header

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.