Uses of Interface
org.snmp4j.smi.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
Modifier and TypeClassDescriptionclass
AbstractTarget<A extends Address>
AAbstractTarget
class is an abstract representation of a remote SNMP entity.class
CertifiedTarget<A extends Address>
TheCertifiedTarget
class implements aSecureTarget
for usage withSecurityModel
s that support secured connections using client and server certificates.class
CommandResponderEvent<A extends Address>
TheCommandResponderEvent
is fired by theMessageDispatcher
to listeners that potentially can process the included request, report, or trap/notification.class
CommunityTarget<A extends Address>
ACommunityTarget
represents SNMP target properties for community based message processing models (SNMPv1 and SNMPv2c).class
DirectUserTarget<A extends Address>
User based target for SNMPv3 User Based Security ModelUSM
or later that includes any necessary authentication and privacy information, i.e.class
SecureTarget<A extends Address>
TheSecureTarget
is an security model independent abstract class for all targets supporting secure SNMP communication.protected class
Snmp.PendingRequest<A extends Address>
interface
ATarget
interface defines an abstract representation of a remote SNMP entity.interface
TransportMapping<A extends Address>
TheTransportMapping
defines the common interface for SNMP transport mappings.class
UserTarget<A extends Address>
User based target for SNMPv3 or later.Modifier 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 requestPDU
to 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 requestPDU
to 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 requestPDU
to 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 requestPDU
to 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 aPDU
to the given target and returns the received responsePDU
.<A extends Address>
voidSession.send
(PDU pdu, Target<A> target, Object userHandle, ResponseListener listener) Asynchronously sends aPDU
to the given target.<A extends Address>
ResponseEvent<A> Session.send
(PDU pdu, Target<A> target, TransportMapping<? super A> transport) Sends aPDU
to the given target and returns the received responsePDU
encapsulated in aResponseEvent
object that also includes: the transport address of the response sending peer, theTarget
information 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 aPDU
to 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 aPDU
to the given target and if thePDU
is 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 theTransportMapping
that 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 thePduHandle
that uniquely identifies the request as response after the request has been sent and optional, if aPduHandleCallback
is given, it returns also thePduHandle
just 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.Modifier and TypeMethodDescriptionTransportMapping.getSupportedAddressClass()
Gets the primaryAddress
class that is supported by this transport mapping.TransportMapping.getSupportedAddressClasses()
Return allAddress
classes supported by this transport mapping.Collection
<TransportMapping<? extends Address>> MessageDispatcher.getTransportMappings()
Gets theCollection
of 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 addedTransportMapping
from the dispatcher.TransportMapping
<? extends Address> MessageDispatcherImpl.removeTransportMapping
(TransportMapping<?> transport) Removes a transport mapping.Modifier and TypeMethodDescriptionboolean
Snmp.addNotificationListener
(Address listenAddress, CommandResponder listener) Adds a notification listener to this Snmp instance.boolean
Snmp.addNotificationListener
(TransportMapping<?> transportMapping, Address listenAddress, CommandResponder listener) Adds a notification listener to this Snmp instance.void
Snmp.NotificationDispatcher.addNotificationListener
(Address listenAddress, TransportMapping<?> transport, CommandResponder listener) protected void
MessageDispatcherImpl.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 void
Snmp.handleInternalResponse
(PDU response, PDU pdu, Address target) default boolean
TransportMapping.isAddressSupported
(Address addressType) Checks if the provided address can be used with this transport mapping.default boolean
TransportMapping.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.boolean
Snmp.NotificationDispatcher.removeNotificationListener
(Address listenAddress) boolean
Snmp.removeNotificationListener
(Address listenAddress) Removes (deletes) the notification listener for the specified transport endpoint.Modifier and TypeMethodDescriptionvoid
MessageDispatcher.addTransportMapping
(TransportMapping<? extends Address> transport) Adds aTransportMapping
to the dispatcher.void
Snmp.addTransportMapping
(TransportMapping<? extends Address> transportMapping) Adds aTransportMapping
to this SNMP session.TransportMapping
<? extends Address> MessageDispatcher.removeTransportMapping
(TransportMapping<? extends Address> transport) Removes a previously addedTransportMapping
from the dispatcher.void
Snmp.removeTransportMapping
(TransportMapping<? extends Address> transportMapping) Removes the specified transport mapping from this SNMP session.ModifierConstructorDescriptionTransportStateReference
(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) ModifierConstructorDescriptionSnmp
(MessageDispatcher messageDispatcher, TransportMapping<? extends Address> transportMapping) Creates aSnmp
instance by supplying aMessageDispatcher
and aTransportMapping
.Snmp
(TransportMapping<? extends Address> transportMapping) Creates aSnmp
instance that uses aMessageDispatcherImpl
with all supported message processing models and the default security protocols for dispatching. -
Uses of Address in org.snmp4j.event
Modifier and TypeClassDescriptionclass
AuthenticationFailureEvent<A extends Address>
TheAuthenticationFailureEvent
class describes the source and type of an authentication failure as well as the message that caused the error.class
ResponseEvent<A extends Address>
ResponseEvent
associates a request PDU with the corresponding response and an optional user object.Modifier 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 anResponseEvent
instance with an exception object indicating a message processing error.<A extends Address>
voidResponseListener.onResponse
(ResponseEvent<A> event) Process a SNMP response.Modifier and TypeMethodDescriptionSnmpEngineEvent.getEngineAddress()
Returns the transport address of the engine.ModifierConstructorDescriptionSnmpEngineEvent
(MPv3 source, int type, OctetString engineID, Address engineAddress) -
Uses of Address in org.snmp4j.fluent
Modifier and TypeClassDescriptionclass
TargetBuilder<A extends Address>
TheTargetBuilder
class creates SNMPTarget
instances using a fluent flow.Modifier and TypeMethodDescriptionstatic <A extends Address>
TargetBuilder<A> TargetBuilder.forAddress
(SnmpBuilder snmpBuilder, A address) Creates aTargetBuilder
from a givenSnmpBuilder
which is used to discover authoritative engine ID and to get the security protocols to derive keys from passwords.<A extends Address>
voidSnmpCompletableFuture.onResponse
(ResponseEvent<A> event) static <A extends Address>
SnmpCompletableFuture<A extends Address>
TargetBuilder<A> SnmpBuilder.target
(A address) Creates aTargetBuilder
for the specified targetAddress
. -
Uses of Address in org.snmp4j.mp
Modifier and TypeClassDescriptionprotected static class
MPv3.CacheEntry<A extends Address>
TheCacheEntry
class holds state reference information for the MPv3 message processing model for a single message.class
MutableStateReference<A extends Address>
TheMutableStateReference
encapsulates aStateReference
for read/write access.class
StateReference<A extends Address>
TheStateReference
class represents state information associated with SNMP messages.Modifier 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) Modifier and TypeMethodDescriptionMPv3.EngineIdCacheFactory.createEngineIdMap
(EngineIdCacheSize maximumCapacity) Create a engine ID map with the given maximum capacity.Modifier and TypeMethodDescriptionboolean
MPv3.addEngineID
(Address address, OctetString engineID) Adds an engine ID (other than the local engine ID) to the internal storage.protected OctetString
MPv3.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
-
Uses of Address in org.snmp4j.smi
Modifier and TypeClassDescriptionclass
TheTlsAddress
represents a TLS transport addresses as defined by RFC 5953 SnmpTSLAddress textual convention.class
TheGenericAddress
implements the decorator and factory design pattern to provide a generic address type.class
TheIpAddress
class represents an IPv4 address SNMP variable.class
ASMIAddress
is 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.class
TheTcpAddress
represents TCP/IP transport addresses.class
TheTlsAddress
represents a TLS transport addresses as defined by RFC 5953 SnmpTSLAddress textual convention.class
TheTransportIpAddress
is the abstract base class for all transport addresses on top of IP network addresses.class
TheUdpAddress
represents UDP/IP transport addresses.Modifier and TypeMethodDescriptionGenericAddress.getAddress()
static Address
GenericAddress.newLocalAddress
(String transportDomainPrefix) Creates a new instance of the specified address type string (seeGenericAddress.TYPE_UDP
for example) using its default constructor which creates an address usable as local address of an communication endpoint.static Address
static Address
Parses a given transport protocol dependent address string into anAddress
instance that is subsumed by thisGenericAddress
object.static Address
Parses an IP address string and returns the correspondingIpAddress
instance.static Address
static Address
static Address
static Address
Modifier and TypeMethodDescriptionstatic String
GenericAddress.getTDomainPrefix
(Class<? extends Address> addressClass) Gets the transport domain prefix string (lowercase) for a suppliedAddress
class. -
Uses of Address in org.snmp4j.transport
Modifier and TypeClassDescriptionclass
AbstractConnectionOrientedTransportMapping<A extends Address,
S extends AbstractSocketEntry<A>> TheAbstractConnectionOrientedTransportMapping
implements generic functions for a connection oriented transport mapping for server and client connections.class
AbstractServerSocket<A extends Address>
TheAbstractServerSocket
interface provides methods to manage the sockets of a connection oriented transport mapping listening for incoming requests.class
AbstractSocketEntry<A extends Address>
TheAbstractSocketEntry
extends theAbstractServerSocket
and implements a genericAddress
toSocketChannel
mapping to be used byTransportMapping
.class
AbstractTransportMapping<A extends Address>
TheAbstractTransportMapping
provides an abstract implementation for the message dispatcher list and the maximum inbound message size.class
AbstractTransportServerThread<A extends Address,
S extends AbstractSocketEntry<A>> TheAbstractTransportServerThread
is aWorkerTask
that serves server connections using Java NIO forConnectionOrientedTransportMapping
s.interface
ConnectionOrientedTransportMapping<A extends Address>
Transport mappings for connection oriented transport protocols have to implement this interface.class
SocketTimeout<A extends Address>
TheSocketTimeout
is aTimerTask
that provides means to detect when a socket is not used for predefined time and then close the socket and free its resources.Modifier and TypeMethodDescription<A extends Address>
TransportMapping<A> TransportMappings.createTransportMapping
(A transportAddress) Returns aTransportMapping
instance 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 thisTransportMappings
singleton.<A extends Address>
Class<? extends TransportMapping<?>> TransportMappings.unregisterTransportMapping
(Class<A> addressClass) Unregister an address class from the corresponding transport mapping.Modifier 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 ofDtlsAddress
andUdpAddress
.ModifierConstructorDescriptionTransportStateEvent
(AbstractTransportMapping<?> source, Address peerAddress, int newState, IOException causingException) TransportStateEvent
(AbstractTransportMapping<?> source, Address peerAddress, int newState, IOException causingException, List<byte[]> discardedMessages) ModifierConstructorDescriptionUnsupportedAddressClassException
(String message, Class<? extends Address> addressClass) -
Uses of Address in org.snmp4j.transport.tls
Modifier and TypeClassDescriptionclass
TlsX509CertifiedTarget<A extends Address>
TheTlsCertifiedTarget
extends theCertifiedTarget
class by means to provide aTlsTmSecurityCallback
reference 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.Modifier and TypeMethodDescriptionvoid
DefaultTlsTmSecurityCallback.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
-
Uses of Address in org.snmp4j.util
Modifier 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) Modifier and TypeMethodDescriptionSnmpConfigurator.getBindAddress
(Map<String, List<Object>> settings) Modifier and TypeMethodDescriptionCollection
<TransportMapping<? extends Address>> MultiThreadedMessageDispatcher.getTransportMappings()
Modifier and TypeMethodDescriptionvoid
MultiThreadedMessageDispatcher.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.