Uses of Interface
org.snmp4j.Target
-
Packages that use Target Package Description org.snmp4j Provides classes and interfaces for creating, sending, and receiving SNMP messages.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.security.dh 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 Target in org.snmp4j
Classes in org.snmp4j that implement Target 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.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.classUserTarget<A extends Address>User based target for SNMPv3 or later.Fields in org.snmp4j declared as Target Modifier and Type Field Description protected Target<A>Snmp.PendingRequest. targetMethods in org.snmp4j that return Target Modifier and Type Method Description Target<A>CertifiedTarget. duplicate()Target<A>CommunityTarget. duplicate()Target<A>DirectUserTarget. duplicate()Target<A>Target. duplicate()Creates a new copy of this target with the same address type.Target<A>UserTarget. duplicate()Target<?>TransportStateReference. getTarget()Get the target instance that contains additional security information necessary to send a message.Methods in org.snmp4j with parameters of type Target Modifier and Type Method Description protected voidMessageDispatcherImpl. configureAuthoritativeEngineID(Target<?> target, MessageProcessingModel mp)<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>
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)voidSnmp. notify(PDU pdu, Target<?> target)Sends a SNMPv2c or SNMPv3 notification to a target.<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>
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)voidSnmp. set(PDU pdu, Target<?> target, java.lang.Object userHandle, ResponseListener listener)Asynchronously sends a SET requestPDUto the given target.<A extends Address>
ResponseEvent<A>Snmp. set(PDU pdu, Target<A> target)Sends a SET request to a target.voidSnmp. trap(PDUv1 pdu, Target<?> target)Sends a SNMPv1 trap to a target.Constructors in org.snmp4j with parameters of type Target Constructor Description PendingRequest(ResponseListener listener, java.lang.Object userObject, PDU pdu, Target<A> target, TransportMapping<? super A> transport)TransportStateReference(TransportMapping<?> transport, Address address, OctetString securityName, SecurityLevel requestedSecurityLevel, SecurityLevel transportSecurityLevel, boolean sameSecurity, java.lang.Object sessionID, Target<?> target) -
Uses of Target in org.snmp4j.mp
Methods in org.snmp4j.mp with parameters of type Target Modifier and Type Method Description PDUMPv3. createPDU(Target<?> target)Deprecated. -
Uses of Target in org.snmp4j.security
Methods in org.snmp4j.security with parameters of type Target Modifier and Type Method Description default booleanSecurityStateReference. applyTargetSecurityInformation(Target<?> target)After aSecurityStateReferencehas been created for on outgoing message, this method might be called by theMPv3to apply security information contained in the target object to the security state information.booleanUsmSecurityStateReference. applyTargetSecurityInformation(Target<?> target) -
Uses of Target in org.snmp4j.security.dh
Methods in org.snmp4j.security.dh with parameters of type Target Modifier and Type Method Description static java.util.Map<OctetString,OctetString[]>DHOperations. getDHKickstartPublicKeys(Session session, PDUFactory pduFactory, Target<?> target, java.util.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.transport.tls
Classes in org.snmp4j.transport.tls that implement Target 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 that return Target Modifier and Type Method Description Target<A>TlsX509CertifiedTarget. duplicate() -
Uses of Target in org.snmp4j.uri
Constructors in org.snmp4j.uri with parameters of type Target Constructor Description SnmpURI(Session snmp, Target<A> defaultTarget) -
Uses of Target in org.snmp4j.util
Methods in org.snmp4j.util that return Target Modifier and Type Method Description Target<? super Address>SnmpConfigurator. getTarget(java.util.Map<java.lang.String,java.util.List<java.lang.Object>> settings)Methods in org.snmp4j.util with parameters of type Target Modifier and Type Method Description PDUDefaultPDUFactory. createPDU(Target<?> target)Create aPDUinstance for the supplied target.static PDUDefaultPDUFactory. createPDU(Target<?> target, int pduType)Create aPDUinstance for the supplied target.static PDUDefaultPDUFactory. createPDU(Target<?> target, int pduType, int maxRepetitions, int nonRepeaters)Create aPDUinstance for the supplied target.PDUPDUFactory. createPDU(Target<?> target)Creates aPDUinstance for the supplied target.PDUSnmpConfigurator.InnerPDUFactory. createPDU(Target<?> target)<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.protected TableUtils.TableRequestTableUtils. createTableRequest(Target<?> target, OID[] columnOIDs, TableListener listener, java.lang.Object userObject, OID lowerBoundIndex, OID upperBoundIndex, TableUtils.SparseTableMode sparseTableMode)<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.voidTableUtils. getDenseTable(Target<?> target, OID[] columnOIDs, TableListener listener, java.lang.Object userObject, OID lowerBoundIndex, OID upperBoundIndex)Gets SNMP tabular data from one or more tables.java.util.List<TreeEvent>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, java.lang.Object userObject, TreeListener listener)Gets a subtree with GETNEXT (SNMPv1) or GETBULK (SNMP2c, SNMPv3) operations from the specified target asynchronously.java.util.List<TableEvent>TableUtils. getTable(Target<?> target, OID[] columnOIDs, OID lowerBoundIndex, OID upperBoundIndex)Gets synchronously SNMP tabular data from one or more tables.voidTableUtils. getTable(Target<?> target, OID[] columnOIDs, TableListener listener, java.lang.Object userObject, OID lowerBoundIndex, OID upperBoundIndex)Gets SNMP tabular data from one or more tables.voidTableUtils. getTable(Target<?> target, OID[] columnOIDs, TableListener listener, java.lang.Object userObject, OID lowerBoundIndex, OID upperBoundIndex, TableUtils.SparseTableMode sparseTableMode)Gets SNMP tabular data from one or more tables.<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)protected voidTableUtils.TableRequest. sendRequest(PDU pdu, Target<?> target, TableUtils.ColumnsOfRequest sendColumns)java.util.List<TreeEvent>TreeUtils. walk(Target<?> target, OID[] rootOIDs)Walks a subtree with GETNEXT (SNMPv1) or GETBULK (SNMP2c, SNMPv3) operations from the specified target asynchronously.voidTreeUtils. walk(Target<?> target, OID[] rootOIDs, java.lang.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 Target Constructor Description DenseTableRequest(Target<?> target, OID[] columnOIDs, TableListener listener, java.lang.Object userObject, OID lowerBoundIndex, OID upperBoundIndex)TableRequest(Target<?> target, OID[] columnOIDs, TableListener listener, java.lang.Object userObject, OID lowerBoundIndex, OID upperBoundIndex, TableUtils.SparseTableMode sparseTableMode)
-