public static class RELAY2.Relay2Header extends Header
Modifier and Type | Field and Description |
---|---|
static byte |
DATA |
protected Address |
final_dest |
static byte |
HOST_UNREACHABLE |
protected Address |
original_sender |
static byte |
SITE_UNREACHABLE |
protected byte |
type |
Constructor and Description |
---|
Relay2Header() |
Relay2Header(byte type,
Address final_dest,
Address original_sender) |
Modifier and Type | Method and Description |
---|---|
void |
readFrom(java.io.DataInput in)
Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed
|
int |
size()
To be implemented by subclasses.
|
java.lang.String |
toString() |
protected static java.lang.String |
typeToString(byte type) |
void |
writeTo(java.io.DataOutput out)
Write the entire state of the current object (including superclasses) to outstream.
|
public static final byte DATA
public static final byte SITE_UNREACHABLE
public static final byte HOST_UNREACHABLE
protected byte type
protected Address final_dest
protected Address original_sender
public int size()
Header
public void writeTo(java.io.DataOutput out) throws java.lang.Exception
Streamable
java.lang.Exception
public void readFrom(java.io.DataInput in) throws java.lang.Exception
Streamable
java.lang.Exception
protected static java.lang.String typeToString(byte type)
Copyright © 1998-2020 Red Hat. All Rights Reserved.