Uses of Interface
org.snmp4j.Target
Package
Description
Provides classes and interfaces for creating, sending, and receiving SNMP
messages.
Provides classes and interfaces for the SNMP message processing.
Provides classes and interfaces for authentication and privacy of SNMP(v3)
messages.
Contains table retrieval utilities and multi-threading support classes as
well as miscellaneous utility classes.
-
Uses of Target in org.snmp4j
Modifier and TypeClassDescriptionclass
AbstractTarget<A extends Address>
AAbstractTarget
class is an abstract representation of a remote SNMP entity.class
CertifiedTarget<A extends Address>
TheCertifiedTarget
class implements aSecureTarget
for usage withSecurityModel
s that support secured connections using client and server certificates.class
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.class
UserTarget<A extends Address>
User based target for SNMPv3 or later.Modifier and TypeMethodDescriptionCertifiedTarget.duplicate()
CommunityTarget.duplicate()
DirectUserTarget.duplicate()
Target.duplicate()
Creates a new copy of this target with the same address type.UserTarget.duplicate()
Target
<?> TransportStateReference.getTarget()
Get the target instance that contains additional security information necessary to send a message.Modifier and TypeMethodDescriptionprotected void
MessageDispatcherImpl.configureAuthoritativeEngineID
(Target<?> target, MessageProcessingModel mp) <A extends Address>
ResponseEvent<A> Sends a GET request to a target.<A extends Address>
voidSnmp.get
(PDU pdu, Target<A> target, Object userHandle, ResponseListener listener) Asynchronously sends a GET requestPDU
to the given target.<A extends Address>
ResponseEvent<A> Sends a GETBULK request to a target.<A extends Address>
voidSnmp.getBulk
(PDU pdu, Target<A> target, Object userHandle, ResponseListener listener) Asynchronously sends a GETBULK requestPDU
to the given target.<A extends Address>
ResponseEvent<A> Sends a GETNEXT request to a target.<A extends Address>
voidSnmp.getNext
(PDU pdu, Target<A> target, Object userHandle, ResponseListener listener) Asynchronously sends a GETNEXT requestPDU
to the given target.<A extends Address>
ResponseEvent<A> Sends an INFORM request to a target.<A extends Address>
voidSnmp.inform
(PDU pdu, Target<A> target, Object userHandle, ResponseListener listener) Asynchronously sends an INFORM requestPDU
to the given target.protected <A extends Address>
TransportMapping<? super A> Snmp.lookupTransportMapping
(Target<A> target) void
Sends a SNMPv2c or SNMPv3 notification to a target.<A extends Address>
ResponseEvent<A> Sends aPDU
to the given target and returns the received responsePDU
.<A extends Address>
voidSession.send
(PDU pdu, Target<A> target, Object userHandle, ResponseListener listener) Asynchronously sends aPDU
to the given target.<A extends Address>
ResponseEvent<A> Session.send
(PDU pdu, Target<A> target, TransportMapping<? super A> transport) Sends aPDU
to the given target and returns the received responsePDU
encapsulated in aResponseEvent
object that also includes: the transport address of the response sending peer, theTarget
information of the target, the requestPDU
, the responsePDU
(if any).<A extends Address>
voidSession.send
(PDU pdu, Target<A> target, TransportMapping<? super A> transport, Object userHandle, ResponseListener listener) Asynchronously sends aPDU
to the given target.<A extends Address>
ResponseEvent<A> <A extends Address>
voidSnmp.send
(PDU pdu, Target<A> target, Object userHandle, ResponseListener listener) <A extends Address>
ResponseEvent<A> Snmp.send
(PDU pdu, Target<A> target, TransportMapping<? super A> transport) Sends aPDU
to the given target and if thePDU
is a confirmed request, then the received response is returned synchronously.<A extends Address>
voidSnmp.send
(PDU pdu, Target<A> target, TransportMapping<? super A> transport, Object userHandle, ResponseListener listener) Snmp.sendMessage
(PDU pdu, Target<A> target, TransportMapping<? super A> transport, PduHandleCallback<PDU> pduHandleCallback) Actually sends a PDU to a target and returns a handle for the sent PDU.Sends a PDU to the supplied transport address.MessageDispatcher.sendPdu
(TransportMapping<? super A> transportMapping, Target<A> target, PDU pdu, boolean expectResponse) Sends a PDU to the supplied transport address.MessageDispatcher.sendPdu
(TransportMapping<? super A> transportMapping, Target<A> target, PDU pdu, boolean expectResponse, PduHandleCallback<PDU> callback) Sends a PDU to the supplied transport address and returns thePduHandle
that uniquely identifies the request as response after the request has been sent and optional, if aPduHandleCallback
is given, it returns also thePduHandle
just before the request is sent through the the callback interface.MessageDispatcherImpl.sendPdu
(TransportMapping<? super A> transportMapping, Target<A> target, PDU pdu, boolean expectResponse) MessageDispatcherImpl.sendPdu
(TransportMapping<? super A> transport, Target<A> target, PDU pdu, boolean expectResponse, PduHandleCallback<PDU> pduHandleCallback) void
Snmp.set
(PDU pdu, Target<?> target, Object userHandle, ResponseListener listener) Asynchronously sends a SET requestPDU
to the given target.<A extends Address>
ResponseEvent<A> Sends a SET request to a target.void
Sends a SNMPv1 trap to a target.ModifierConstructorDescriptionPendingRequest
(ResponseListener listener, Object userObject, PDU pdu, Target<A> target, TransportMapping<? super A> transport) TransportStateReference
(TransportMapping<?> transport, Address address, OctetString securityName, SecurityLevel requestedSecurityLevel, SecurityLevel transportSecurityLevel, boolean sameSecurity, Object sessionID, Target<?> target) -
Uses of Target in org.snmp4j.fluent
-
Uses of Target in org.snmp4j.mp
-
Uses of Target in org.snmp4j.security
Modifier and TypeMethodDescriptiondefault boolean
SecurityStateReference.applyTargetSecurityInformation
(Target<?> target) After aSecurityStateReference
has been created for on outgoing message, this method might be called by theMPv3
to apply security information contained in the target object to the security state information.boolean
UsmSecurityStateReference.applyTargetSecurityInformation
(Target<?> target) -
Uses of Target in org.snmp4j.security.dh
Modifier 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.transport.tls
Modifier and TypeClassDescriptionclass
TlsX509CertifiedTarget<A extends Address>
TheTlsCertifiedTarget
extends theCertifiedTarget
class by means to provide aTlsTmSecurityCallback
reference directly with the target as needed according to RFC 6353 ยง5.3.1 when establishing a connection based on the SNMP-TARGET-MIB as client. -
Uses of Target in org.snmp4j.uri
-
Uses of Target in org.snmp4j.util
Modifier and TypeMethodDescriptionModifier and TypeMethodDescriptionCreate aPDU
instance for the supplied target.static PDU
Create aPDU
instance for the supplied target.static PDU
Create aPDU
instance for the supplied target.Creates aPDU
instance for the supplied target.<A extends Address>
ResponseEvent<A> TableUtils.createRow
(Target<A> target, OID rowStatusColumnOID, OID rowIndex, VariableBinding[] values) Creates an SNMP table row for a table that supports the RowStatus mechanism for row creation.protected TableUtils.TableRequest
TableUtils.createTableRequest
(Target<?> target, OID[] columnOIDs, TableListener listener, Object userObject, OID lowerBoundIndex, OID upperBoundIndex, TableUtils.SparseTableMode sparseTableMode) <A extends Address>
ResponseEvent<A> TableUtils.destroyRow
(Target<A> target, OID rowStatusColumnOID, OID rowIndex) Destroys an SNMP table row from a table that support the RowStatus mechanism for row creation/deletion.void
TableUtils.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.void
TreeUtils.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.TableUtils.getTable
(Target<?> target, OID[] columnOIDs, OID lowerBoundIndex, OID upperBoundIndex, long timeoutSeconds) Gets synchronously SNMP tabular data from one or more tables.void
TableUtils.getTable
(Target<?> target, OID[] columnOIDs, TableListener listener, Object userObject, OID lowerBoundIndex, OID upperBoundIndex) Gets SNMP tabular data from one or more tables.void
TableUtils.getTable
(Target<?> target, OID[] columnOIDs, TableListener listener, Object userObject, OID lowerBoundIndex, OID upperBoundIndex, TableUtils.SparseTableMode sparseTableMode) Gets SNMP tabular data from one or more tables.MultiThreadedMessageDispatcher.sendPdu
(TransportMapping<? super A> transportMapping, Target<A> target, PDU pdu, boolean expectResponse) MultiThreadedMessageDispatcher.sendPdu
(TransportMapping<? super A> transportMapping, Target<A> target, PDU pdu, boolean expectResponse, PduHandleCallback<PDU> callback) protected void
TableUtils.TableRequest.sendRequest
(PDU pdu, Target<?> target, TableUtils.ColumnsOfRequest sendColumns) Walks a subtree with GETNEXT (SNMPv1) or GETBULK (SNMP2c, SNMPv3) operations from the specified target synchronously.void
TreeUtils.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.ModifierConstructorDescriptionprotected
DenseTableRequest
(Target<?> target, OID[] columnOIDs, TableListener listener, Object userObject, OID lowerBoundIndex, OID upperBoundIndex) TableRequest
(Target<?> target, OID[] columnOIDs, TableListener listener, Object userObject, OID lowerBoundIndex, OID upperBoundIndex, TableUtils.SparseTableMode sparseTableMode)
DefaultPDUFactory.createPDU(MessageProcessingModel, int)
instead.