com.adventnet.snmp.snmp2.agent
Class Transaction

java.lang.Object
  extended by com.adventnet.snmp.snmp2.agent.Transaction
All Implemented Interfaces:
java.io.Serializable

Deprecated. The API no longer uses this class.

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

Transaction class describes the various aspects to be recorded for a particular Request<-->Response for a single SnmpVarBind.

Since:
AdventNet Agent Toolkit (Java Edition) 4.2 release.
See Also:
Serialized Form

Field Summary
(package private)  java.lang.Byte errStat
          Deprecated.  
(package private)  boolean getBulkSupported
          Deprecated.  
(package private)  java.util.Vector prevOidVec
          Deprecated.  
(package private)  java.util.Vector propertyVector
          Deprecated.  
(package private)  java.lang.Byte type
          Deprecated.  
 
Constructor Summary
Transaction(SnmpPDU pdu, int index)
          Deprecated. Constructor for the Transaction pdu is the incoming request pdu.
 
Method Summary
 void addPrevOids(java.lang.String prevOid)
          Deprecated.  
 void addToPropertyVector(java.lang.Object o)
          Deprecated.  
 int getAccess()
          Deprecated.  
 java.lang.Byte getCommand()
          Deprecated. Getter of the command type for this transaction
 int getCount()
          Deprecated.  
 long getCounterVal()
          Deprecated.  
 java.lang.Byte getErrIndex()
          Deprecated. Getter of the errIndext value for this transaction
 java.lang.String getError()
          Deprecated. Getter of the error string for this transaction
 java.lang.Byte getErrStat()
          Deprecated. Getter of the errStat value for this transaction
 double getExpValue()
          Deprecated.  
 long getForSine()
          Deprecated.  
 java.lang.String getKey()
          Deprecated. Getter of the key for this transaction.
 long getOldValue()
          Deprecated.  
 java.util.Vector getPropertyVector()
          Deprecated.  
 java.lang.String getRandomValues()
          Deprecated.  
 java.lang.Boolean getRequestFailed()
          Deprecated. Getter of the requestfailed flag for this transaction
(package private)  java.lang.String getRequestOid()
          Deprecated. Getter of the requestedOid value for this transaction
 SnmpPDU getRequestPdu()
          Deprecated. Getter of the request pdu for this transaction
 SnmpPDU getResponsePdu()
          Deprecated. Getter of the response pdu for this transaction
 int getSimulationType()
          Deprecated.  
(package private)  java.lang.Byte getType()
          Deprecated.  
 SnmpVarBind getVarBind()
          Deprecated. Getter of the SnmpVarBind of the response for this transaction
(package private)  boolean isGetBulkSupported()
          Deprecated.  
 void printObjects()
          Deprecated.  
 void resetCounters()
          Deprecated.  
 void setAccess(int acc)
          Deprecated.  
 void setCommand(java.lang.Byte command)
          Deprecated.  
 void setCounterVal(long l)
          Deprecated.  
 void setError(java.lang.String error)
          Deprecated. Setter of the error string for this transaction
 void setExpValue(double exp)
          Deprecated.  
 void setForSine(long s)
          Deprecated.  
 void setKey(java.lang.String key)
          Deprecated. Setter of the key for this transaction.
 void setOldValue(long old)
          Deprecated.  
 void setRandomValues(java.lang.String s)
          Deprecated.  
 void setre(double dd)
          Deprecated.  
 void setRequestFailed(java.lang.Boolean bool)
          Deprecated. Setter of the requestfailed flag for this transaction
 void setRequestOid(java.lang.String requestOid)
          Deprecated. Getter of the requestedOid value for this transaction
 void setRequestPdu(SnmpPDU requestPdu)
          Deprecated. Setter of the request pdu for this transaction
 void setResponsePdu(SnmpPDU responsePdu, int index)
          Deprecated. Setter of the response pdu for this transaction
 void setSimulationType(int st)
          Deprecated.  
 void setType(java.lang.Byte type)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

errStat

java.lang.Byte errStat
Deprecated. 

prevOidVec

java.util.Vector prevOidVec
Deprecated. 

type

java.lang.Byte type
Deprecated. 

getBulkSupported

boolean getBulkSupported
Deprecated. 

propertyVector

java.util.Vector propertyVector
Deprecated. 
Constructor Detail

Transaction

public Transaction(SnmpPDU pdu,
                   int index)
Deprecated. 
Constructor for the Transaction pdu is the incoming request pdu.

Parameters:
com.adventnet.snmp.snmp2.SnmpPDU -
Method Detail

getKey

public java.lang.String getKey()
Deprecated. 
Getter of the key for this transaction.


setKey

public void setKey(java.lang.String key)
Deprecated. 
Setter of the key for this transaction.


getRequestPdu

public SnmpPDU getRequestPdu()
Deprecated. 
Getter of the request pdu for this transaction


setRequestPdu

public void setRequestPdu(SnmpPDU requestPdu)
Deprecated. 
Setter of the request pdu for this transaction


getResponsePdu

public SnmpPDU getResponsePdu()
Deprecated. 
Getter of the response pdu for this transaction


setResponsePdu

public void setResponsePdu(SnmpPDU responsePdu,
                           int index)
Deprecated. 
Setter of the response pdu for this transaction


getVarBind

public SnmpVarBind getVarBind()
Deprecated. 
Getter of the SnmpVarBind of the response for this transaction


getErrStat

public java.lang.Byte getErrStat()
Deprecated. 
Getter of the errStat value for this transaction


getErrIndex

public java.lang.Byte getErrIndex()
Deprecated. 
Getter of the errIndext value for this transaction


getError

public java.lang.String getError()
Deprecated. 
Getter of the error string for this transaction


setError

public void setError(java.lang.String error)
Deprecated. 
Setter of the error string for this transaction


getCommand

public java.lang.Byte getCommand()
Deprecated. 
Getter of the command type for this transaction


setCommand

public void setCommand(java.lang.Byte command)
Deprecated. 

getRequestFailed

public java.lang.Boolean getRequestFailed()
Deprecated. 
Getter of the requestfailed flag for this transaction


setRequestFailed

public void setRequestFailed(java.lang.Boolean bool)
Deprecated. 
Setter of the requestfailed flag for this transaction


getRequestOid

java.lang.String getRequestOid()
Deprecated. 
Getter of the requestedOid value for this transaction


setRequestOid

public void setRequestOid(java.lang.String requestOid)
Deprecated. 
Getter of the requestedOid value for this transaction


printObjects

public void printObjects()
Deprecated. 

addPrevOids

public void addPrevOids(java.lang.String prevOid)
Deprecated. 

setType

public void setType(java.lang.Byte type)
Deprecated. 

getType

java.lang.Byte getType()
Deprecated. 

setAccess

public void setAccess(int acc)
Deprecated. 

getAccess

public int getAccess()
Deprecated. 

isGetBulkSupported

boolean isGetBulkSupported()
Deprecated. 

addToPropertyVector

public void addToPropertyVector(java.lang.Object o)
Deprecated. 

getPropertyVector

public java.util.Vector getPropertyVector()
Deprecated. 

setSimulationType

public void setSimulationType(int st)
Deprecated. 

getSimulationType

public int getSimulationType()
Deprecated. 

setOldValue

public void setOldValue(long old)
Deprecated. 

getOldValue

public long getOldValue()
Deprecated. 

setre

public void setre(double dd)
Deprecated. 

setExpValue

public void setExpValue(double exp)
Deprecated. 

getCount

public int getCount()
Deprecated. 

setForSine

public void setForSine(long s)
Deprecated. 

getForSine

public long getForSine()
Deprecated. 

getExpValue

public double getExpValue()
Deprecated. 

setRandomValues

public void setRandomValues(java.lang.String s)
Deprecated. 

getRandomValues

public java.lang.String getRandomValues()
Deprecated. 

setCounterVal

public void setCounterVal(long l)
Deprecated. 

getCounterVal

public long getCounterVal()
Deprecated. 

resetCounters

public void resetCounters()
Deprecated.