public class TaskMessage extends Object
Constructor and Description |
---|
TaskMessage(int task,
byte[] message) |
Modifier and Type | Method and Description |
---|---|
void |
deserialize(ByteBuffer packet) |
byte[] |
message() |
ByteBuffer |
serialize() |
int |
task() |
public int task()
public byte[] message()
public ByteBuffer serialize()
public void deserialize(ByteBuffer packet)
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.