Uses of Class
org.snmp4j.fluent.SnmpBuilder
Packages that use SnmpBuilder
-
Uses of SnmpBuilder in org.snmp4j.fluent
Fields in org.snmp4j.fluent declared as SnmpBuilderMethods in org.snmp4j.fluent that return SnmpBuilderModifier and TypeMethodDescriptionSnmpBuilder.counterSupport
(CounterSupport counterSupport) Sets theCounterSupport
withSnmp.setCounterSupport(CounterSupport)
when building theSnmp
instance usingbuild()
.SnmpBuilder.dtls()
SnmpBuilder.dtls
(TlsTmSecurityCallback<X509Certificate> securityCallback, String[] dtlsProtocolVersions, DtlsAddress... listenAddresses) SnmpBuilder.dtls
(TlsTmSecurityCallback<X509Certificate> securityCallback, DtlsAddress... listenAddresses) SnmpBuilder.securityProtocols
(SecurityProtocols.SecurityProtocolSet securityProtocolSet) Specifies which predefined set ofSecurityProtocols
should be available forSnmp
session to be built.SnmpBuilder.tcp()
Add aDefaultTcpTransportMapping
in client mode with an arbitrary local address amd port.SnmpBuilder.tcp
(TcpAddress... listenAddresses) Add theDefaultTcpTransportMapping
server mode TCP transport mappings for the specified listen addresses to theSnmp
instance to be built.SnmpBuilder.threads
(int numThreads) Configures theMultiThreadedMessageDispatcher
as message dispatcher and thereby defines the number of threads in itsThreadPool
.SnmpBuilder.tls()
SnmpBuilder.tls
(TlsTmSecurityCallback<X509Certificate> securityCallback, String[] tlsProtocolVersions, TlsAddress... listenAddresses) SnmpBuilder.tls
(TlsTmSecurityCallback<X509Certificate> securityCallback, TlsAddress... listenAddresses) SnmpBuilder.tsm
(EngineIdProvider engineIdProvider, OctetString defaultLocalEngineID, boolean usePrefix) Creates a Transport Security Model as defined by RFC 5591 and adds it to the builtSnmp
instance.SnmpBuilder.tsm
(OctetString localEngineID, boolean usePrefix) Creates a Transport Security Model as defined by RFC 5591 and adds it to the builtSnmp
instance.SnmpBuilder.udp()
Adds a UDP transport mapping (DefaultUdpTransportMapping
) with an operating system chosen local port on all local IP addresses.SnmpBuilder.udp
(UdpAddress... listenAddresses) Adds a set of UDP transport mappings (DefaultUdpTransportMapping
) with the specified local listen addressesSnmpBuilder.usm()
Creates a USM for the specified engine ID and engine boots counter derived from the SNMP engine ID provider given byv3(EngineIdProvider, OctetString)
.SnmpBuilder.usm
(SnmpEngineIdProvider snmpEngineIdProvider, OctetString defaultLocalEngineID) Creates a USM using the specifiedSnmpEngineIdProvider
.SnmpBuilder.usm
(OctetString localEngineID, int engineBoots) Creates a USM for the specified engine ID and engine boots counter.SnmpBuilder.v1()
Adds theMPv1
security model toSnmp.getMessageDispatcher()
.SnmpBuilder.v2c()
Adds aMPv2c
security model toSnmp.getMessageDispatcher()
.SnmpBuilder.v3()
Adds aMPv3
with a randomly created local engine IDSnmp.getMessageDispatcher()
ifusm(SnmpEngineIdProvider, OctetString)
ortsm(EngineIdProvider, OctetString, boolean)
have not been called yet to set anEngineIdProvider
.SnmpBuilder.v3
(byte[] localEngineID) Sets the local engine ID for thisSnmpBuilder
and creates the message processing model 3 (MPv3
) by assigning theSecurityModels
andSecurityProtocols
configured by calls tousm(SnmpEngineIdProvider, OctetString)
andtsm(EngineIdProvider, OctetString, boolean)
for example as well assecurityProtocols(SecurityProtocols.SecurityProtocolSet)
.SnmpBuilder.v3
(EngineIdProvider engineIdProvider, OctetString id) Adds aMPv3
message processing model with a random engine ID based on the supplied ID string.SnmpBuilder.v3
(OctetString id) Adds aMPv3
message processing model with a random engine ID based on the supplied ID string.Methods in org.snmp4j.fluent with parameters of type SnmpBuilderModifier and TypeMethodDescriptionstatic <A extends Address>
TargetBuilder<A>TargetBuilder.forAddress
(SnmpBuilder snmpBuilder, A address) Creates aTargetBuilder
from a givenSnmpBuilder
which is used to discover authoritative engine ID and to get the security protocols to derive keys from passwords.Constructors in org.snmp4j.fluent with parameters of type SnmpBuilderModifierConstructorDescriptionTargetBuilder
(SnmpBuilder snmpBuilder) Creates aTargetBuilder
from a givenSnmpBuilder
which is used to discover authoritative engine ID and to get the security protocols to derive keys from passwords.protected
TargetBuilder
(SnmpBuilder snmpBuilder, A address)