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.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 classAbstractTarget<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.protected classSnmp.PendingRequest<A extends Address>interfaceTarget<A extends Address>ATargetinterface defines an abstract representation of a remote SNMP entity.interfaceTransportMapping<A extends Address>TheTransportMappingdefines the common interface for SNMP transport mappings.classUserTarget<A extends Address>User based target for SNMPv3 or later.Methods in org.snmp4j with type parameters of type Address Modifier and Type Method Description <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 requestPDUto 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 requestPDUto 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 requestPDUto 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 requestPDUto the given target.protected <A extends Address>
TransportMapping<? super A>Snmp. lookupTransportMapping(Target<A> target)<A extends Address>
voidMessageDispatcher. processMessage(TransportMapping<? super A> sourceTransport, A incomingAddress, 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. 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>Session. send(PDU pdu, Target<A> target)Sends aPDUto 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 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, java.lang.Object userHandle, ResponseListener listener)Asynchronously sends aPDUto 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 aPDUto the given target and if thePDUis a confirmed request, then the received response is returned synchronously.<A extends Address>
voidSnmp. send(PDU pdu, Target<A> target, TransportMapping<? super A> transport, 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 theTransportMappingthat 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 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.<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 AddressTransportStateReference. 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 primaryAddressclass that is supported by this transport mapping.default java.util.Set<java.lang.Class<? extends Address>>TransportMapping. getSupportedAddressClasses()Return allAddressclasses supported by this transport mapping.java.util.Collection<TransportMapping<? extends Address>>MessageDispatcher. getTransportMappings()Gets theCollectionof transport mappings in this message dispatcher.java.util.Collection<TransportMapping<? extends Address>>MessageDispatcherImpl. getTransportMappings()Gets a collection of all registered transport mappings.TransportMapping<? extends Address>MessageDispatcher. removeTransportMapping(TransportMapping<? extends Address> transport)Removes a previously addedTransportMappingfrom the dispatcher.TransportMapping<? extends Address>MessageDispatcherImpl. removeTransportMapping(TransportMapping<?> transport)Removes a transport mapping.Methods in org.snmp4j with parameters of type Address Modifier and Type Method Description booleanSnmp. addNotificationListener(Address listenAddress, CommandResponder listener)Adds a notification listener to this Snmp instance.booleanSnmp. addNotificationListener(TransportMapping<?> transportMapping, Address listenAddress, CommandResponder listener)Adds a notification listener to this Snmp instance.protected voidMessageDispatcherImpl. checkOutgoingMsg(Address transportAddress, int messageProcessingModel, PDU pdu)Checks outgoing messages for consistency between PDU and target used.TransportMapping<?>Snmp. getNotificationListenerTM(Address listenAddress)Gets the transport mapping registered for the specified listen address.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. 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 voidMessageDispatcher. addTransportMapping(TransportMapping<? extends Address> transport)Adds aTransportMappingto the dispatcher.voidSnmp. addTransportMapping(TransportMapping<? extends Address> transportMapping)Adds aTransportMappingto this SNMP session.TransportMapping<? extends Address>MessageDispatcher. removeTransportMapping(TransportMapping<? extends Address> transport)Removes a previously addedTransportMappingfrom the dispatcher.voidSnmp. removeTransportMapping(TransportMapping<? extends Address> transportMapping)Removes the specified transport mapping from this SNMP session.Constructors in org.snmp4j with parameters of type 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 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 Address Modifier and Type Class Description classAuthenticationFailureEvent<A extends Address>TheAuthenticationFailureEventclass describes the source and type of an authentication failure as well as the message that caused the error.classResponseEvent<A extends Address>ResponseEventassociates a request PDU with the corresponding response and an optional user object.Methods in org.snmp4j.event with type parameters of type 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 AddressSnmpEngineEvent. 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.mp
Classes in org.snmp4j.mp with type parameters of type Address Modifier and Type Class Description protected static classMPv3.CacheEntry<A extends Address>TheCacheEntryclass holds state reference information for the MPv3 message processing model for a single message.classMutableStateReference<A extends Address>TheMutableStateReferenceencapsulates aStateReferencefor read/write access.classStateReference<A extends Address>TheStateReferenceclass represents state information associated with SNMP messages.Methods in org.snmp4j.mp with type parameters of type 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.Methods in org.snmp4j.mp with parameters of type Address Modifier and Type Method Description booleanMPv3. 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.OctetStringMPv3. getEngineID(Address address)Gets the engine ID associated with the supplied address from the local storage and fires the correspondingSnmpEngineEvent.OctetStringMPv3. 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.StringTSM. getTransportDomainPrefix(Address address) -
Uses of Address in org.snmp4j.smi
Classes in org.snmp4j.smi that implement Address Modifier and Type Class Description classDtlsAddressTheTlsAddressrepresents a TLS transport addresses as defined by RFC 5953 SnmpTSLAddress textual convention.classGenericAddressTheGenericAddressimplements the decorator and factory design pattern to provide a generic address type.classIpAddressTheIpAddressclass represents an IPv4 address SNMP variable.classSMIAddressASMIAddressis 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.classTcpAddressTheTcpAddressrepresents TCP/IP transport addresses.classTlsAddressTheTlsAddressrepresents a TLS transport addresses as defined by RFC 5953 SnmpTSLAddress textual convention.classTransportIpAddressTheTransportIpAddressis the abstract base class for all transport addresses on top of IP network addresses.classUdpAddressTheUdpAddressrepresents UDP/IP transport addresses.Methods in org.snmp4j.smi that return Address Modifier and Type Method Description AddressGenericAddress. getAddress()static AddressDtlsAddress. parse(java.lang.String address)static AddressGenericAddress. parse(java.lang.String address)Parses a given transport protocol dependent address string into anAddressinstance that is subsumed by thisGenericAddressobject.static AddressIpAddress. parse(java.lang.String address)Parses an IP address string and returns the correspondingIpAddressinstance.static AddressTcpAddress. parse(java.lang.String address)static AddressTlsAddress. parse(java.lang.String address)static AddressTransportIpAddress. parse(java.lang.String address)static AddressUdpAddress. 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.StringGenericAddress. getTDomainPrefix(java.lang.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 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)Methods in org.snmp4j.tools.console with parameters of type Address Modifier and Type Method Description voidSnmpCommand. 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 classAbstractServerSocket<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 with type parameters of type Address Modifier and Type Field Description protected java.util.Map<Address,S>TcpTransportMapping. socketsMethods 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 aTransportMappinginstance 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 AddressTransportStateEvent. getPeerAddress()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 ofDtlsAddressandUdpAddress.Methods in org.snmp4j.transport with parameters of type Address Modifier and Type Method Description voidDefaultTcpTransportMapping.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 voidTcpTransportMapping. closeSockets(java.util.Map<Address,S> sockets)Constructors in org.snmp4j.transport with parameters of type Address Constructor Description 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 classTlsX509CertifiedTarget<A extends Address>TheTlsCertifiedTargetextends theCertifiedTargetclass by means to provide aTlsTmSecurityCallbackreference directly with the target as needed according to RFC 6353 ยง5.3.1 when establishing a connection based on the SNMP-TARGET-MIB as client.Methods in org.snmp4j.transport.tls with parameters of type Address Modifier and Type Method Description voidDefaultTlsTmSecurityCallback. addLocalCertMapping(Address address, java.lang.String certAlias)Map a target address to a local certificate alias.java.lang.StringDefaultTlsTmSecurityCallback. getLocalCertificateAlias(Address targetAddress)java.lang.StringPropertiesTlsTmSecurityCallback. getLocalCertificateAlias(Address targetAddress)java.lang.StringTlsTmSecurityCallback. getLocalCertificateAlias(Address targetAddress)Gets the local certificate alias to be used for the supplied target address.java.lang.StringTlsTmSecurityCallbackProxy. getLocalCertificateAlias(Address targetAddress)java.lang.StringDefaultTlsTmSecurityCallback. 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 classSnmpURI<A extends Address>TheSnmpURIclass provides a SNMP service based on the SNMP URI as defined by RFC 4088. -
Uses of Address in org.snmp4j.util
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>
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 AddressSnmpConfigurator. 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 voidMultiThreadedMessageDispatcher. addTransportMapping(TransportMapping<? extends Address> transport)TransportMapping<?>MultiThreadedMessageDispatcher. removeTransportMapping(TransportMapping<? extends Address> transport)
-