Package org.snmp4j.model.snmp.spi
Interface SnmpProxyFactory<T,C extends SnmpProxyColumn<T>,IC extends SnmpProxyIndexColumn<T>,IT,R extends SnmpProxyRow<IT,T>>
- Type Parameters:
T
- the value representation (base) type, i.e.String
if you use aVariableBindingMapper
that providesString
instances for all Snmp types.IC
- the index proxy column type for the table proxy.C
- the proxy column type for the table proxy.IT
- the model value type for index columns.R
- the proxy row type for the rows of the table.
- All Known Implementing Classes:
DefaultSnmpProxyFactory
public interface SnmpProxyFactory<T,C extends SnmpProxyColumn<T>,IC extends SnmpProxyIndexColumn<T>,IT,R extends SnmpProxyRow<IT,T>>
The
SnmpProxyFactory
creates SnmpProxyObject
s.- Version:
- 1.0
- Author:
- Frank Fock
-
Method Summary
Modifier and TypeMethodDescriptioncreateSnmpScalar
(org.snmp4j.smi.OID oid, org.snmp4j.smi.OctetString context, SnmpProxyCommitter snmpProxyCommitter, T value, Class<T> valueClass, int snmpSyntax) createSnmpTable
(org.snmp4j.smi.OID oid, org.snmp4j.smi.OctetString context, SnmpProxyCommitter snmpProxyCommitter, SnmpProxyRowFactory<R, IT, T> rowFactory, List<IC> indexColumnList, List<C> columnList, int pageSize)
-
Method Details
-
createSnmpScalar
SnmpScalar<T> createSnmpScalar(org.snmp4j.smi.OID oid, org.snmp4j.smi.OctetString context, SnmpProxyCommitter snmpProxyCommitter, T value, Class<T> valueClass, int snmpSyntax) -
createSnmpTable
-