com.cisco.trex.stateful.api.lowlevel.ASTFCmdRecv 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 ASTFCmdRecv class */
public class ASTFCmdRecv extends ASTFCmd {
private static final String NAME = "rx";
/**
* constructor
*
* @param minBytes minimal receive bytes
* @param clear true if clear data
*/
public ASTFCmdRecv(long minBytes, boolean clear) {
super();
fields.addProperty("name", NAME);
fields.addProperty("min_bytes", minBytes);
if (clear) {
fields.addProperty("clear", clear);
}
stream = true;
}
@Override
public String getName() {
return NAME;
}
}