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 TypeClassDescriptionclassAbstractTarget<A extends Address>AAbstractTargetclass is an abstract representation of a remote SNMP entity.classCertifiedTarget<A extends Address>TheCertifiedTargetclass implements aSecureTargetfor usage withSecurityModels that support secured connections using client and server certificates.classCommandResponderEvent<A extends Address>TheCommandResponderEventis fired by theMessageDispatcherto listeners that potentially can process the included request, report, or trap/notification.classCommunityTarget<A extends Address>ACommunityTargetrepresents SNMP target properties for community based message processing models (SNMPv1 and SNMPv2c).classDirectUserTarget<A extends Address>User-based target for SNMPv3 User-Based Security ModelUSMor later that includes any necessary authentication and privacy information, i.e., protocol references and localized keys.classSecureTarget<A extends Address>TheSecureTargetis an security model independent abstract class for all targets supporting secure SNMP communication.protected classSnmp.PendingRequest<A extends Address>interfaceATargetinterface defines an abstract representation of a remote SNMP entity.interfaceTransportMapping<A extends Address>TheTransportMappingdefines the common interface for SNMP transport mappings.classUserTarget<A extends Address>User-based target for SNMPv3 or later.Methods in org.snmp4j with type parameters of type AddressModifier and TypeMethodDescription<A extends Address>
byte[]Snmp.discoverAuthoritativeEngineID(A address, long timeout) Discovers the engine ID of the SNMPv3 entity denoted by the supplied address.protected <A extends Address>
voidMessageDispatcherImpl.dispatchMessage(TransportMapping<? super A> sourceTransport, MessageProcessingModel mp, A incomingAddress, BERInputStream wholeMessage, TransportStateReference tmStateReference) Actually decodes and dispatches an incoming SNMP message using the supplied message processing model.<A extends Address>
ResponseEvent<A> Sends a GET request to a target.<A extends Address>
voidSnmp.get(PDU pdu, Target<A> target, Object userHandle, ResponseListener listener) Asynchronously sends a GET requestPDUto the given target.<A extends Address>
ResponseEvent<A> Sends a GETBULK request to a target.<A extends Address>
voidSnmp.getBulk(PDU pdu, Target<A> target, Object userHandle, ResponseListener listener) Asynchronously sends a GETBULK requestPDUto the given target.<A extends Address>
ResponseEvent<A> Sends a GETNEXT request to a target.<A extends Address>
voidSnmp.getNext(PDU pdu, Target<A> target, Object userHandle, ResponseListener listener) Asynchronously sends a GETNEXT requestPDUto the given target.<A extends Address>
TransportMapping<? super A> MessageDispatcher.getTransport(A destAddress) Deprecated.<A extends Address>
TransportMapping<? super A> MessageDispatcher.getTransport(A destAddress, TransportType transportType) Returns a transport mapping that can handle the supplied address.<A extends Address>
TransportMapping<? super A> MessageDispatcherImpl.getTransport(A destAddress) Deprecated.UseMessageDispatcherImpl.getTransport(Address, TransportType)instead to make sure that the returned mapping supports the intended SNMP application type usage (i.e.<A extends Address>
TransportMapping<? super A> MessageDispatcherImpl.getTransport(A destAddress, TransportType transportType) Returns a transport mapping that can handle the supplied address.<A extends Address>
ResponseEvent<A> Sends an INFORM request to a target.<A extends Address>
voidSnmp.inform(PDU pdu, Target<A> target, Object userHandle, ResponseListener listener) Asynchronously sends an INFORM requestPDUto the given target.protected <A extends Address>
TransportMapping<? super A> Snmp.lookupTransportMapping(Target<A> target) <A extends Address>
voidMessageDispatcher.processMessage(TransportMapping<? super A> sourceTransport, A incomingAddress, ByteBuffer wholeMessage, TransportStateReference tmStateReference) Process an incoming SNMP message.<A extends Address>
voidMessageDispatcherImpl.processMessage(TransportMapping<? super A> sourceTransport, A incomingAddress, ByteBuffer wholeMessage, TransportStateReference tmStateReference) <A extends Address>
voidMessageDispatcherImpl.processMessage(TransportMapping<? super A> sourceTransport, A incomingAddress, BERInputStream wholeMessage, TransportStateReference tmStateReference) <A extends Address>
voidCommandResponder.processPdu(CommandResponderEvent<A> event) Process an incoming request, report or notification PDU.<A extends Address>
voidSnmp.NotificationDispatcher.processPdu(CommandResponderEvent<A> event) <A extends Address>
voidSnmp.processPdu(CommandResponderEvent<A> event) Process an incoming request or notification PDU.<A extends Address>
voidSnmp.ReportHandler.processReport(PduHandle pduHandle, CommandResponderEvent<A> event) protected <A extends Address>
booleanSnmp.resendRequest(Snmp.PendingRequest<A> request, PDU response) <A extends Address>
intMessageDispatcher.returnResponsePdu(int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, int maxSizeResponseScopedPDU, StateReference<A> stateReference, StatusInformation statusInformation) Returns a response PDU to the sender of the corresponding request PDU.<A extends Address>
intMessageDispatcherImpl.returnResponsePdu(int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, int maxSizeResponseScopedPDU, StateReference<A> stateReference, StatusInformation statusInformation) <A extends Address>
ResponseEvent<A> Sends aPDUto the given target and returns the received responsePDU.<A extends Address>
voidSession.send(PDU pdu, Target<A> target, Object userHandle, ResponseListener listener) Asynchronously sends aPDUto the given target.<A extends Address>
ResponseEvent<A> Session.send(PDU pdu, Target<A> target, TransportMapping<? super A> transport) Sends aPDUto the given target and returns the received responsePDUencapsulated in aResponseEventobject that also includes: the transport address of the response sending peer, theTargetinformation of the target, the requestPDU, the responsePDU(if any).<A extends Address>
voidSession.send(PDU pdu, Target<A> target, TransportMapping<? super A> transport, Object userHandle, ResponseListener listener) Asynchronously sends aPDUto the given target.<A extends Address>
ResponseEvent<A> Sends the specified protocol data unit (PDU) to the given target address and returns the response event associated with the operation.<A extends Address>
voidSnmp.send(PDU pdu, Target<A> target, Object userHandle, ResponseListener listener) <A extends Address>
ResponseEvent<A> Snmp.send(PDU pdu, Target<A> target, TransportMapping<? super A> transport) Sends aPDUto the given target and if thePDUis a confirmed request, then the received response is returned synchronously.<A extends Address>
voidSnmp.send(PDU pdu, Target<A> target, TransportMapping<? super A> transport, Object userHandle, ResponseListener listener) protected <A extends Address>
voidMessageDispatcherImpl.sendMessage(TransportMapping<? super A> transport, A destAddress, byte[] message, TransportStateReference tmStateReference, long timeoutMillis, int maxRetries) Sends a message using theTransportMappingthat has been assigned for the supplied address type.Snmp.sendMessage(PDU pdu, Target<A> target, TransportMapping<? super A> transport, PduHandleCallback<PDU> pduHandleCallback) Actually sends a PDU to a target and returns a handle for the sent PDU.Sends a PDU to the supplied transport address.MessageDispatcher.sendPdu(TransportMapping<? super A> transportMapping, Target<A> target, PDU pdu, boolean expectResponse) Sends a PDU to the supplied transport address.MessageDispatcher.sendPdu(TransportMapping<? super A> transportMapping, Target<A> target, PDU pdu, boolean expectResponse, PduHandleCallback<PDU> callback) Sends a PDU to the supplied transport address and returns thePduHandlethat uniquely identifies the request as response after the request has been sent and optional, if aPduHandleCallbackis given, it returns also thePduHandlejust before the request is sent through the the callback interface.MessageDispatcherImpl.sendPdu(TransportMapping<? super A> transportMapping, Target<A> target, PDU pdu, boolean expectResponse) MessageDispatcherImpl.sendPdu(TransportMapping<? super A> transport, Target<A> target, PDU pdu, boolean expectResponse, PduHandleCallback<PDU> pduHandleCallback) <A extends Address>
ResponseEvent<A> Sends a SET request to a target.Methods in org.snmp4j that return AddressMethods in org.snmp4j that return types with arguments of type AddressModifier and TypeMethodDescriptionTransportMapping.getSupportedAddressClass()Gets the primaryAddressclass that is supported by this transport mapping.TransportMapping.getSupportedAddressClasses()Return allAddressclasses supported by this transport mapping.Collection<TransportMapping<? extends Address>> MessageDispatcher.getTransportMappings()Gets theCollectionof transport mappings in this message dispatcher.Collection<TransportMapping<? extends Address>> MessageDispatcherImpl.getTransportMappings()Gets a collection of all registered transport mappings.TransportMapping<? extends Address> MessageDispatcher.removeTransportMapping(TransportMapping<? extends Address> transport) Removes a previously addedTransportMappingfrom the dispatcher.TransportMapping<? extends Address> MessageDispatcherImpl.removeTransportMapping(TransportMapping<?> transport) Removes a 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.voidSnmp.NotificationDispatcher.addNotificationListener(Address listenAddress, TransportMapping<?> transport, CommandResponder listener) protected voidMessageDispatcherImpl.checkOutgoingMsg(Address transportAddress, int messageProcessingModel, PDU pdu) Checks outgoing messages for consistency between PDU and target used.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.Snmp.NotificationDispatcher.getTransportMapping(Address listenAddress) protected voidSnmp.handleInternalResponse(PDU response, PDU pdu, Address target) default booleanTransportMapping.isAddressSupported(Address addressType) Checks if the provided address can be used with this transport mapping.default booleanTransportMapping.isAddressSupported(Address addressType, boolean exactMatch) Checks if the provided address can be used with this transport mapping.Snmp.removeCachedContextEngineId(Address target) Remove a cached RFC 5343 context engine ID for the specified address and return it.booleanSnmp.NotificationDispatcher.removeNotificationListener(Address listenAddress) booleanSnmp.removeNotificationListener(Address listenAddress) Removes (deletes) the notification listener for the specified transport endpoint.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.TransportMapping<? extends Address> 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.Constructors in org.snmp4j with parameters of type AddressModifierConstructorDescriptionTransportStateReference(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, Target<?> target) 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 protocols for dispatching. -
Uses of Address in org.snmp4j.event
Classes in org.snmp4j.event with type parameters of type AddressModifier and TypeClassDescriptionclassAuthenticationFailureEvent<A extends Address>TheAuthenticationFailureEventclass describes the source and type of an authentication failure as well as the message that caused the error.classResponseEvent<A extends Address>ResponseEventassociates a request PDU with the corresponding response and an optional user object.Methods in org.snmp4j.event with type parameters of type AddressModifier and TypeMethodDescription<A extends Address>
voidAuthenticationFailureListener.authenticationFailure(AuthenticationFailureEvent<A> event) Informs about an authentication failure occurred while processing the message contained in the supplied event object.default <A extends Address>
ResponseEvent<A> ResponseEventFactory.createResponseEvent(Object source, A peerAddress, PDU request, PDU response, Object userObject, long durationNanos, Exception error) Creates anResponseEventinstance with an exception object indicating a message processing error.<A extends Address>
voidResponseListener.onResponse(ResponseEvent<A> event) Process a SNMP response.Methods in org.snmp4j.event that return AddressModifier and TypeMethodDescriptionSnmpEngineEvent.getEngineAddress()Returns the transport address of the engine.Constructors in org.snmp4j.event with parameters of type AddressModifierConstructorDescriptionSnmpEngineEvent(MPv3 source, int type, OctetString engineID, Address engineAddress) -
Uses of Address in org.snmp4j.fluent
Classes in org.snmp4j.fluent with type parameters of type AddressModifier and TypeClassDescriptionclassTargetBuilder<A extends Address>TheTargetBuilderclass creates SNMPTargetinstances using a fluent flow.Fields in org.snmp4j.fluent declared as AddressMethods in org.snmp4j.fluent with type parameters of type AddressModifier and TypeMethodDescriptionstatic <A extends Address>
TargetBuilder<A> TargetBuilder.forAddress(SnmpBuilder snmpBuilder, A address) Creates aTargetBuilderfrom a givenSnmpBuilderwhich is used to discover authoritative engine ID and to get the security protocols to derive keys from passwords.<A extends Address>
voidSnmpCompletableFuture.onResponse(ResponseEvent<A> event) static <A extends Address>
SnmpCompletableFuture<A extends Address>
TargetBuilder<A> SnmpBuilder.target(A address) Creates aTargetBuilderfor the specified targetAddress. -
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.classMutableStateReference<A extends Address>TheMutableStateReferenceencapsulates aStateReferencefor read/write access.classStateReference<A extends Address>TheStateReferenceclass represents state information associated with SNMP messages.Methods in org.snmp4j.mp with type parameters of type AddressModifier and TypeMethodDescription<A extends Address>
intMessageProcessingModel.prepareDataElements(MessageDispatcher messageDispatcher, A transportAddress, BERInputStream wholeMsg, TransportStateReference tmStateReference, Integer32 messageProcessingModel, Integer32 securityModel, OctetString securityName, Integer32 securityLevel, MutablePDU pdu, PduHandle sendPduHandle, Integer32 maxSizeResponseScopedPDU, StatusInformation statusInformation, MutableStateReference<A> mutableStateReference) Prepare data elements from an incoming SNMP message as described in RFC3412 ยง7.2.<A extends Address>
intMPv1.prepareDataElements(MessageDispatcher messageDispatcher, A transportAddress, BERInputStream wholeMsg, TransportStateReference tmStateReference, Integer32 messageProcessingModel, Integer32 securityModel, OctetString securityName, Integer32 securityLevel, MutablePDU pdu, PduHandle sendPduHandle, Integer32 maxSizeResponseScopedPDU, StatusInformation statusInformation, MutableStateReference<A> mutableStateReference) <A extends Address>
intMPv2c.prepareDataElements(MessageDispatcher messageDispatcher, A transportAddress, BERInputStream wholeMsg, TransportStateReference tmStateReference, Integer32 messageProcessingModel, Integer32 securityModel, OctetString securityName, Integer32 securityLevel, MutablePDU pdu, PduHandle sendPduHandle, Integer32 maxSizeResponseScopedPDU, StatusInformation statusInformation, MutableStateReference<A> mutableStateReference) <A extends Address>
intMPv3.prepareDataElements(MessageDispatcher messageDispatcher, A transportAddress, BERInputStream wholeMsg, TransportStateReference tmStateReference, Integer32 messageProcessingModel, Integer32 securityModel, OctetString securityName, Integer32 securityLevel, MutablePDU pdu, PduHandle sendPduHandle, Integer32 maxSizeResponseScopedPDU, StatusInformation statusInformation, MutableStateReference<A> mutableStateReference) <A extends Address>
intMPv3.prepareDataElements(MPv3ScopedPDUExtractor scopedPDUExtractor, MessageDispatcher messageDispatcher, A transportAddress, BERInputStream wholeMsg, TransportStateReference tmStateReference, Integer32 messageProcessingModel, Integer32 securityModel, OctetString securityName, Integer32 securityLevel, MutablePDU pdu, PduHandle sendPduHandle, Integer32 maxSizeResponseScopedPDU, StatusInformation statusInformation, MutableStateReference<A> mutableStateReference) Prepare data elements from an incoming SNMP message as described in RFC3412 ยง7.2.<A extends Address>
intMessageProcessingModel.prepareOutgoingMessage(A transportAddress, int maxMsgSize, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, boolean expectResponse, PduHandle sendPduHandle, BEROutputStream outgoingMessage, TransportStateReference tmStateReference) Prepares an outgoing message as defined in RFC3412 ยง7.1.<A extends Address>
intMPv1.prepareOutgoingMessage(A transportAddress, int maxMessageSize, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, boolean expectResponse, PduHandle sendPduHandle, BEROutputStream outgoingMessage, TransportStateReference tmStateReference) <A extends Address>
intMPv2c.prepareOutgoingMessage(A transportAddress, int maxMessageSize, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, boolean expectResponse, PduHandle sendPduHandle, BEROutputStream outgoingMessage, TransportStateReference tmStateReference) <A extends Address>
intMPv3.prepareOutgoingMessage(A transportAddress, int maxMessageSize, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, boolean expectResponse, PduHandle sendPduHandle, BEROutputStream outgoingMessage, TransportStateReference tmStateReference) <A extends Address>
intMessageProcessingModel.prepareResponseMessage(int messageProcessingModel, int maxMsgSize, int securityModel, byte[] securityName, int securityLevel, PDU pdu, int maxSizeResponseScopedPDU, StateReference<A> stateReference, StatusInformation statusInformation, BEROutputStream outgoingMessage) Prepares a response message as defined in RFC3412 ยง7.1.<A extends Address>
intMPv1.prepareResponseMessage(int messageProcessingModel, int maxMessageSize, int securityModel, byte[] securityName, int securityLevel, PDU pdu, int maxSizeResponseScopedPDU, StateReference<A> stateReference, StatusInformation statusInformation, BEROutputStream outgoingMessage) <A extends Address>
intMPv2c.prepareResponseMessage(int messageProcessingModel, int maxMessageSize, int securityModel, byte[] securityName, int securityLevel, PDU pdu, int maxSizeResponseScopedPDU, StateReference<A> stateReference, StatusInformation statusInformation, BEROutputStream outgoingMessage) <A extends Address>
intMPv3.prepareResponseMessage(int messageProcessingModel, int maxMessageSize, int securityModel, byte[] securityName, int securityLevel, PDU pdu, int maxSizeResponseScopedPDU, StateReference<A> stateReference, StatusInformation statusInformation, BEROutputStream outgoingMessage) MPv3.validatePreparedPDU(OctetString securityName, Integer32 securityLevel, ScopedPDU scopedPdu, MPv3.HeaderData header, OctetString securityEngineID, SecurityModel secModel, StateReference<A> stateReference, SecurityStateReference secStateReference, PduHandle sendPduHandle, MutableStateReference<A> mutableStateReference, StatusInformation statusInformation) Validates the prepared PDU (Protocol Data Unit) for conformance to SNMPv3 message processing.MPv3ScopedPDUExtractor.validatePreparedPDU(OctetString securityName, Integer32 securityLevel, ScopedPDU scopedPdu, MPv3.HeaderData header, OctetString securityEngineID, SecurityModel secModel, StateReference<A> stateReference, SecurityStateReference secStateReference, PduHandle sendPduHandle, MutableStateReference<A> mutableStateReference, StatusInformation statusInformation) Validates the prepared PDU (Protocol Data Unit) for conformance to SNMPv3 message processing.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.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 TypeClassDescriptionclassTheTlsAddressrepresents a TLS transport address as defined by RFC 5953 SnmpTSLAddress textual convention.classTheGenericAddressimplements 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.classTheTcpAddressrepresents TCP/IP transport addresses.classTheTlsAddressrepresents a TLS 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 AddressGenericAddress.newLocalAddress(String transportDomainPrefix) Creates a new instance of the specified address type string (seeGenericAddress.TYPE_UDPfor example) using its default constructor which creates an address usable as local address of an communication endpoint.static Addressstatic 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.transport
Classes in org.snmp4j.transport with type parameters of type AddressModifier and TypeClassDescriptionclassAbstractConnectionOrientedTransportMapping<A extends Address, S extends AbstractSocketEntry<A>>TheAbstractConnectionOrientedTransportMappingimplements generic functions for a connection oriented transport mapping for server and client connections.classAbstractServerSocket<A extends Address>TheAbstractServerSocketinterface provides methods to manage the sockets of a connection oriented transport mapping listening for incoming requests.classAbstractSocketEntry<A extends Address>TheAbstractSocketEntryextends theAbstractServerSocketand implements a genericAddresstoSocketChannelmapping to be used byTransportMapping.classAbstractTransportMapping<A extends Address>TheAbstractTransportMappingprovides an abstract implementation for the message dispatcher list and the maximum inbound message size.classAbstractTransportServerThread<A extends Address, S extends AbstractSocketEntry<A>>TheAbstractTransportServerThreadis aWorkerTaskthat serves server connections using Java NIO forConnectionOrientedTransportMappings.interfaceConnectionOrientedTransportMapping<A extends Address>Transport mappings for connection oriented transport protocols have to implement this interface.classSocketTimeout<A extends Address>TheSocketTimeoutis aTimerTaskthat provides means to detect when a socket is not used for predefined time and then close the socket and free its resources.Fields in org.snmp4j.transport declared as AddressMethods in org.snmp4j.transport with type parameters of type AddressModifier and TypeMethodDescription<A extends Address>
TransportMapping<A> TransportMappings.createTransportMapping(A transportAddress) Returns aTransportMappinginstance that is initialized with the supplied transport address.<A extends Address>
voidTransportListener.processMessage(TransportMapping<? super A> sourceTransport, A incomingAddress, ByteBuffer wholeMessage, TransportStateReference tmStateReference) Processes an incoming message.<A extends Address>
voidTransportMappings.registerTransportMapping(Class<? extends TransportMapping<A>> transportMappingClass, Class<A> addressClass) Register a transport mapping to be recognised by thisTransportMappingssingleton.<A extends Address>
Class<? extends TransportMapping<?>> TransportMappings.unregisterTransportMapping(Class<A> addressClass) Unregister an address class from the corresponding transport mapping.Methods in org.snmp4j.transport that return AddressMethods in org.snmp4j.transport that return types with arguments of type AddressModifier and TypeMethodDescriptionUnsupportedAddressClassException.getAddressClass()Returns the class of the address class that is not supported.AbstractTransportMapping.getSupportedAddressClass()DTLSTM.getSupportedAddressClass()DummyTransport.DummyTransportResponder.getSupportedAddressClass()DummyTransport.getSupportedAddressClass()TcpTransportMapping.getSupportedAddressClass()TLSTM.getSupportedAddressClass()UdpTransportMapping.getSupportedAddressClass()DTLSTM.getSupportedAddressClasses()Returns a set ofDtlsAddressandUdpAddress.Constructors in org.snmp4j.transport with parameters of type AddressModifierConstructorDescriptionTransportStateEvent(AbstractTransportMapping<?> source, Address peerAddress, int newState, IOException causingException) TransportStateEvent(AbstractTransportMapping<?> source, Address peerAddress, int newState, IOException causingException, List<byte[]> discardedMessages) Constructor parameters in org.snmp4j.transport with type arguments of type AddressModifierConstructorDescriptionUnsupportedAddressClassException(String message, Class<? extends Address> addressClass) -
Uses of Address in org.snmp4j.transport.tls
Classes in org.snmp4j.transport.tls with type parameters of type AddressModifier and TypeClassDescriptionclassTlsX509CertifiedTarget<A extends Address>TheTlsCertifiedTargetextends theCertifiedTargetclass by means to provide aTlsTmSecurityCallbackreference directly with the target as needed according to RFC 6353 ยง5.3.1 when establishing a connection based on the SNMP-TARGET-MIB as client.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. -
Uses of Address in org.snmp4j.uri
Classes in org.snmp4j.uri with type parameters of type Address -
Uses of Address in org.snmp4j.util
Methods in org.snmp4j.util with type parameters of type AddressModifier and TypeMethodDescriptionprotected <A extends Address>
booleanTableUtils.TableRequest.checkResponse(ResponseEvent<A> event) <A extends Address>
ResponseEvent<A> TableUtils.createRow(Target<A> target, OID rowStatusColumnOID, OID rowIndex, VariableBinding[] values) Creates an SNMP table row for a table that supports the RowStatus mechanism for row creation.<A extends Address>
ResponseEvent<A> TableUtils.destroyRow(Target<A> target, OID rowStatusColumnOID, OID rowIndex) Destroys an SNMP table row from a table that support the RowStatus mechanism for row creation/deletion.<A extends Address>
TransportMapping<? super A> MultiThreadedMessageDispatcher.getTransport(A destAddress) Deprecated.<A extends Address>
TransportMapping<? super A> MultiThreadedMessageDispatcher.getTransport(A destAddress, TransportType transportType) <A extends Address>
voidTableUtils.DenseTableRequest.onResponse(ResponseEvent<A> event) <A extends Address>
voidTableUtils.TableRequest.onResponse(ResponseEvent<A> event) <A extends Address>
voidMultiThreadedMessageDispatcher.processMessage(TransportMapping<? super A> sourceTransport, A incomingAddress, ByteBuffer wholeMessage, TransportStateReference tmStateReference) <A extends Address>
intMultiThreadedMessageDispatcher.returnResponsePdu(int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, int maxSizeResponseScopedPDU, StateReference<A> stateReference, StatusInformation statusInformation) MultiThreadedMessageDispatcher.sendPdu(TransportMapping<? super A> transportMapping, Target<A> target, PDU pdu, boolean expectResponse) MultiThreadedMessageDispatcher.sendPdu(TransportMapping<? super A> transportMapping, Target<A> target, PDU pdu, boolean expectResponse, PduHandleCallback<PDU> callback) Methods in org.snmp4j.util that return AddressModifier and TypeMethodDescriptionSnmpConfigurator.getBindAddress(Map<String, List<Object>> settings) Methods in org.snmp4j.util that return types with arguments of type AddressModifier and TypeMethodDescriptionCollection<TransportMapping<? extends Address>> MultiThreadedMessageDispatcher.getTransportMappings()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)
MessageDispatcher.getTransport(Address, TransportType)instead to make sure that the returned mapping supports the intended SNMP application type usage (i.e.