public abstract class Header extends java.lang.Object implements Streamable
Modifier and Type | Field and Description |
---|---|
protected short |
prot_id
The ID of the protocol which added a header to a message.
|
Constructor and Description |
---|
Header() |
Modifier and Type | Method and Description |
---|---|
short |
getProtId() |
Header |
setProtId(short id) |
abstract int |
size()
To be implemented by subclasses.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
readFrom, writeTo
protected short prot_id
Message.putHeader(short,Header)
public short getProtId()
public Header setProtId(short id)
public abstract int size()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 1998-2020 Red Hat. All Rights Reserved.