public static class DAISYCHAIN.DaisyHeader extends Header
Constructor and Description |
---|
DaisyHeader() |
DaisyHeader(short ttl) |
Modifier and Type | Method and Description |
---|---|
java.util.function.Supplier<? extends Header> |
create()
Creates an instance of the class implementing this interface
|
short |
getMagicId()
Returns the magic-ID.
|
short |
getTTL() |
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 |
serializedSize()
Returns the size (in bytes) of the marshalled object
|
void |
setTTL(short ttl) |
java.lang.String |
toString() |
void |
writeTo(java.io.DataOutput out)
Write the entire state of the current object (including superclasses) to outstream.
|
public short getMagicId()
Header
getMagicId
in class Header
public short getTTL()
public void setTTL(short ttl)
public java.util.function.Supplier<? extends Header> create()
Constructable
public int serializedSize()
SizeStreamable
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
Copyright © 1998-2020 Red Hat. All Rights Reserved.