public static class SCOPE.ScopeHeader extends Header
Constructor and Description |
---|
ScopeHeader() |
Modifier and Type | Method and Description |
---|---|
static SCOPE.ScopeHeader |
createExpireHeader(short scope) |
static SCOPE.ScopeHeader |
createMessageHeader(short scope) |
short |
getScope() |
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() |
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 MSG
public static final byte EXPIRE
public static SCOPE.ScopeHeader createMessageHeader(short scope)
public static SCOPE.ScopeHeader createExpireHeader(short scope)
public short getScope()
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
public static java.lang.String typeToString(byte type)
Copyright © 1998-2020 Red Hat. All Rights Reserved.