public class BlaubotMessageType
extends java.lang.Object
Constructor and Description |
---|
BlaubotMessageType() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsPayload() |
protected static BlaubotMessageType |
copy(BlaubotMessageType blaubotMessageType)
Copies a message type object.
|
boolean |
equals(java.lang.Object o) |
protected static BlaubotMessageType |
fromByte(byte typeByte)
Constructs a BlaubotMessageType object from a byte
|
int |
hashCode() |
boolean |
isAdminMessage() |
boolean |
isChunk() |
boolean |
isFirstHop() |
boolean |
isKeepAliveMessage() |
boolean |
isSenderExcluded() |
BlaubotMessageType |
setContainsPayload(boolean val) |
BlaubotMessageType |
setExcludeSender(boolean val) |
BlaubotMessageType |
setIsAdminMessage(boolean val) |
BlaubotMessageType |
setIsChunk(boolean val) |
BlaubotMessageType |
setIsFirstHop(boolean val) |
BlaubotMessageType |
setIsKeepAliveMessage(boolean val) |
byte |
toByte() |
java.lang.String |
toString() |
protected static BlaubotMessageType fromByte(byte typeByte)
typeByte
- header byteprotected static BlaubotMessageType copy(BlaubotMessageType blaubotMessageType)
blaubotMessageType
- the message type to be copiedpublic byte toByte()
public boolean containsPayload()
public boolean isAdminMessage()
public boolean isKeepAliveMessage()
public boolean isFirstHop()
public boolean isChunk()
public boolean isSenderExcluded()
public BlaubotMessageType setContainsPayload(boolean val)
public BlaubotMessageType setIsAdminMessage(boolean val)
public BlaubotMessageType setIsKeepAliveMessage(boolean val)
public BlaubotMessageType setIsFirstHop(boolean val)
public BlaubotMessageType setIsChunk(boolean val)
public BlaubotMessageType setExcludeSender(boolean val)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object