Uses of Interface
org.snmp4j.Target
Packages that use Target
Package
Description
Provides classes and interfaces for creating, sending, and receiving SNMP
messages.
Provides classes and interfaces for the SNMP message processing.
Contains table retrieval utilities and multi-threading support classes as
well as miscellaneous utility classes.
-
Uses of Target in org.snmp4j
Classes in org.snmp4j that implement TargetModifier and TypeClassDescriptionclassAAbstractTargetclass is an abstract representation of a remote SNMP entity.classTheCertifiedTargetclass implements aSecureTargetfor usage withSecurityModels that support secured connections using client and server certificates.classACommunityTargetrepresents SNMP target properties for community based message processing models (SNMPv1 and SNMPv2c).classTheSecureTargetis an security model independent abstract class for all targets supporting secure SNMP communication.classUser based target for SNMPv3 or later.Methods in org.snmp4j that return TargetModifier and TypeMethodDescriptionCertifiedTarget.duplicate()CommunityTarget.duplicate()Target.duplicate()Creates a new copy of this target with the same address type.UserTarget.duplicate()Methods in org.snmp4j with parameters of type TargetModifier and TypeMethodDescriptionprotected voidMessageDispatcherImpl.configureAuthoritativeEngineID(Target target, MessageProcessingModel mp) Sends a GET request to a target.voidSnmp.get(PDU pdu, Target target, Object userHandle, ResponseListener listener) Asynchronously sends a GET requestPDUto the given target.Sends a GETBULK request to a target.voidSnmp.getBulk(PDU pdu, Target target, Object userHandle, ResponseListener listener) Asynchronously sends a GETBULK requestPDUto the given target.Sends a GETNEXT request to a target.voidSnmp.getNext(PDU pdu, Target target, Object userHandle, ResponseListener listener) Asynchronously sends a GETNEXT requestPDUto the given target.Sends an INFORM request to a target.voidSnmp.inform(PDU pdu, Target target, Object userHandle, ResponseListener listener) Asynchronously sends an INFORM requestPDUto the given target.protected TransportMappingSnmp.lookupTransportMapping(Target target) voidSends a SNMPv2c or SNMPv3 notification to a target.Sends aPDUto the given target and returns the received responsePDU.voidSession.send(PDU pdu, Target target, Object userHandle, ResponseListener listener) Asynchronously sends aPDUto the given target.Session.send(PDU pdu, Target target, TransportMapping 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).voidSession.send(PDU pdu, Target target, TransportMapping transport, Object userHandle, ResponseListener listener) Asynchronously sends aPDUto the given target.voidSnmp.send(PDU pdu, Target target, Object userHandle, ResponseListener listener) Snmp.send(PDU pdu, Target target, TransportMapping transport) Sends aPDUto the given target and if thePDUis a confirmed request, then the received response is returned synchronously.voidSnmp.send(PDU pdu, Target target, TransportMapping transport, Object userHandle, ResponseListener listener) protected PduHandleSnmp.sendMessage(PDU pdu, Target target, TransportMapping 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 transportMapping, Target target, PDU pdu, boolean expectResponse) Sends a PDU to the supplied transport address.MessageDispatcher.sendPdu(TransportMapping transportMapping, Target target, PDU pdu, boolean expectResponse, PduHandleCallback<PDU> callback) Sends a PDU to the supplied transport address and returns thePduHandlethat uniquely identifies the request as response after the request has been sent and optional, if aPduHandleCallbackis given, it returns also thePduHandlejust before the request is sent through the the callback interface.MessageDispatcherImpl.sendPdu(TransportMapping transportMapping, Target target, PDU pdu, boolean expectResponse) MessageDispatcherImpl.sendPdu(TransportMapping transport, Target target, PDU pdu, boolean expectResponse, PduHandleCallback<PDU> pduHandleCallback) Sends a SET request to a target.voidSnmp.set(PDU pdu, Target target, Object userHandle, ResponseListener listener) Asynchronously sends a SET requestPDUto the given target.voidSends a SNMPv1 trap to a target. -
Uses of Target in org.snmp4j.mp
Methods in org.snmp4j.mp with parameters of type Target -
Uses of Target in org.snmp4j.security.dh
Methods in org.snmp4j.security.dh with parameters of type TargetModifier and TypeMethodDescriptionstatic Map<OctetString,OctetString[]> DHOperations.getDHKickstartPublicKeys(Session session, PDUFactory pduFactory, Target target, Set<OctetString> managerPublic) Get the public keys of the agent's kickstart table that match the local public keys provided from a remote agent. -
Uses of Target in org.snmp4j.tools.console
Methods in org.snmp4j.tools.console that return TargetMethods in org.snmp4j.tools.console with parameters of type Target -
Uses of Target in org.snmp4j.transport.tls
Classes in org.snmp4j.transport.tls that implement TargetModifier and TypeClassDescriptionclassTheTlsCertifiedTargetextends 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 that return Target -
Uses of Target in org.snmp4j.uri
Constructors in org.snmp4j.uri with parameters of type Target -
Uses of Target in org.snmp4j.util
Methods in org.snmp4j.util that return TargetModifier and TypeMethodDescriptionMethods in org.snmp4j.util with parameters of type TargetModifier and TypeMethodDescriptionCreate aPDUinstance for the supplied target.static PDUCreate aPDUinstance for the supplied target.static PDUCreate aPDUinstance for the supplied target.Creates aPDUinstance for the supplied target.TableUtils.createRow(Target target, OID rowStatusColumnOID, OID rowIndex, VariableBinding[] values) Creates a SNMP table row for a table that supports the RowStatus mechanism for row creation.protected TableUtils.TableRequestTableUtils.createTableRequest(Target target, OID[] columnOIDs, TableListener listener, Object userObject, OID lowerBoundIndex, OID upperBoundIndex) TableUtils.destroyRow(Target target, OID rowStatusColumnOID, OID rowIndex) Destroys a SNMP table row from a table that support the RowStatus mechanism for row creation/deletion.voidTableUtils.getDenseTable(Target target, OID[] columnOIDs, TableListener listener, Object userObject, OID lowerBoundIndex, OID upperBoundIndex) Gets SNMP tabular data from one or more tables.TreeUtils.getSubtree(Target target, OID rootOID) Gets a subtree with GETNEXT (SNMPv1) or GETBULK (SNMP2c, SNMPv3) operations from the specified target synchronously.voidTreeUtils.getSubtree(Target target, OID rootOID, Object userObject, TreeListener listener) Gets a subtree with GETNEXT (SNMPv1) or GETBULK (SNMP2c, SNMPv3) operations from the specified target asynchronously.Gets synchronously SNMP tabular data from one or more tables.voidTableUtils.getTable(Target target, OID[] columnOIDs, TableListener listener, Object userObject, OID lowerBoundIndex, OID upperBoundIndex) Gets SNMP tabular data from one or more tables.MultiThreadedMessageDispatcher.sendPdu(TransportMapping transportMapping, Target target, PDU pdu, boolean expectResponse) MultiThreadedMessageDispatcher.sendPdu(TransportMapping transportMapping, Target target, PDU pdu, boolean expectResponse, PduHandleCallback<PDU> callback) protected voidTableUtils.TableRequest.sendRequest(PDU pdu, Target target, TableUtils.ColumnsOfRequest sendColumns) Walks a subtree with GETNEXT (SNMPv1) or GETBULK (SNMP2c, SNMPv3) operations from the specified target asynchronously.voidTreeUtils.walk(Target target, OID[] rootOIDs, Object userObject, TreeListener listener) Walks a subtree with GETNEXT (SNMPv1) or GETBULK (SNMP2c, SNMPv3) operations from the specified target asynchronously.Constructors in org.snmp4j.util with parameters of type TargetModifierConstructorDescriptionTableRequest(Target target, OID[] columnOIDs, TableListener listener, Object userObject, OID lowerBoundIndex, OID upperBoundIndex)
DefaultPDUFactory.createPDU(MessageProcessingModel, int)instead.