org.snmp4j.agent.agentx.master
Class AgentXMasterSession

java.lang.Object
  extended by org.snmp4j.agent.agentx.AgentXSession
      extended by org.snmp4j.agent.agentx.master.AgentXMasterSession
All Implemented Interfaces:
java.io.Serializable

public class AgentXMasterSession
extends AgentXSession

The AgentXMasterSession extends the base session AgentXSession by agent capability information and sysObjectID as well as sysDescr.

Version:
1.0
Author:
Frank Fock
See Also:
Serialized Form

Constructor Summary
AgentXMasterSession(int sessionID, AgentXQueue queue, org.snmp4j.smi.OID oid, org.snmp4j.smi.OctetString descr)
           
 
Method Summary
 void addAgentCaps(org.snmp4j.smi.OID sysORID, org.snmp4j.smi.OID agentCapsIndex)
           
 int getAgentXVersion()
           
 org.snmp4j.smi.OctetString getDescr()
           
 org.snmp4j.smi.OID getOid()
           
 AgentXQueue getQueue()
           
 org.snmp4j.smi.OID removeAgentCaps(org.snmp4j.smi.OID sysORID)
           
 void setAgentXVersion(int agentXVersion)
           
 
Methods inherited from class org.snmp4j.agent.agentx.AgentXSession
clearConsecutiveTimeouts, createAgentXTarget, equals, getAgentCaps, getByteOrder, getConsecutiveTimeouts, getPeer, getSessionID, getTimeout, hashCode, incConsecutiveTimeouts, isClosed, setAgentCaps, setByteOrder, setClosed, setPeer, setSessionID, setTimeout, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AgentXMasterSession

public AgentXMasterSession(int sessionID,
                           AgentXQueue queue,
                           org.snmp4j.smi.OID oid,
                           org.snmp4j.smi.OctetString descr)
Method Detail

getQueue

public AgentXQueue getQueue()

getOid

public org.snmp4j.smi.OID getOid()

getDescr

public org.snmp4j.smi.OctetString getDescr()

getAgentXVersion

public int getAgentXVersion()

setAgentXVersion

public void setAgentXVersion(int agentXVersion)

addAgentCaps

public void addAgentCaps(org.snmp4j.smi.OID sysORID,
                         org.snmp4j.smi.OID agentCapsIndex)

removeAgentCaps

public org.snmp4j.smi.OID removeAgentCaps(org.snmp4j.smi.OID sysORID)

Copyright 2005-2011 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.