@Beta public final class PiPacketOperation extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PiPacketOperation.Builder
Builder of packet operations.
|
Modifier and Type | Method and Description |
---|---|
static PiPacketOperation.Builder |
builder()
Returns a new builder of packet operations.
|
ImmutableByteSequence |
data()
Returns the data of this packet.
|
DeviceId |
deviceId()
Returns the device ID of this packet operation.
|
boolean |
equals(Object o) |
int |
hashCode() |
Collection<PiControlMetadata> |
metadatas()
Returns all metadatas of this packet.
|
String |
toString() |
PiPacketOperationType |
type()
Return the type of this packet.
|
public DeviceId deviceId()
public PiPacketOperationType type()
public ImmutableByteSequence data()
public Collection<PiControlMetadata> metadatas()
public static PiPacketOperation.Builder builder()