T
- the value representation (base) type, i.e. String
if you use a
VariableBindingMapper
that provides String
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.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>
DefaultSnmpProxyRegistry
implements a SnmpProxyFactory
for the proxy objects defined in the org.snmp4j.proxy.impl
package.Constructor | Description |
---|---|
DefaultSnmpProxyFactory() |
Modifier and Type | Method | Description |
---|---|---|
SnmpScalar<T> |
createSnmpScalar(org.snmp4j.smi.OID oid,
org.snmp4j.smi.OctetString context,
SnmpProxyCommitter snmpProxyCommitter,
T value,
Class<T> valueClass,
int snmpSyntax) |
|
SnmpTable<C,IC,IT,T,R> |
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) |
public SnmpScalar<T> createSnmpScalar(org.snmp4j.smi.OID oid, org.snmp4j.smi.OctetString context, SnmpProxyCommitter snmpProxyCommitter, T value, Class<T> valueClass, int snmpSyntax)
createSnmpScalar
in interface SnmpProxyFactory<T,C extends SnmpProxyColumn<T>,IC extends SnmpProxyIndexColumn<T>,IT,R extends SnmpProxyRow<IT,T>>
public SnmpTable<C,IC,IT,T,R> 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)
createSnmpTable
in interface SnmpProxyFactory<T,C extends SnmpProxyColumn<T>,IC extends SnmpProxyIndexColumn<T>,IT,R extends SnmpProxyRow<IT,T>>
Copyright © 2020 SNMP4J.org. All rights reserved.