public class PPGDataPacket extends Packet
| Modifier and Type | Class and Description |
|---|---|
static class |
PPGDataPacket.Payload |
Packet.Header| Modifier and Type | Field and Description |
|---|---|
PPGDataPacket.Payload |
payload |
command, header, headerConfiguration, payloadConfiguration, source, status| Constructor and Description |
|---|
PPGDataPacket() |
PPGDataPacket(Application application,
Command command) |
| Modifier and Type | Method and Description |
|---|---|
Command |
getCommand() |
Status |
getStatus() |
void |
setCommand(Command command) |
void |
setStatus(Status status) |
java.lang.String |
toString() |
void |
updateTimestamp(java.util.ArrayList<java.lang.Long> lastTimestamp) |
decodePacket, getPacket, getSourcepublic PPGDataPacket.Payload payload
public PPGDataPacket(Application application, Command command)
public PPGDataPacket()
public Command getCommand()
getCommand in class Packetpublic void setCommand(Command command)
setCommand in class Packetpublic void updateTimestamp(java.util.ArrayList<java.lang.Long> lastTimestamp)
public java.lang.String toString()
toString in class java.lang.Object