Uses of Interface
org.snmp4j.smi.Address
Packages that use Address
Package
Description
Provides classes and interfaces for creating, sending, and receiving SNMP
messages.
Provides classes and interfaces for SNMP4J event processing.
Provides classes and interfaces for the SNMP message processing.
Provides classes and interfaces for authentication and privacy of SNMP(v3)
messages.
Provides classes for the representation of SMIv1/v2 data types (which also
includes some basic ASN.1 primitive data types).
Provides transport protocol mappings for SNMP.
Contains table retrieval utilities and multi-threading support classes as
well as miscellaneous utility classes.
-
Uses of Address in org.snmp4j
Classes in org.snmp4j with type parameters of type AddressModifier and TypeInterfaceDescriptioninterfaceTransportMapping<A extends Address>TheTransportMappingdefines the common interface for SNMP transport mappings.Methods in org.snmp4j that return AddressModifier and TypeMethodDescriptionAbstractTarget.getAddress()Gets the address of this target.Target.getAddress()Gets the address of this target.TransportStateReference.getAddress()CommandResponderEvent.getPeerAddress()Gets the transport address of the sending entity.Methods in org.snmp4j that return types with arguments of type AddressModifier and TypeMethodDescriptionList<TransportMapping<? extends Address>>AbstractTarget.getPreferredTransports()List<TransportMapping<? extends Address>>Target.getPreferredTransports()Gets the prioritised list of transport mappings to be used for this target.TransportMapping.getSupportedAddressClass()Gets theAddressclass that is supported by this transport mapping.Methods in org.snmp4j with parameters of type AddressModifier and TypeMethodDescriptionbooleanSnmp.addNotificationListener(Address listenAddress, CommandResponder listener) Adds a notification listener to this Snmp instance.booleanSnmp.addNotificationListener(TransportMapping transportMapping, Address listenAddress, CommandResponder listener) Adds a notification listener to this Snmp instance.protected voidMessageDispatcherImpl.checkOutgoingMsg(Address transportAddress, int messageProcessingModel, PDU pdu) Checks outgoing messages for consistency between PDU and target used.byte[]Snmp.discoverAuthoritativeEngineID(Address address, long timeout) Discovers the engine ID of the SNMPv3 entity denoted by the supplied address.protected voidMessageDispatcherImpl.dispatchMessage(TransportMapping sourceTransport, MessageProcessingModel mp, Address incomingAddress, BERInputStream wholeMessage, TransportStateReference tmStateReference) Actually decodes and dispatches an incoming SNMP message using the supplied message processing model.Snmp.getCachedContextEngineId(Address targetAddress) Get a cached RFC 5343 context engine ID for the specified address.Snmp.getNotificationListenerTM(Address listenAddress) Gets the transport mapping registered for the specified listen address.MessageDispatcher.getTransport(Address destAddress) Returns a transport mapping that can handle the supplied address.MessageDispatcherImpl.getTransport(Address destAddress) Returns a transport mapping that can handle the supplied address.protected voidSnmp.handleInternalResponse(PDU response, PDU pdu, Address target) voidMessageDispatcher.processMessage(TransportMapping sourceTransport, Address incomingAddress, ByteBuffer wholeMessage, TransportStateReference tmStateReference) Process an incoming SNMP message.voidMessageDispatcherImpl.processMessage(TransportMapping sourceTransport, Address incomingAddress, ByteBuffer wholeMessage, TransportStateReference tmStateReference) voidMessageDispatcherImpl.processMessage(TransportMapping sourceTransport, Address incomingAddress, BERInputStream wholeMessage, TransportStateReference tmStateReference) Snmp.removeCachedContextEngineId(Address target) Remove a cached RFC 5343 context engine ID for the specified address and return it.booleanSnmp.removeNotificationListener(Address listenAddress) Removes (deletes) the notification listener for the specified transport endpoint.protected voidMessageDispatcherImpl.sendMessage(TransportMapping transport, Address destAddress, byte[] message, TransportStateReference tmStateReference) Sends a message using theTransportMappingthat has been assigned for the supplied address type.voidAbstractTarget.setAddress(Address address) Sets the address of the target.voidTarget.setAddress(Address address) Sets the address of the target.voidCommandResponderEvent.setPeerAddress(Address peerAddress) Sets the transport address of the sending entity.Method parameters in org.snmp4j with type arguments of type AddressModifier and TypeMethodDescriptionvoidMessageDispatcher.addTransportMapping(TransportMapping<? extends Address> transport) Adds aTransportMappingto the dispatcher.voidSnmp.addTransportMapping(TransportMapping<? extends Address> transportMapping) Adds aTransportMappingto this SNMP session.MessageDispatcher.removeTransportMapping(TransportMapping<? extends Address> transport) Removes a previously addedTransportMappingfrom the dispatcher.voidSnmp.removeTransportMapping(TransportMapping<? extends Address> transportMapping) Removes the specified transport mapping from this SNMP session.voidAbstractTarget.setPreferredTransports(List<TransportMapping<? extends Address>> preferredTransports) Sets the prioritised list of transport mappings to be used for this target.Constructors in org.snmp4j with parameters of type AddressModifierConstructorDescriptionprotectedAbstractTarget(Address address) Creates a SNMPv3 target with no retries and a timeout of one second.protectedAbstractTarget(Address address, OctetString securityName) CertifiedTarget(Address address, OctetString identity, OctetString serverFingerprint, OctetString clientFingerprint) CommandResponderEvent(MessageDispatcher messageDispatcher, TransportMapping transportMapping, Address sourceAddress, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PduHandle pduHandle, PDU pdu, int maxSizeResponseScopedPDU, StateReference stateReference) Constructs an event for processing an incoming request or notification PDU.CommunityTarget(Address address, OctetString community) Creates a fully specified community target.protectedSecureTarget(Address address, OctetString securityName) Creates a SNMPv3 secure target with an address and security name.TransportStateReference(TransportMapping transport, Address address, OctetString securityName, SecurityLevel requestedSecurityLevel, SecurityLevel transportSecurityLevel, boolean sameSecurity, Object sessionID) TransportStateReference(TransportMapping transport, Address address, OctetString securityName, SecurityLevel requestedSecurityLevel, SecurityLevel transportSecurityLevel, boolean sameSecurity, Object sessionID, CertifiedIdentity certifiedIdentity) UserTarget(Address address, OctetString securityName, byte[] authoritativeEngineID) Creates a SNMPv3 USM target with security level noAuthNoPriv, one second time-out without retries.UserTarget(Address address, OctetString securityName, byte[] authoritativeEngineID, int securityLevel) Creates a SNMPv3 USM target with the supplied security level, one second time-out without retries.Constructor parameters in org.snmp4j with type arguments of type AddressModifierConstructorDescriptionSnmp(MessageDispatcher messageDispatcher, TransportMapping<? extends Address> transportMapping) Creates aSnmpinstance by supplying aMessageDispatcherand aTransportMapping.Snmp(TransportMapping<? extends Address> transportMapping) Creates aSnmpinstance that uses aMessageDispatcherImplwith all supported message processing models and the default security protols for dispatching. -
Uses of Address in org.snmp4j.event
Methods in org.snmp4j.event that return AddressModifier and TypeMethodDescriptionAuthenticationFailureEvent.getAddress()Returns the source address from which the message has been received.SnmpEngineEvent.getEngineAddress()Returns the transport address of the engine.ResponseEvent.getPeerAddress()Gets the transport address of the response sender.Methods in org.snmp4j.event with parameters of type AddressModifier and TypeMethodDescriptionprotected final voidResponseEvent.setPeerAddress(Address peerAddress) Constructors in org.snmp4j.event with parameters of type AddressModifierConstructorDescriptionAuthenticationFailureEvent(TransportListener source, Address sourceAddress, TransportMapping transport, int error, BERInputStream message) Creates an authentication failure event.Creates anResponseEventinstance.ResponseEvent(Object source, Address peerAddress, PDU request, PDU response, Object userObject, Exception error) Creates anResponseEventinstance with an exception object indicating a message processing error.SnmpEngineEvent(MPv3 source, int type, OctetString engineID, Address engineAddress) -
Uses of Address in org.snmp4j.mp
Classes in org.snmp4j.mp with type parameters of type AddressModifier and TypeClassDescriptionprotected static classMPv3.CacheEntry<A extends Address>TheCacheEntryclass holds state reference information for the MPv3 message processing model for a single message.classStateReference<A extends Address>TheStateReferenceclass represents state information associated with SNMP messages.Methods in org.snmp4j.mp that return types with arguments of type AddressModifier and TypeMethodDescriptionMPv3.EngineIdCacheFactory.createEngineIdMap(EngineIdCacheSize maximumCapacity) Create a engine ID map with the given maximum capacity.Methods in org.snmp4j.mp with parameters of type AddressModifier and TypeMethodDescriptionbooleanMPv3.addEngineID(Address address, OctetString engineID) Adds an engine ID (other than the local engine ID) to the internal storage.protected OctetStringMPv3.addEngineIdToCache(Address address, OctetString engineID) Put the engine ID for the given address into the internal cache.MPv3.getEngineID(Address address) Gets the engine ID associated with the supplied address from the local storage and fires the correspondingSnmpEngineEvent.intMessageProcessingModel.prepareDataElements(MessageDispatcher messageDispatcher, Address transportAddress, BERInputStream wholeMsg, TransportStateReference tmStateReference, Integer32 messageProcessingModel, Integer32 securityModel, OctetString securityName, Integer32 securityLevel, MutablePDU pdu, PduHandle sendPduHandle, Integer32 maxSizeResponseScopedPDU, StatusInformation statusInformation, MutableStateReference mutableStateReference) Prepare data elements from an incoming SNMP message as described in RFC3412 §7.2.intMPv1.prepareDataElements(MessageDispatcher messageDispatcher, Address transportAddress, BERInputStream wholeMsg, TransportStateReference tmStateReference, Integer32 messageProcessingModel, Integer32 securityModel, OctetString securityName, Integer32 securityLevel, MutablePDU pdu, PduHandle sendPduHandle, Integer32 maxSizeResponseScopedPDU, StatusInformation statusInformation, MutableStateReference mutableStateReference) intMPv2c.prepareDataElements(MessageDispatcher messageDispatcher, Address transportAddress, BERInputStream wholeMsg, TransportStateReference tmStateReference, Integer32 messageProcessingModel, Integer32 securityModel, OctetString securityName, Integer32 securityLevel, MutablePDU pdu, PduHandle sendPduHandle, Integer32 maxSizeResponseScopedPDU, StatusInformation statusInformation, MutableStateReference mutableStateReference) intMPv3.prepareDataElements(MessageDispatcher messageDispatcher, Address transportAddress, BERInputStream wholeMsg, TransportStateReference tmStateReference, Integer32 messageProcessingModel, Integer32 securityModel, OctetString securityName, Integer32 securityLevel, MutablePDU pdu, PduHandle sendPduHandle, Integer32 maxSizeResponseScopedPDU, StatusInformation statusInformation, MutableStateReference mutableStateReference) intMessageProcessingModel.prepareOutgoingMessage(Address transportAddress, int maxMsgSize, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, boolean expectResponse, PduHandle sendPduHandle, Address destTransportAddress, BEROutputStream outgoingMessage, TransportStateReference tmStateReference) Prepares an outgoing message as defined in RFC3412 §7.1.intMPv1.prepareOutgoingMessage(Address transportAddress, int maxMessageSize, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, boolean expectResponse, PduHandle sendPduHandle, Address destTransportAddress, BEROutputStream outgoingMessage, TransportStateReference tmStateReference) intMPv2c.prepareOutgoingMessage(Address transportAddress, int maxMessageSize, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, boolean expectResponse, PduHandle sendPduHandle, Address destTransportAddress, BEROutputStream outgoingMessage, TransportStateReference tmStateReference) intMPv3.prepareOutgoingMessage(Address transportAddress, int maxMessageSize, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, boolean expectResponse, PduHandle sendPduHandle, Address destTransportAddress, BEROutputStream outgoingMessage, TransportStateReference tmStateReference) MPv3.removeEngineID(Address address) Removes an engine ID association from the local storage and fires the correspondingSnmpEngineEvent. -
Uses of Address in org.snmp4j.security
Methods in org.snmp4j.security with parameters of type Address -
Uses of Address in org.snmp4j.smi
Classes in org.snmp4j.smi that implement AddressModifier and TypeClassDescriptionclassTheGenericAddressimplements the decorator and factory design pattern to provide a generic address type.classTheIpAddressclass represents an IPv4 address SNMP variable.classASMIAddressis an address that is defined by the Structure of Management Information (SMI) and can be thereby serialized through the Basic Encoding Rules (BER) used by the SNMP protocol.classTheSshAddressrepresents a SSH transport addresses as defined by RFC 5592 SnmpSSHAddress textual convention.classTheTcpAddressrepresents TCP/IP transport addresses.classTheSshAddressrepresents a SSH transport addresses as defined by RFC 5953 SnmpTSLAddress textual convention.classTheTransportIpAddressis the abstract base class for all transport addresses on top of IP network addresses.classTheUdpAddressrepresents UDP/IP transport addresses.Methods in org.snmp4j.smi that return AddressModifier and TypeMethodDescriptionGenericAddress.getAddress()static AddressParses a given transport protocol dependent address string into anAddressinstance that is subsumed by thisGenericAddressobject.static AddressParses an IP address string and returns the correspondingIpAddressinstance.static Addressstatic Addressstatic Addressstatic AddressMethod parameters in org.snmp4j.smi with type arguments of type AddressModifier and TypeMethodDescriptionstatic StringGenericAddress.getTDomainPrefix(Class<? extends Address> addressClass) Gets the transport domain prefix string (lowercase) for a suppliedAddressclass. -
Uses of Address in org.snmp4j.tools.console
Methods in org.snmp4j.tools.console that return AddressMethods in org.snmp4j.tools.console with parameters of type Address -
Uses of Address in org.snmp4j.transport
Classes in org.snmp4j.transport with type parameters of type AddressModifier and TypeClassDescriptionclassAbstractTransportMapping<A extends Address>TheAbstractTransportMappingprovides an abstract implementation for the message dispatcher list and the maximum inbound message size.interfaceConnectionOrientedTransportMapping<A extends Address>Transport mappings for connection oriented transport protocols have to implement this interface.Fields in org.snmp4j.transport with type parameters of type AddressModifier and TypeFieldDescriptionDefaultTcpTransportMapping.socketsTcpTransportMapping.suspendedAddressesMethods in org.snmp4j.transport that return AddressMethods in org.snmp4j.transport that return types with arguments of type AddressModifier and TypeMethodDescriptionTransportMapping<? extends Address>TransportMappings.createTransportMapping(Address transportAddress) Returns aTransportMappinginstance that is initialized with the supplied transport address.AbstractTransportMapping.getSupportedAddressClass()DefaultSshTransportMapping.getSupportedAddressClass()DummyTransport.DummyTransportResponder.getSupportedAddressClass()DummyTransport.getSupportedAddressClass()TcpTransportMapping.getSupportedAddressClass()TLSTM.getSupportedAddressClass()UdpTransportMapping.getSupportedAddressClass()Methods in org.snmp4j.transport with parameters of type AddressModifier and TypeMethodDescriptionprotected voidDefaultTcpTransportMapping.ServerThread.connectSocketToSendMessage(Address address, byte[] message, SocketChannel socketChannel, org.snmp4j.transport.DefaultTcpTransportMapping.SocketEntry entry, Map<Address, org.snmp4j.transport.DefaultTcpTransportMapping.SocketEntry> sockets) TransportMapping<? extends Address>TransportMappings.createTransportMapping(Address transportAddress) Returns aTransportMappinginstance that is initialized with the supplied transport address.protected voidAbstractTransportMapping.fireProcessMessage(Address address, ByteBuffer buf, TransportStateReference tmStateReference) voidTransportListener.processMessage(TransportMapping sourceTransport, Address incomingAddress, ByteBuffer wholeMessage, TransportStateReference tmStateReference) Processes an incoming message.voidDefaultTcpTransportMapping.ServerThread.sendMessage(Address address, byte[] message, TransportStateReference tmStateReference) Method parameters in org.snmp4j.transport with type arguments of type AddressModifier and TypeMethodDescriptionprotected voidDefaultTcpTransportMapping.ServerThread.connectSocketToSendMessage(Address address, byte[] message, SocketChannel socketChannel, org.snmp4j.transport.DefaultTcpTransportMapping.SocketEntry entry, Map<Address, org.snmp4j.transport.DefaultTcpTransportMapping.SocketEntry> sockets) Constructors in org.snmp4j.transport with parameters of type AddressModifierConstructorDescriptionTransportStateEvent(TcpTransportMapping source, Address peerAddress, int newState, IOException causingException) TransportStateEvent(TcpTransportMapping source, Address peerAddress, int newState, IOException causingException, List<byte[]> discardedMessages) -
Uses of Address in org.snmp4j.transport.tls
Methods in org.snmp4j.transport.tls with parameters of type AddressModifier and TypeMethodDescriptionvoidDefaultTlsTmSecurityCallback.addLocalCertMapping(Address address, String certAlias) Map a target address to a local certificate alias.DefaultTlsTmSecurityCallback.getLocalCertificateAlias(Address targetAddress) PropertiesTlsTmSecurityCallback.getLocalCertificateAlias(Address targetAddress) TlsTmSecurityCallback.getLocalCertificateAlias(Address targetAddress) Gets the local certificate alias to be used for the supplied target address.TlsTmSecurityCallbackProxy.getLocalCertificateAlias(Address targetAddress) DefaultTlsTmSecurityCallback.removeLocalCertMapping(Address address) Remove the local certificate mapping for the given target address.Constructors in org.snmp4j.transport.tls with parameters of type AddressModifierConstructorDescriptionTlsX509CertifiedTarget(Address address, OctetString identity, OctetString serverFingerprint, OctetString clientFingerprint, TlsTmSecurityCallback<X509Certificate> tlsTmSecurityCallback) -
Uses of Address in org.snmp4j.util
Methods in org.snmp4j.util that return AddressModifier and TypeMethodDescriptionSnmpConfigurator.getBindAddress(Map<String, List<Object>> settings) Methods in org.snmp4j.util with parameters of type AddressModifier and TypeMethodDescriptionMultiThreadedMessageDispatcher.getTransport(Address destAddress) voidMultiThreadedMessageDispatcher.processMessage(TransportMapping sourceTransport, Address incomingAddress, ByteBuffer wholeMessage, TransportStateReference tmStateReference) Method parameters in org.snmp4j.util with type arguments of type AddressModifier and TypeMethodDescriptionvoidMultiThreadedMessageDispatcher.addTransportMapping(TransportMapping<? extends Address> transport) MultiThreadedMessageDispatcher.removeTransportMapping(TransportMapping<? extends Address> transport)