public interface HeaderOptions
| Modifier and Type | Method and Description |
|---|---|
default HeaderOptions |
and(Status.StatusBit bit)
Create a
HeaderOptions object with Status.StatusBit set. |
static HeaderOptions |
create(Type type,
Status status)
|
Status |
getStatus()
Status is a bit field used to indicate the message state.
|
Type |
getType()
Defines the type of message.
|
boolean |
is(Status.StatusBit bit)
Check if the header status has set the
Status.StatusBit. |
default HeaderOptions |
not(Status.StatusBit bit)
Create a
HeaderOptions object with Status.StatusBit removed. |
default HeaderOptions and(Status.StatusBit bit)
HeaderOptions object with Status.StatusBit set.bit - status bit to set.HeaderOptions.default HeaderOptions not(Status.StatusBit bit)
HeaderOptions object with Status.StatusBit removed.bit - status bit to remove.HeaderOptions.Type getType()
Status getStatus()
Status.StatusBit.boolean is(Status.StatusBit bit)
Status.StatusBit.bit - the status bit.true of the bit is set; false otherwise.static HeaderOptions create(Type type, Status status)
type - the header Type.status - the Status.HeaderOptions.Copyright © 2023. All rights reserved.