TableUtils
, TreeUtils
public abstract class AbstractSnmpUtility
extends java.lang.Object
AbstractSnmpUtility
is an abstract base class for
convenience utility classes to retrieve SNMP data.Modifier and Type | Field | Description |
---|---|---|
protected PDUFactory |
pduFactory |
|
protected Session |
session |
Constructor | Description |
---|---|
AbstractSnmpUtility(Session snmpSession,
PDUFactory pduFactory) |
Creates a
AbstractSnmpUtility instance. |
protected Session session
protected PDUFactory pduFactory
public AbstractSnmpUtility(Session snmpSession, PDUFactory pduFactory)
AbstractSnmpUtility
instance. The created instance
is thread safe as long as the supplied Session
and
PDUFactory
are thread safe.snmpSession
- a SNMP Session
instance.pduFactory
- a PDUFactory
instance that creates the PDU that are used
by this instance.Copyright © 2018 SNMP4J.org. All rights reserved.