Active Virtual Network Management Prediction (AVNMP) Classes

snmp
Class AsnEncoder

java.lang.Object
  |
  +--snmp.AsnEncoder
All Implemented Interfaces:
java.io.Serializable

public class AsnEncoder
extends java.lang.Object
implements java.io.Serializable

Encode SNMP data and place on an output stream.

Version:
$Revision: 1.1.1.1 $ $State: Exp $
Author:
Steve Bush
See Also:
Serialized Form

Constructor Summary
AsnEncoder()
           
 
Method Summary
 void EncodeSNMP(java.io.OutputStream out, java.util.Enumeration ve, java.lang.String community, int rId, int errstat, int errind, byte msg_type)
          Encode SNMPv1 packet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsnEncoder

public AsnEncoder()
Method Detail

EncodeSNMP

public void EncodeSNMP(java.io.OutputStream out,
                       java.util.Enumeration ve,
                       java.lang.String community,
                       int rId,
                       int errstat,
                       int errind,
                       byte msg_type)
                throws java.io.IOException
Encode SNMPv1 packet
Parameters:
out - The output stream.
ve - The data ??? to be placed in varbinds, encoded, and sent on the output stream.
community - The SNMP community name.
rId - The request Id.
errstat - The error status.
errind - The error index.
msg_type - The type of SNMP Pdu.

Active Virtual Network Management Prediction (AVNMP) Classes