com.caucho.server.snmp.types
Class TrapPduValue

java.lang.Object
  extended by com.caucho.server.snmp.types.SnmpValue
      extended by com.caucho.server.snmp.types.PduValue
          extended by com.caucho.server.snmp.types.TrapPduValue

public class TrapPduValue
extends PduValue


Field Summary
 
Fields inherited from class com.caucho.server.snmp.types.SnmpValue
COUNTER, EOC, GAUGE, GET_NEXT_REQUEST_PDU, GET_REQUEST_PDU, GET_RESPONSE_PDU, INTEGER, IP_ADDRESS, NULL, OBJECT_IDENTIFIER, OCTET_STRING, OPAQUE, SEQUENCE, SET_REQUEST_PDU, TIME_TICKS, TRAP_PDU
 
Constructor Summary
TrapPduValue()
           
TrapPduValue(IntegerValue requestId, IntegerValue error, IntegerValue errorIndex, VarBindListValue varBindList)
           
TrapPduValue(int requestId, int error, int errorIndex)
           
 
Method Summary
 int getType()
           
 
Methods inherited from class com.caucho.server.snmp.types.PduValue
addVarBind, addVarBindList, create, create, getError, getErrorIndex, getRequestId, getVarBindList, setError, setError, setErrorIndex, setErrorIndex, setRequestId, setRequestId, toAsn1
 
Methods inherited from class com.caucho.server.snmp.types.SnmpValue
create, create, create, getLong, getString, header, toAsn1, typeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrapPduValue

public TrapPduValue()

TrapPduValue

public TrapPduValue(int requestId,
                    int error,
                    int errorIndex)

TrapPduValue

public TrapPduValue(IntegerValue requestId,
                    IntegerValue error,
                    IntegerValue errorIndex,
                    VarBindListValue varBindList)
Method Detail

getType

public int getType()
Specified by:
getType in class SnmpValue