FileDocCategorySizeDatePackage
SnmpWalk.javaAPI DocExample578Mon Aug 29 19:18:58 BST 2005None

SnmpWalk.java

public class SnmpWalk {

	  public static final int WALK = 1;
	  private SnmpUtil _util = null;

	  public SnmpWalk(String host, String oid){
		_util = new SnmpUtil(host,oid,false,0);
		_util.setOperation(WALK);
	  }
	  public SnmpWalk(String host, String oid, String user, String authProtocol, 
			String authPasshrase, String privProtocol, String privPassphrase) {

		  _util = new SnmpUtil(host,oid,user,authProtocol,authPasshrase,privProtocol,privPassphrase,false,0);
		  _util.setOperation(WALK);
	  }

	  public void doWalk() {
		_util.sendAndProcessResponse();
	  }

}