com.cisco.trex.stateful.api.lowlevel.ASTFCmdSetVal 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 ASTFCmdSetVal class */
public class ASTFCmdSetVal extends ASTFCmd {
private static final String NAME = "set_var";
/**
* construct
*
* @param idVal
* @param val
*/
public ASTFCmdSetVal(String idVal, long val) {
super();
this.fields.addProperty("name", NAME);
this.fields.addProperty("id", idVal);
this.fields.addProperty("val", val);
}
@Override
public String getName() {
return NAME;
}
}