com.cisco.trex.stateful.api.lowlevel.ASTFCmdDelay Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of trex-java-sdk Show documentation
Show all versions of trex-java-sdk Show documentation
Java client SDK provides an implementation for TRex RPC APIs
package com.cisco.trex.stateful.api.lowlevel;
/** Java implementation for TRex python sdk ASTFCmdDelay class */
public class ASTFCmdDelay extends ASTFCmd {
private static final String NAME = "delay";
/**
* constructor
*
* @param usec
*/
public ASTFCmdDelay(int usec) {
super();
fields.addProperty("name", NAME);
fields.addProperty("usec", usec);
}
@Override
public String getName() {
return NAME;
}
public int getUsec() {
return fields.get("usec").getAsInt();
}
}