public class CmdPortStatus extends ScenarioCommand
| Modifier and Type | Class and Description |
|---|---|
static class |
CmdPortStatus.State
Designates change in port state.
|
E_INV_PARAMS, error, params, type| Constructor and Description |
|---|
CmdPortStatus(CommandType type,
String params)
Constructs a port-status scenario command.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPortNum()
Returns the port index number.
|
CmdPortStatus.State |
getState()
Returns the state the port is changing to.
|
String |
getSwid()
Returns the switch ID.
|
create, getType, toString, validatepublic CmdPortStatus(CommandType type, String params)
type - the command typeparams - the command parameterspublic String getSwid()
public int getPortNum()
public CmdPortStatus.State getState()
Copyright © 2014. All Rights Reserved.