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.classSecureTarget<A extends Address>TheSecureTargetis an security model independent abstract class for all targets supporting secure SNMP communication.(package private) classSnmp.AsyncPendingRequest<A extends Address>protected classSnmp.PendingRequest<A extends Address>(package private) static classSnmp.SyncResponseListener<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.Fields in org.snmp4j declared as AddressModifier and TypeFieldDescriptionprivate AAbstractTarget.addressprivate AddressTransportStateReference.addressprivate ACommandResponderEvent.peerAddressFields in org.snmp4j with type parameters of type AddressModifier and TypeFieldDescriptionprivate Map<Address, OctetString> Snmp.contextEngineIDsprivate Hashtable<Address, TransportMapping<?>> Snmp.NotificationDispatcher.notificationListenersprivate final Map<Class<?>, List<TransportMapping<? extends Address>>> MessageDispatcherImpl.receiverTransportMappingsprivate final Map<Class<?>, List<TransportMapping<? extends Address>>> MessageDispatcherImpl.senderTransportMappingsMethods in org.snmp4j with type parameters of type AddressModifier and TypeMethodDescriptionprotected <A extends Address>
VariableBindingSnmp.ReportProcessor.checkReport(CommandResponderEvent<A> e, PDU pdu, Snmp.PendingRequest<A> request) <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) <AA extends Address>
voidSnmp.SyncResponseListener.onResponse(ResponseEvent<AA> event) <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) <A extends Address>
voidSnmp.ReportProcessor.processReport(PduHandle handle, CommandResponderEvent<A> e) 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> <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.private <A extends Address>
ResponseEvent<A> Snmp.send(PDU pdu, Target<A> target, TransportMapping<? super A> transport, int maxRequestStatus) <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.private Map<Class<?>, List<TransportMapping<? extends Address>>> MessageDispatcherImpl.getTransportMappings(TransportType transportType) 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) private static voidMessageDispatcherImpl.checkListening4ConfirmedPDU(PDU pdu, Address target, TransportMapping<?> transport) protected voidMessageDispatcherImpl.checkOutgoingMsg(Address transportAddress, int messageProcessingModel, PDU pdu) Checks outgoing messages for consistency between PDU and target used.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.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.private voidMessageDispatcherImpl.addTransportMapping(TransportMapping<?> transport, Class<? extends Address> supportedAddressClass, TransportType transportType) 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.private booleanMessageDispatcherImpl.removeTransportMapping(TransportMapping<?> transport, Class<? extends Address> supportedAddressClass, TransportType transportType) 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 protols 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.Fields in org.snmp4j.event declared as AddressModifier and TypeFieldDescriptionprivate AAuthenticationFailureEvent.addressprivate AddressSnmpEngineEvent.engineAddressprivate AResponseEvent.peerAddressMethods 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.<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 AddressFields 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) <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.Fields in org.snmp4j.mp declared as AddressFields in org.snmp4j.mp with type parameters of type AddressMethods 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>
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) 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.MPv3.LimitedCapacityEngineIdCacheFactory.createEngineIdMap(EngineIdCacheSize cacheSize) 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 addresses 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.Fields in org.snmp4j.smi with type parameters of type AddressMethods in org.snmp4j.smi that return AddressModifier and TypeMethodDescriptionGenericAddress.getAddress()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.tools.console
Methods in org.snmp4j.tools.console with type parameters of type AddressModifier and TypeMethodDescription<A extends Address>
voidSnmpCommand.processMessage(TransportMapping<? super A> sourceTransport, A incomingAddress, ByteBuffer wholeMessage, TransportStateReference tmStateReference) <A extends Address>
voidSnmpCommand.SnmpCommandMessageDispatcher.processMessage(TransportMapping<? super A> sourceTransport, A incomingAddress, ByteBuffer wholeMessage, TransportStateReference tmStateReference) <A extends Address>
voidSnmpCommand.processPdu(CommandResponderEvent<A> e) protected <A extends Address>
voidSnmpCommand.SnmpCommandMessageDispatcher.sendMessage(TransportMapping<? super A> transport, A destAddress, byte[] message, TransportStateReference tmStateReference, long timeoutMillis, int maxRetries) private <A extends Address>
voidLogControl.setLevel(Snmp snmp, Target<A> target, PDUFactory pduFactory) private <A extends Address>
voidLogControl.verifyLoggerModification(Snmp snmp, Target<A> target, PDU pdu, OID levelOID, String logger, OID loggerIndex, String newLevel, ResponseEvent<A> response) Methods in org.snmp4j.tools.console that return AddressModifier and TypeMethodDescriptionprivate static AddressSnmpCommand.getAddress(String transportAddress) Methods in org.snmp4j.tools.console with parameters of type AddressModifier and TypeMethodDescriptionvoidSnmpCommand.processMessage(TransportMapping<?> sourceTransport, Address destAddress, byte[] message) -
Uses of Address in org.snmp4j.transport
Classes in org.snmp4j.transport with type parameters of type AddressModifier and TypeClassDescriptionclassAbstractServerSocket<A extends Address>TheAbstractServerSocketinterface provides methods to manage the sockets of a connection oriented transport mapping listening for incoming requests.classAbstractTransportMapping<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.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 AddressModifier and TypeFieldDescriptionprivate AAbstractServerSocket.peerAddressprivate AddressTransportStateEvent.peerAddressprivate AddressDummyTransport.MessageContainer.sourceAddressFields in org.snmp4j.transport with type parameters of type AddressModifier and TypeFieldDescriptionUnsupportedAddressClassException.addressClassTcpTransportMapping.socketsMethods 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.Methods in org.snmp4j.transport that return AddressModifier and TypeMethodDescriptionTransportStateEvent.getPeerAddress()DummyTransport.MessageContainer.getSourceAddress()Methods 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.Methods in org.snmp4j.transport with parameters of type AddressModifier and TypeMethodDescriptionprotected voidAbstractTcpServerThread.connectSocketToSendMessage(Address address, byte[] message, Socket s, S entry, Map<Address, S> sockets) voidDefaultTcpTransportMapping.ServerThread.sendMessage(Address address, byte[] message, TransportStateReference tmStateReference) voidTLSTM.ServerThread.sendMessage(Address address, byte[] message, TransportStateReference tmStateReference) Method parameters in org.snmp4j.transport with type arguments of type AddressModifier and TypeMethodDescriptionprotected voidTcpTransportMapping.closeSockets(Map<Address, S> sockets) protected voidAbstractTcpServerThread.connectSocketToSendMessage(Address address, byte[] message, Socket s, S entry, Map<Address, S> sockets) Constructors in org.snmp4j.transport with parameters of type AddressModifierConstructorDescriptionMessageContainer(Address sourceAddress, OctetString payload) TransportStateEvent(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.Fields in org.snmp4j.transport.tls with type parameters of type AddressMethods 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 AddressModifier and TypeClassDescriptionclassTheSnmpURIclass provides a SNMP service based on the SNMP URI as defined by RFC 4088.Methods in org.snmp4j.uri with type parameters of type AddressModifier and TypeMethodDescription<A extends Address>
voidSnmpURI.AsyncResponseListener.onResponse(ResponseEvent<A> event) -
Uses of Address in org.snmp4j.util
Classes in org.snmp4j.util with type parameters of type AddressModifier and TypeClassDescription(package private) classFields in org.snmp4j.util declared as AddressModifier and TypeFieldDescriptionprivate final AMultiThreadedMessageDispatcher.MessageTask.incomingAddressMethods 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 a 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 a 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) <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>
voidTreeUtils.TreeRequest.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.