Active Virtual Network Management Prediction (AVNMP) Classes

snmp
Class SnmpContext

java.lang.Object
  |
  +--snmp.SnmpContext
All Implemented Interfaces:
java.lang.Runnable, java.io.Serializable

public class SnmpContext
extends java.lang.Object
implements java.lang.Runnable, java.io.Serializable

This class handles the SNMP connection details.

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

Field Summary
 java.io.InputStream in
          This input stream
 
Constructor Summary
SnmpContext(java.lang.String host, int port)
          Create the SNMP connection information context.
 
Method Summary
 void run()
          Catch the SNMP responses as they arrive, decode them, and fill the Pdu list with the result.
 void stop()
          Stop this thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

in

public java.io.InputStream in
This input stream
Constructor Detail

SnmpContext

public SnmpContext(java.lang.String host,
                   int port)
            throws java.io.IOException
Create the SNMP connection information context.
Parameters:
host - The host to receive this SNMP packet.
port - The port for this connection.
See Also:
Socket
Method Detail

stop

public void stop()
Stop this thread.

run

public void run()
Catch the SNMP responses as they arrive, decode them, and fill the Pdu list with the result.
Specified by:
run in interface java.lang.Runnable

Active Virtual Network Management Prediction (AVNMP) Classes