public abstract class Header extends 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.
|
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()
Copyright © 2021 JBoss, a division of Red Hat. All rights reserved.