com.cisco.trex.stateful.api.lowlevel.ASTFCmdRecvMsg 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 ASTFCmdRecvMsg class */
public class ASTFCmdRecvMsg extends ASTFCmd {
private static final String NAME = "rx_msg";
/**
* construct
*
* @param minPkts
* @param clear
*/
public ASTFCmdRecvMsg(long minPkts, boolean clear) {
super();
fields.addProperty("name", NAME);
fields.addProperty("min_pkts", minPkts);
if (clear) {
fields.addProperty("clear", clear);
}
stream = false;
}
@Override
public String getName() {
return NAME;
}
}