Overview | Package | Class | Tree | Deprecated | Index | Help
| SNMP Stack 4_12
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## uk.co.westhawk.snmp.stack
Class TrapPduv2

    java.lang.Object
      |
      +--java.util.Observable
            |
            +--uk.co.westhawk.snmp.stack.Pdu
                  |
                  +--uk.co.westhawk.snmp.stack.TrapPduv2

Direct Known Subclasses:
  OneTrapPduv2, PassiveTrapPduv2

public abstract class TrapPduv2
extends Pdu

This class represents the ASN SNMP v2c (and higher) Trap Pdu object. See RFC 1905.

Version:
  $Revision: 3.5 $ $Date: 2002/10/10 15:13:57 $
Author:
  Birgit Arkesteijn
See Also:
  `TrapPduv1`

Fields inherited from class uk.co.westhawk.snmp.stack.Pdu
`added, answered, context, encodedPacket, errind, errstat, msg_type, reqVarbinds, respVarbinds`

Constructor Summary
`TrapPduv2(SnmpContextBasisFace con)` Constructor.

Method Summary
`protected void` | `new_value(int n, varbind res)` Has no meaning, since there is not response.
`protected void` | `tell_them()` Has no meaning, since there is not response.
`java.lang.String` | `toString()` Returns the string representation of this object.

Methods inherited from class uk.co.westhawk.snmp.stack.Pdu
`addOid, addOid, addOid, addOid, addOid, addToTrans, getContext, getErrorIndex, getErrorStatus, getErrorStatusString, getMsgType, getReqId, getRequestVarbinds, getResponseVarbinds, isTimedOut, notifyObservers, send, send, send, sendme, setErrorIndex, setErrorStatus, setErrorStatus, setMsgType, setRetryIntervals, toString, waitForSelf`

Methods inherited from class java.util.Observable
`addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, setChanged`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### TrapPduv2

    public TrapPduv2(SnmpContextBasisFace con)

  Constructor.
  Parameters:
    `con` - The context (v2c or v3) of the Pdu

Method Detail

### toString

    public java.lang.String toString()

  Returns the string representation of this object.
  Overrides:
    `toString` in class `Pdu`
  Returns:
    The string of the Pdu

### new_value

    protected void new_value(int n,
                             varbind res)

  Has no meaning, since there is not response.
  Overrides:
    `new_value` in class `Pdu`

### tell_them

    protected void tell_them()

  Has no meaning, since there is not response.
  Overrides:
    `tell_them` in class `Pdu`

Overview | Package | Class | Tree | Deprecated | Index | Help
| SNMP Stack 4_12
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD