public class CmdEchoRequest extends ScenarioCommand
E_INV_PARAMS, error, params, type
Constructor and Description |
---|
CmdEchoRequest(CommandType type,
String params)
Constructs an echo-request scenario command.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getPayload()
Returns the payload of the echo request.
|
String |
getSwid()
Returns the switch ID.
|
create, getType, toString, validate
public CmdEchoRequest(CommandType type, String params)
type
- the command typeparams
- the command parameterspublic String getSwid()
public byte[] getPayload()
Copyright © 2015. All Rights Reserved.