java.lang.Object
org.jgroups.Header
org.jgroups.protocols.raft.REDIRECT.RedirectHeader
- All Implemented Interfaces:
org.jgroups.Constructable<org.jgroups.Header>,org.jgroups.util.SizeStreamable,org.jgroups.util.Streamable
- Enclosing class:
REDIRECT
public static class REDIRECT.RedirectHeader
extends org.jgroups.Header
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected booleanprotected Optionsprotected booleanprotected REDIRECT.RequestTypeFields inherited from class org.jgroups.Header
prot_id -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jgroups.Header
getProtId, setProtId
-
Field Details
-
type
-
corr_id
protected int corr_id -
exception
protected boolean exception -
options
-
readOnly
protected boolean readOnly
-
-
Constructor Details
-
RedirectHeader
public RedirectHeader() -
RedirectHeader
-
-
Method Details
-
getMagicId
public short getMagicId()- Specified by:
getMagicIdin classorg.jgroups.Header
-
create
-
serializedSize
public int serializedSize() -
options
-
options
-
isReadOnly
public boolean isReadOnly() -
readOnly
-
writeTo
- Throws:
IOException
-
readFrom
- Throws:
IOExceptionClassNotFoundException
-
toString
- Overrides:
toStringin classorg.jgroups.Header
-