public abstract class Header extends Object implements SizeStreamable, Constructable<Header>
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 |
---|---|
abstract short |
getMagicId()
Returns the magic-ID.
|
short |
getProtId() |
Header |
setProtId(short id) |
int |
size()
Deprecated.
Headers should implement
SizeStreamable.serializedSize() instead |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
serializedSize
readFrom, writeTo
create
protected short prot_id
Message.putHeader(short,Header)
public short getProtId()
public Header setProtId(short id)
public abstract short getMagicId()
@Deprecated public int size()
SizeStreamable.serializedSize()
insteadCopyright © 2018 JBoss, a division of Red Hat. All rights reserved.