Constructor and Description |
---|
SimpleCommand(int commandLength,
int commandId,
int commandStatus,
int sequenceNumber) |
Modifier and Type | Method and Description |
---|---|
int |
getCommandId()
Get the command_id.
|
int |
getCommandLength()
Get the command_length.
|
int |
getCommandStatus()
Get the command_status.
|
int |
getSequenceNumber()
Get the sequence_number.
|
public SimpleCommand(int commandLength, int commandId, int commandStatus, int sequenceNumber)
commandLength
- the command lengthcommandId
- the command identifiercommandStatus
- the command statussequenceNumber
- the sequence numberpublic int getCommandLength()
Command
getCommandLength
in interface Command
public int getCommandId()
Command
getCommandId
in interface Command
public int getCommandStatus()
Command
getCommandStatus
in interface Command
public int getSequenceNumber()
Command
getSequenceNumber
in interface Command
Copyright © 2021. All rights reserved.