Package org.snmp4j.model.snmp.api
Class DefaultSnmpProxyFactory<T,C extends SnmpProxyColumn<T>,IC extends SnmpProxyIndexColumn<T>,IT,R extends SnmpProxyRow<IT,T>>
java.lang.Object
org.snmp4j.model.snmp.api.DefaultSnmpProxyFactory<T,C,IC,IT,R>
- 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 Implemented Interfaces:
SnmpProxyFactory<T,
C, IC, IT, R>
public class DefaultSnmpProxyFactory<T,C extends SnmpProxyColumn<T>,IC extends SnmpProxyIndexColumn<T>,IT,R extends SnmpProxyRow<IT,T>>
extends Object
implements SnmpProxyFactory<T,C,IC,IT,R>
The
DefaultSnmpProxyRegistry
implements a SnmpProxyFactory
for the proxy objects defined in the org.snmp4j.proxy.impl
package.- Version:
- 1.0
- Author:
- Frank Fock
-
Constructor Summary
Constructors -
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> snmpIndexColumns, List<C> snmpColumns, int pageSize)
-
Constructor Details
-
DefaultSnmpProxyFactory
public DefaultSnmpProxyFactory()
-
-
Method Details
-
createSnmpScalar
public SnmpScalar<T> createSnmpScalar(org.snmp4j.smi.OID oid, org.snmp4j.smi.OctetString context, SnmpProxyCommitter snmpProxyCommitter, T value, Class<T> valueClass, int snmpSyntax) - Specified by:
createSnmpScalar
in interfaceSnmpProxyFactory<T,
C extends SnmpProxyColumn<T>, IC extends SnmpProxyIndexColumn<T>, IT, R extends SnmpProxyRow<IT, T>>
-
createSnmpTable
public SnmpTable<C,IC, createSnmpTableIT, T, R> (org.snmp4j.smi.OID oid, org.snmp4j.smi.OctetString context, SnmpProxyCommitter snmpProxyCommitter, SnmpProxyRowFactory<R, IT, T> rowFactory, List<IC> snmpIndexColumns, List<C> snmpColumns, int pageSize) - Specified by:
createSnmpTable
in interfaceSnmpProxyFactory<T,
C extends SnmpProxyColumn<T>, IC extends SnmpProxyIndexColumn<T>, IT, R extends SnmpProxyRow<IT, T>>
-