Serialized Form

  • Package org.snmp4j.agent.agentx

  • Package org.snmp4j.agent.agentx.event

    • Class org.snmp4j.agent.agentx.event.PingEvent

      class PingEvent extends EventObject implements Serializable
      serialVersionUID:
      -659743205138032769L
      • Serialized Fields

        • closeSession
          boolean closeSession
          Indicates whether the pinged session should be closed.
        • error
          Exception error
          The exception that caused the ping to fail, if any.
        • resetSession
          boolean resetSession
          Indicates whether the pinged session should be reset.
        • response
          AgentXResponsePDU response
          The response received for the ping, or null if the ping failed.
        • session
          AgentXSession<A extends org.snmp4j.smi.Address> session
          The AgentX session that has been pinged.
  • Package org.snmp4j.agent.agentx.master

    • Class org.snmp4j.agent.agentx.master.AbstractAgentXPending

      class AbstractAgentXPending extends Object implements Serializable
      serialVersionUID:
      -7904568557569179078L
      • Serialized Fields

        • pending
          boolean pending
          Indicates whether this request is still pending (i.e. no response has been processed yet).
        • registration
          AgentXRegEntry<A extends org.snmp4j.smi.Address> registration
          The region entry of the affected region by this pending request.
        • request
          org.snmp4j.agent.request.SnmpRequest request
          The SNMP request that triggered this pending AgentX request.
        • timeout
          int timeout
          The timeout in seconds after which this pending request is considered to have timed out.
        • timestamp
          long timestamp
          The time in milliseconds when this request was sent, used to detect timeouts.
    • Class org.snmp4j.agent.agentx.master.AgentXMasterEvent

      class AgentXMasterEvent extends EventObject implements Serializable
      serialVersionUID:
      3832573623483809788L
      • Serialized Fields

        • changedObject
          Object changedObject
          An optional reference to the changed object (or the object to be changed), for example an AgentXPeer, AgentXSession, or AgentXRegistration instance.
        • type
          int type
          The event type; a value less than zero indicates a veto-able event, a value greater than zero an informational event.
        • vetoReason
          int vetoReason
          The veto reason set by a listener to cancel a veto-able event, or AgentXProtocol.AGENTX_SUCCESS if the event is not vetoed.
    • Class org.snmp4j.agent.agentx.master.AgentXMasterSession

      class AgentXMasterSession extends AgentXSession<A extends org.snmp4j.smi.Address> implements Serializable
      serialVersionUID:
      2076735780892800483L
      • Serialized Fields

        • agentCaps
          Map<org.snmp4j.smi.OID,org.snmp4j.smi.OID> agentCaps
          The agent capabilities registered by this session, mapping each sysORID to its associated agentXCapsIndex.
        • agentXVersion
          int agentXVersion
          The AgentX protocol version negotiated for this session.
        • descr
          org.snmp4j.smi.OctetString descr
          The description of the sub-agent of this session (sysDescr).
        • oid
          org.snmp4j.smi.OID oid
          The OID identifying the sub-agent of this session (sysObjectID).
        • queue
          AgentXQueue queue
          The AgentX request queue of this master agent.
    • Class org.snmp4j.agent.agentx.master.AgentXPendingClose

      class AgentXPendingClose extends AbstractAgentXPending<A extends org.snmp4j.smi.Address> implements Serializable
      serialVersionUID:
      6969612307657156605L
      • Serialized Fields

        • pendingPDU
          AgentXClosePDU pendingPDU
          The close PDU that triggered this pending close request.
        • session
          AgentXMasterSession<A extends org.snmp4j.smi.Address> session
          The AgentX master session that is to be closed.
    • Class org.snmp4j.agent.agentx.master.AgentXPendingGet

      class AgentXPendingGet extends AbstractAgentXPending<A extends org.snmp4j.smi.Address> implements Serializable
      serialVersionUID:
      -8370197543450517767L
      • Serialized Fields

        • agentXRequestPDU
          AgentXPDU agentXRequestPDU
          The AgentX request PDU (Get, GetNext, or GetBulk) sent to the sub-agent.
        • nonRepeater
          short nonRepeater
          The number of non-repeater variable bindings for a GetBulk request.
        • oidFilter
          Function<org.snmp4j.smi.OID,Boolean> oidFilter
          Optional filter to remove objects returned by an AgentX sub-agent from the result of GetNext or GetBulk operations. Typically, this can be VACM filtering. Only if the provided function returns true, the retrieved OID will be returned to the command generator.
          Since:
          4.1.0
        • searchRanges
          List<AgentXSearchRange> searchRanges
          The search ranges of the request that are dispatched to the sub-agent.
    • Class org.snmp4j.agent.agentx.master.AgentXPendingSet

      class AgentXPendingSet extends AbstractAgentXPending<A extends org.snmp4j.smi.Address> implements Serializable
      serialVersionUID:
      6075492117112399140L
      • Serialized Fields

        • requestPDU
          AgentXPDU requestPDU
          The AgentX request PDU (TestSet, CommitSet, UndoSet, or CleanupSet) currently being processed.
        • session
          AgentXMasterSession<A extends org.snmp4j.smi.Address> session
          The AgentX master session over which the SET request is processed.
        • vbs
          List<org.snmp4j.agent.agentx.master.AgentXPendingSet.AgentXSetVB> vbs
          The variable bindings of the SET request to be sent to the sub-agent.
    • Class org.snmp4j.agent.agentx.master.AgentXQueue

      class AgentXQueue extends Object implements Serializable
      serialVersionUID:
      4177433540588469413L
      • Serialized Fields

        • queue
          LinkedList<org.snmp4j.agent.agentx.master.AgentXQueue.AgentXQueueEntry<?>> queue
          The ordered list of AgentX requests waiting to be processed.
    • Class org.snmp4j.agent.agentx.master.AgentXRegEntry

      class AgentXRegEntry extends Object implements Serializable
      serialVersionUID:
      7889656078544847560L
      • Serialized Fields

        • context
          org.snmp4j.smi.OctetString context
          The SNMPv3 context for which this region is registered.
        • id
          org.snmp4j.smi.OID id
          The index OID associated with this region entry.
        • priority
          int priority
          The priority of this registration (a lower value takes precedence).
        • region
          AgentXRegion region
          The MIB region covered by this registration.
        • session
          AgentXMasterSession<A extends org.snmp4j.smi.Address> session
          The master session that registered this region.
        • timeout
          int timeout
          The timeout in seconds for requests dispatched to this region.
    • Class org.snmp4j.agent.agentx.master.MasterContextInfo

      class MasterContextInfo extends Object implements Serializable
      serialVersionUID:
      1940496150873271394L
      • Serialized Fields

        • context
          org.snmp4j.smi.OctetString context
          The context this information is associated with.
        • upTime
          org.snmp4j.agent.mo.snmp.SysUpTime upTime
          The uptime of the context, derived from its sysUpTime object.
  • Package org.snmp4j.agent.agentx.subagent.index