org.jgroups.protocols

Class NakAckHeader

Implemented Interfaces:
Externalizable

public class NakAckHeader
extends Header

Field Summary

static int
NAK_ACK_MSG
static int
NAK_ACK_RSP
static int
NAK_MSG
static int
OUT_OF_BAND_MSG
static int
OUT_OF_BAND_RSP
static int
RETRANSMIT_MSG
static int
WRAPPED_MSG

Fields inherited from class org.jgroups.Header

HDR_OVERHEAD

Constructor Summary

NakAckHeader()
NakAckHeader(int type, long seqno, ViewId vid)

Method Summary

NakAckHeader
copy()
void
readExternal(ObjectInput in)
long
size()
String
toString()
static String
type2Str(int t)
void
writeExternal(ObjectOutput out)

Methods inherited from class org.jgroups.Header

size, toString

Field Details

NAK_ACK_MSG

public static final int NAK_ACK_MSG
Field Value:
2

NAK_ACK_RSP

public static final int NAK_ACK_RSP
Field Value:
5

NAK_MSG

public static final int NAK_MSG
Field Value:
1

OUT_OF_BAND_MSG

public static final int OUT_OF_BAND_MSG
Field Value:
6

OUT_OF_BAND_RSP

public static final int OUT_OF_BAND_RSP
Field Value:
7

RETRANSMIT_MSG

public static final int RETRANSMIT_MSG
Field Value:
4

WRAPPED_MSG

public static final int WRAPPED_MSG
Field Value:
3

Constructor Details

NakAckHeader

public NakAckHeader()

NakAckHeader

public NakAckHeader(int type,
                    long seqno,
                    ViewId vid)

Method Details

copy

public NakAckHeader copy()

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

type2Str

public static String type2Str(int t)

writeExternal

public void writeExternal(ObjectOutput out)
            throws IOException

Copyright B) 1998-2005 Bela Ban. All Rights Reserved.