Uses of Interface
org.snmp4j.smi.Address
-
Packages that use Address Package Description org.snmp4j Provides classes and interfaces for creating, sending, and receiving SNMP messages.org.snmp4j.event Provides classes and interfaces for SNMP4J event processing.org.snmp4j.fluent org.snmp4j.mp Provides classes and interfaces for the SNMP message processing.org.snmp4j.security Provides classes and interfaces for authentication and privacy of SNMP(v3) messages.org.snmp4j.smi Provides classes for the representation of SMIv1/v2 data types (which also includes some basic ASN.1 primitive data types).org.snmp4j.tools.console org.snmp4j.transport Provides transport protocol mappings for SNMP.org.snmp4j.transport.tls org.snmp4j.uri org.snmp4j.util 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 Address Modifier and Type Class Description class
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.(package private) class
Snmp.AsyncPendingRequest<A extends Address>
protected class
Snmp.PendingRequest<A extends Address>
(package private) static class
Snmp.SyncResponseListener<A extends Address>
interface
Target<A extends Address>
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.Fields in org.snmp4j declared as Address Modifier and Type Field Description private A
AbstractTarget. address
private Address
TransportStateReference. address
private A
CommandResponderEvent. peerAddress
Fields in org.snmp4j with type parameters of type Address Modifier and Type Field Description private java.util.Map<Address,OctetString>
Snmp. contextEngineIDs
private java.util.Hashtable<Address,TransportMapping<?>>
Snmp.NotificationDispatcher. notificationListeners
private java.util.Map<java.lang.Class<?>,java.util.List<TransportMapping<? extends Address>>>
MessageDispatcherImpl. receiverTransportMappings
private java.util.Map<java.lang.Class<?>,java.util.List<TransportMapping<? extends Address>>>
MessageDispatcherImpl. senderTransportMappings
Methods in org.snmp4j with type parameters of type Address Modifier and Type Method Description protected <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>Snmp. get(PDU pdu, Target<A> target)
Sends a GET request to a target.<A extends Address>
voidSnmp. get(PDU pdu, Target<A> target, java.lang.Object userHandle, ResponseListener listener)
Asynchronously sends a GET requestPDU
to the given target.<A extends Address>
ResponseEvent<A>Snmp. getBulk(PDU pdu, Target<A> target)
Sends a GETBULK request to a target.<A extends Address>
voidSnmp. getBulk(PDU pdu, Target<A> target, java.lang.Object userHandle, ResponseListener listener)
Asynchronously sends a GETBULK requestPDU
to the given target.<A extends Address>
ResponseEvent<A>Snmp. getNext(PDU pdu, Target<A> target)
Sends a GETNEXT request to a target.<A extends Address>
voidSnmp. getNext(PDU pdu, Target<A> target, java.lang.Object userHandle, ResponseListener listener)
Asynchronously sends a GETNEXT requestPDU
to the given target.<A extends Address>
TransportMapping<? super A>MessageDispatcher. getTransport(A destAddress)
Deprecated.UseMessageDispatcher.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>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>Snmp. inform(PDU pdu, Target<A> target)
Sends an INFORM request to a target.<A extends Address>
voidSnmp. inform(PDU pdu, Target<A> target, java.lang.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)
<AA extends Address>
voidSnmp.SyncResponseListener. onResponse(ResponseEvent<AA> event)
<A extends Address>
voidMessageDispatcher. processMessage(TransportMapping<? super A> sourceTransport, A incomingAddress, java.nio.ByteBuffer wholeMessage, TransportStateReference tmStateReference)
Process an incoming SNMP message.<A extends Address>
voidMessageDispatcherImpl. processMessage(TransportMapping<? super A> sourceTransport, A incomingAddress, java.nio.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>Session. send(PDU pdu, Target<A> target)
Sends aPDU
to the given target and returns the received responsePDU
.<A extends Address>
voidSession. send(PDU pdu, Target<A> target, java.lang.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, java.lang.Object userHandle, ResponseListener listener)
Asynchronously sends aPDU
to the given target.<A extends Address>
ResponseEvent<A>Snmp. send(PDU pdu, Target<A> target)
<A extends Address>
voidSnmp. send(PDU pdu, Target<A> target, java.lang.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.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, java.lang.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.protected <A extends Address>
PduHandleSnmp. 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.<A extends Address>
PduHandleMessageDispatcher. sendPdu(Target<A> target, PDU pdu, boolean expectResponse)
Sends a PDU to the supplied transport address.<A extends Address>
PduHandleMessageDispatcher. sendPdu(TransportMapping<? super A> transportMapping, Target<A> target, PDU pdu, boolean expectResponse)
Sends a PDU to the supplied transport address.<A extends Address>
PduHandleMessageDispatcher. 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.<A extends Address>
PduHandleMessageDispatcherImpl. sendPdu(Target<A> target, PDU pdu, boolean expectResponse)
<A extends Address>
PduHandleMessageDispatcherImpl. sendPdu(TransportMapping<? super A> transportMapping, Target<A> target, PDU pdu, boolean expectResponse)
<A extends Address>
PduHandleMessageDispatcherImpl. sendPdu(TransportMapping<? super A> transport, Target<A> target, PDU pdu, boolean expectResponse, PduHandleCallback<PDU> pduHandleCallback)
<A extends Address>
ResponseEvent<A>Snmp. set(PDU pdu, Target<A> target)
Sends a SET request to a target.Methods in org.snmp4j that return Address Modifier and Type Method Description Address
TransportStateReference. getAddress()
Methods in org.snmp4j that return types with arguments of type Address Modifier and Type Method Description java.lang.Class<? extends Address>
TransportMapping. getSupportedAddressClass()
Gets the primaryAddress
class that is supported by this transport mapping.default java.util.Set<java.lang.Class<? extends Address>>
TransportMapping. getSupportedAddressClasses()
Return allAddress
classes supported by this transport mapping.java.util.Collection<TransportMapping<? extends Address>>
MessageDispatcher. getTransportMappings()
Gets theCollection
of transport mappings in this message dispatcher.java.util.Collection<TransportMapping<? extends Address>>
MessageDispatcherImpl. getTransportMappings()
Gets a collection of all registered transport mappings.private java.util.Map<java.lang.Class<?>,java.util.List<TransportMapping<? extends Address>>>
MessageDispatcherImpl. getTransportMappings(TransportType transportType)
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.Methods in org.snmp4j with parameters of type Address Modifier and Type Method Description boolean
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)
private static void
MessageDispatcherImpl. checkListening4ConfirmedPDU(PDU pdu, Address target, TransportMapping<?> transport)
protected void
MessageDispatcherImpl. checkOutgoingMsg(Address transportAddress, int messageProcessingModel, PDU pdu)
Checks outgoing messages for consistency between PDU and target used.TransportMapping<?>
Snmp. getNotificationListenerTM(Address listenAddress)
Gets the transport mapping registered for the specified listen address.TransportMapping<?>
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.boolean
Snmp.NotificationDispatcher. removeNotificationListener(Address listenAddress)
boolean
Snmp. removeNotificationListener(Address listenAddress)
Removes (deletes) the notification listener for the specified transport endpoint.Method parameters in org.snmp4j with type arguments of type Address Modifier and Type Method Description void
MessageDispatcher. addTransportMapping(TransportMapping<? extends Address> transport)
Adds aTransportMapping
to the dispatcher.private void
MessageDispatcherImpl. addTransportMapping(TransportMapping<?> transport, java.lang.Class<? extends Address> supportedAddressClass, TransportType transportType)
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.private boolean
MessageDispatcherImpl. removeTransportMapping(TransportMapping<?> transport, java.lang.Class<? extends Address> supportedAddressClass, TransportType transportType)
void
Snmp. removeTransportMapping(TransportMapping<? extends Address> transportMapping)
Removes the specified transport mapping from this SNMP session.Constructors in org.snmp4j with parameters of type Address Constructor Description TransportStateReference(TransportMapping<?> transport, Address address, OctetString securityName, SecurityLevel requestedSecurityLevel, SecurityLevel transportSecurityLevel, boolean sameSecurity, java.lang.Object sessionID)
TransportStateReference(TransportMapping<?> transport, Address address, OctetString securityName, SecurityLevel requestedSecurityLevel, SecurityLevel transportSecurityLevel, boolean sameSecurity, java.lang.Object sessionID, Target<?> target)
Constructor parameters in org.snmp4j with type arguments of type Address Constructor Description Snmp(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 protols for dispatching. -
Uses of Address in org.snmp4j.event
Classes in org.snmp4j.event with type parameters of type Address Modifier and Type Class Description class
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.Fields in org.snmp4j.event declared as Address Modifier and Type Field Description private A
AuthenticationFailureEvent. address
private Address
SnmpEngineEvent. engineAddress
private A
ResponseEvent. peerAddress
Methods in org.snmp4j.event with type parameters of type Address Modifier and Type Method Description <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 Address Modifier and Type Method Description Address
SnmpEngineEvent. getEngineAddress()
Returns the transport address of the engine.Constructors in org.snmp4j.event with parameters of type Address Constructor Description SnmpEngineEvent(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 Address Modifier and Type Class Description class
TargetBuilder<A extends Address>
Fields in org.snmp4j.fluent declared as Address Modifier and Type Field Description protected A
TargetBuilder. address
Methods in org.snmp4j.fluent with type parameters of type Address Modifier and Type Method Description static <A extends Address>
TargetBuilder<A>TargetBuilder. forAddress(SnmpBuilder snmpBuilder, A address)
<A extends Address>
voidSnmpCompletableFuture. onResponse(ResponseEvent<A> event)
static <A extends Address>
SnmpCompletableFutureSnmpCompletableFuture. send(Snmp snmp, Target<A> target, PDU pdu, java.lang.Object... userObjects)
<A extends Address>
TargetBuilder<A>SnmpBuilder. target(A address)
Creates aTargetBuilder
for the specified targetAddress
. -
Uses of Address in org.snmp4j.mp
Classes in org.snmp4j.mp with type parameters of type Address Modifier and Type Class Description protected 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.Fields in org.snmp4j.mp declared as Address Modifier and Type Field Description private A
StateReference. address
Fields in org.snmp4j.mp with type parameters of type Address Modifier and Type Field Description private java.util.Map<Address,OctetString>
MPv3. engineIDs
Methods in org.snmp4j.mp with type parameters of type Address Modifier and Type Method Description <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 Address Modifier and Type Method Description java.util.Map<Address,OctetString>
MPv3.EngineIdCacheFactory. createEngineIdMap(EngineIdCacheSize maximumCapacity)
Create a engine ID map with the given maximum capacity.java.util.Map<Address,OctetString>
MPv3.LimitedCapacityEngineIdCacheFactory. createEngineIdMap(EngineIdCacheSize cacheSize)
Methods in org.snmp4j.mp with parameters of type Address Modifier and Type Method Description boolean
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.OctetString
MPv3. getEngineID(Address address)
Gets the engine ID associated with the supplied address from the local storage and fires the correspondingSnmpEngineEvent
.OctetString
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 Modifier and Type Method Description protected java.lang.String
TSM. getTransportDomainPrefix(Address address)
-
Uses of Address in org.snmp4j.smi
Classes in org.snmp4j.smi that implement Address Modifier and Type Class Description class
DtlsAddress
TheTlsAddress
represents a TLS transport addresses as defined by RFC 5953 SnmpTSLAddress textual convention.class
GenericAddress
TheGenericAddress
implements the decorator and factory design pattern to provide a generic address type.class
IpAddress
TheIpAddress
class represents an IPv4 address SNMP variable.class
SMIAddress
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
TcpAddress
TheTcpAddress
represents TCP/IP transport addresses.class
TlsAddress
TheTlsAddress
represents a TLS transport addresses as defined by RFC 5953 SnmpTSLAddress textual convention.class
TransportIpAddress
TheTransportIpAddress
is the abstract base class for all transport addresses on top of IP network addresses.class
UdpAddress
TheUdpAddress
represents UDP/IP transport addresses.Fields in org.snmp4j.smi with type parameters of type Address Modifier and Type Field Description private static java.util.Map<java.lang.String,java.lang.Class<? extends Address>>
GenericAddress. knownAddressTypes
Methods in org.snmp4j.smi that return Address Modifier and Type Method Description Address
GenericAddress. getAddress()
static Address
DtlsAddress. parse(java.lang.String address)
static Address
GenericAddress. parse(java.lang.String address)
Parses a given transport protocol dependent address string into anAddress
instance that is subsumed by thisGenericAddress
object.static Address
IpAddress. parse(java.lang.String address)
Parses an IP address string and returns the correspondingIpAddress
instance.static Address
TcpAddress. parse(java.lang.String address)
static Address
TlsAddress. parse(java.lang.String address)
static Address
TransportIpAddress. parse(java.lang.String address)
static Address
UdpAddress. parse(java.lang.String address)
Method parameters in org.snmp4j.smi with type arguments of type Address Modifier and Type Method Description static java.lang.String
GenericAddress. getTDomainPrefix(java.lang.Class<? extends Address> addressClass)
Gets the transport domain prefix string (lowercase) for a suppliedAddress
class. -
Uses of Address in org.snmp4j.tools.console
Methods in org.snmp4j.tools.console with type parameters of type Address Modifier and Type Method Description <A extends Address>
voidSnmpCommand. processMessage(TransportMapping<? super A> sourceTransport, A incomingAddress, java.nio.ByteBuffer wholeMessage, TransportStateReference tmStateReference)
<A extends Address>
voidSnmpCommand.SnmpCommandMessageDispatcher. processMessage(TransportMapping<? super A> sourceTransport, A incomingAddress, java.nio.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, java.lang.String logger, OID loggerIndex, java.lang.String newLevel, ResponseEvent<A> response)
Methods in org.snmp4j.tools.console that return Address Modifier and Type Method Description private static Address
SnmpCommand. getAddress(java.lang.String transportAddress)
Methods in org.snmp4j.tools.console with parameters of type Address Modifier and Type Method Description void
SnmpCommand. processMessage(TransportMapping<?> sourceTransport, Address destAddress, byte[] message)
-
Uses of Address in org.snmp4j.transport
Classes in org.snmp4j.transport with type parameters of type Address Modifier and Type Class Description class
AbstractServerSocket<A extends Address>
TheAbstractServerSocket
interface provides methods to manage the sockets of a connection oriented transport mapping listening for incoming requests.class
AbstractTransportMapping<A extends Address>
TheAbstractTransportMapping
provides an abstract implementation for the message dispatcher list and the maximum inbound message size.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.Fields in org.snmp4j.transport declared as Address Modifier and Type Field Description private A
AbstractServerSocket. peerAddress
private Address
TransportStateEvent. peerAddress
private Address
DummyTransport.MessageContainer. sourceAddress
Fields in org.snmp4j.transport with type parameters of type Address Modifier and Type Field Description private java.lang.Class<? extends Address>
UnsupportedAddressClassException. addressClass
protected java.util.Map<Address,S>
TcpTransportMapping. sockets
Methods in org.snmp4j.transport with type parameters of type Address Modifier and Type Method Description <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, java.nio.ByteBuffer wholeMessage, TransportStateReference tmStateReference)
Processes an incoming message.Methods in org.snmp4j.transport that return Address Modifier and Type Method Description Address
TransportStateEvent. getPeerAddress()
Address
DummyTransport.MessageContainer. getSourceAddress()
Methods in org.snmp4j.transport that return types with arguments of type Address Modifier and Type Method Description java.lang.Class<? extends Address>
UnsupportedAddressClassException. getAddressClass()
Returns the class of the address class that is not supported.abstract java.lang.Class<? extends Address>
AbstractTransportMapping. getSupportedAddressClass()
java.lang.Class<? extends Address>
DTLSTM. getSupportedAddressClass()
java.lang.Class<? extends Address>
DummyTransport.DummyTransportResponder. getSupportedAddressClass()
java.lang.Class<? extends Address>
DummyTransport. getSupportedAddressClass()
java.lang.Class<? extends Address>
TcpTransportMapping. getSupportedAddressClass()
java.lang.Class<? extends Address>
TLSTM. getSupportedAddressClass()
java.lang.Class<? extends Address>
UdpTransportMapping. getSupportedAddressClass()
java.util.Set<java.lang.Class<? extends Address>>
DTLSTM. getSupportedAddressClasses()
Returns a set ofDtlsAddress
andUdpAddress
.Methods in org.snmp4j.transport with parameters of type Address Modifier and Type Method Description protected void
AbstractTcpServerThread. connectSocketToSendMessage(Address address, byte[] message, java.net.Socket s, S entry, java.util.Map<Address,S> sockets)
void
DefaultTcpTransportMapping.ServerThread. sendMessage(Address address, byte[] message, TransportStateReference tmStateReference)
void
TLSTM.ServerThread. sendMessage(Address address, byte[] message, TransportStateReference tmStateReference)
Method parameters in org.snmp4j.transport with type arguments of type Address Modifier and Type Method Description protected void
TcpTransportMapping. closeSockets(java.util.Map<Address,S> sockets)
protected void
AbstractTcpServerThread. connectSocketToSendMessage(Address address, byte[] message, java.net.Socket s, S entry, java.util.Map<Address,S> sockets)
Constructors in org.snmp4j.transport with parameters of type Address Constructor Description MessageContainer(Address sourceAddress, OctetString payload)
TransportStateEvent(AbstractTransportMapping<?> source, Address peerAddress, int newState, java.io.IOException causingException)
TransportStateEvent(AbstractTransportMapping<?> source, Address peerAddress, int newState, java.io.IOException causingException, java.util.List<byte[]> discardedMessages)
Constructor parameters in org.snmp4j.transport with type arguments of type Address Constructor Description UnsupportedAddressClassException(java.lang.String message, java.lang.Class<? extends Address> addressClass)
-
Uses of Address in org.snmp4j.transport.tls
Classes in org.snmp4j.transport.tls with type parameters of type Address Modifier and Type Class Description class
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.Fields in org.snmp4j.transport.tls with type parameters of type Address Modifier and Type Field Description private java.util.Map<Address,java.lang.String>
DefaultTlsTmSecurityCallback. localCertMapping
Methods in org.snmp4j.transport.tls with parameters of type Address Modifier and Type Method Description void
DefaultTlsTmSecurityCallback. addLocalCertMapping(Address address, java.lang.String certAlias)
Map a target address to a local certificate alias.java.lang.String
DefaultTlsTmSecurityCallback. getLocalCertificateAlias(Address targetAddress)
java.lang.String
PropertiesTlsTmSecurityCallback. getLocalCertificateAlias(Address targetAddress)
java.lang.String
TlsTmSecurityCallback. getLocalCertificateAlias(Address targetAddress)
Gets the local certificate alias to be used for the supplied target address.java.lang.String
TlsTmSecurityCallbackProxy. getLocalCertificateAlias(Address targetAddress)
java.lang.String
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 Modifier and Type Class Description class
SnmpURI<A extends Address>
TheSnmpURI
class provides a SNMP service based on the SNMP URI as defined by RFC 4088.Methods in org.snmp4j.uri with type parameters of type Address Modifier and Type Method Description <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 Address Modifier and Type Class Description (package private) class
MultiThreadedMessageDispatcher.MessageTask<A extends Address>
Fields in org.snmp4j.util declared as Address Modifier and Type Field Description private A
MultiThreadedMessageDispatcher.MessageTask. incomingAddress
Methods in org.snmp4j.util with type parameters of type Address Modifier and Type Method Description protected <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, java.nio.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)
<A extends Address>
PduHandleMultiThreadedMessageDispatcher. sendPdu(Target<A> target, PDU pdu, boolean expectResponse)
<A extends Address>
PduHandleMultiThreadedMessageDispatcher. sendPdu(TransportMapping<? super A> transportMapping, Target<A> target, PDU pdu, boolean expectResponse)
<A extends Address>
PduHandleMultiThreadedMessageDispatcher. sendPdu(TransportMapping<? super A> transportMapping, Target<A> target, PDU pdu, boolean expectResponse, PduHandleCallback<PDU> callback)
Methods in org.snmp4j.util that return Address Modifier and Type Method Description Address
SnmpConfigurator. getBindAddress(java.util.Map<java.lang.String,java.util.List<java.lang.Object>> settings)
Methods in org.snmp4j.util that return types with arguments of type Address Modifier and Type Method Description Target<? super Address>
SnmpConfigurator. getTarget(java.util.Map<java.lang.String,java.util.List<java.lang.Object>> settings)
java.util.Collection<TransportMapping<? extends Address>>
MultiThreadedMessageDispatcher. getTransportMappings()
Method parameters in org.snmp4j.util with type arguments of type Address Modifier and Type Method Description void
MultiThreadedMessageDispatcher. addTransportMapping(TransportMapping<? extends Address> transport)
TransportMapping<?>
MultiThreadedMessageDispatcher. removeTransportMapping(TransportMapping<? extends Address> transport)
-