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 theCounterSupportwithSnmp.setCounterSupport(CounterSupport)when building theSnmpinstance 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 ofSecurityProtocolsshould be available forSnmpsession to be built.SnmpBuilder.tcp()Add aDefaultTcpTransportMappingin client mode with an arbitrary local address amd port.SnmpBuilder.tcp(TcpAddress... listenAddresses) Add theDefaultTcpTransportMappingserver mode TCP transport mappings for the specified listen addresses to theSnmpinstance to be built.SnmpBuilder.threads(int numThreads) Configures theMultiThreadedMessageDispatcheras 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 builtSnmpinstance.SnmpBuilder.tsm(OctetString localEngineID, boolean usePrefix) Creates a Transport Security Model as defined by RFC 5591 and adds it to the builtSnmpinstance.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 theMPv1security model toSnmp.getMessageDispatcher().SnmpBuilder.v2c()Adds aMPv2csecurity model toSnmp.getMessageDispatcher().SnmpBuilder.v3()Adds aMPv3with 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 thisSnmpBuilderand creates the message processing model 3 (MPv3) by assigning theSecurityModelsandSecurityProtocolsconfigured by calls tousm(SnmpEngineIdProvider, OctetString)andtsm(EngineIdProvider, OctetString, boolean)for example as well assecurityProtocols(SecurityProtocols.SecurityProtocolSet).SnmpBuilder.v3(EngineIdProvider engineIdProvider, OctetString id) Adds aMPv3message processing model with a random engine ID based on the supplied ID string.SnmpBuilder.v3(OctetString id) Adds aMPv3message 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) Constructors in org.snmp4j.fluent with parameters of type SnmpBuilderModifierConstructorDescriptionTargetBuilder(SnmpBuilder snmpBuilder) protectedTargetBuilder(SnmpBuilder snmpBuilder, A address)