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.dh | |
org.snmp4j.uri | |
org.snmp4j.util |
Contains table retrieval utilities and multi-threading support classes as
well as miscellaneous utility classes.
|
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractTarget |
A
AbstractTarget class is an abstract representation of a remote
SNMP entity. |
class |
CertifiedTarget |
The
CertifiedTarget class implements a SecureTarget
for usage with SecurityModel s that support
secured connections using client and server certificates. |
class |
CommunityTarget |
A
CommunityTarget represents SNMP target properties for
community based message processing models (SNMPv1 and SNMPv2c). |
class |
SecureTarget |
The
SecureTarget is an security model independent abstract class
for all targets supporting secure SNMP communication. |
class |
UserTarget |
User based target for SNMPv3 or later.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
MessageDispatcherImpl.configureAuthoritativeEngineID(Target target,
MessageProcessingModel mp) |
|
ResponseEvent |
Snmp.get(PDU pdu,
Target target) |
Sends a GET request to a target.
|
void |
Snmp.get(PDU pdu,
Target target,
java.lang.Object userHandle,
ResponseListener listener) |
Asynchronously sends a GET request
PDU to the given target. |
ResponseEvent |
Snmp.getBulk(PDU pdu,
Target target) |
Sends a GETBULK request to a target.
|
void |
Snmp.getBulk(PDU pdu,
Target target,
java.lang.Object userHandle,
ResponseListener listener) |
Asynchronously sends a GETBULK request
PDU to the given
target. |
ResponseEvent |
Snmp.getNext(PDU pdu,
Target target) |
Sends a GETNEXT request to a target.
|
void |
Snmp.getNext(PDU pdu,
Target target,
java.lang.Object userHandle,
ResponseListener listener) |
Asynchronously sends a GETNEXT request
PDU to the given
target. |
ResponseEvent |
Snmp.inform(PDU pdu,
Target target) |
Sends an INFORM request to a target.
|
void |
Snmp.inform(PDU pdu,
Target target,
java.lang.Object userHandle,
ResponseListener listener) |
Asynchronously sends an INFORM request
PDU to the given
target. |
protected TransportMapping |
Snmp.lookupTransportMapping(Target target) |
|
void |
Snmp.notify(PDU pdu,
Target target) |
Sends a SNMPv2c or SNMPv3 notification to a target.
|
ResponseEvent |
Session.send(PDU pdu,
Target target) |
Sends a
PDU to the given target and returns the received
response PDU . |
void |
Session.send(PDU pdu,
Target target,
java.lang.Object userHandle,
ResponseListener listener) |
Asynchronously sends a
PDU to the given target. |
ResponseEvent |
Session.send(PDU pdu,
Target target,
TransportMapping transport) |
Sends a
PDU to the given target and returns the received
response PDU encapsulated in a ResponseEvent
object that also includes:
the transport address of the response sending peer,
the Target information of the target,
the request PDU ,
the response PDU (if any). |
void |
Session.send(PDU pdu,
Target target,
TransportMapping transport,
java.lang.Object userHandle,
ResponseListener listener) |
Asynchronously sends a
PDU to the given target. |
ResponseEvent |
Snmp.send(PDU pdu,
Target target) |
|
void |
Snmp.send(PDU pdu,
Target target,
java.lang.Object userHandle,
ResponseListener listener) |
|
ResponseEvent |
Snmp.send(PDU pdu,
Target target,
TransportMapping transport) |
Sends a
PDU to the given target and if the PDU
is a confirmed request, then the received response is returned
synchronously. |
void |
Snmp.send(PDU pdu,
Target target,
TransportMapping transport,
java.lang.Object userHandle,
ResponseListener listener) |
|
protected PduHandle |
Snmp.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.
|
PduHandle |
MessageDispatcher.sendPdu(Target target,
PDU pdu,
boolean expectResponse) |
Sends a PDU to the supplied transport address.
|
PduHandle |
MessageDispatcher.sendPdu(TransportMapping transportMapping,
Target target,
PDU pdu,
boolean expectResponse) |
Sends a PDU to the supplied transport address.
|
PduHandle |
MessageDispatcher.sendPdu(TransportMapping transportMapping,
Target target,
PDU pdu,
boolean expectResponse,
PduHandleCallback<PDU> callback) |
Sends a PDU to the supplied transport address and returns the
PduHandle that uniquely identifies the request as response
after the request has been sent and optional, if a
PduHandleCallback is given, it returns also the
PduHandle just before the request is sent through the
the callback interface. |
PduHandle |
MessageDispatcherImpl.sendPdu(Target target,
PDU pdu,
boolean expectResponse) |
|
PduHandle |
MessageDispatcherImpl.sendPdu(TransportMapping transportMapping,
Target target,
PDU pdu,
boolean expectResponse) |
|
PduHandle |
MessageDispatcherImpl.sendPdu(TransportMapping transport,
Target target,
PDU pdu,
boolean expectResponse,
PduHandleCallback<PDU> pduHandleCallback) |
|
ResponseEvent |
Snmp.set(PDU pdu,
Target target) |
Sends a SET request to a target.
|
void |
Snmp.set(PDU pdu,
Target target,
java.lang.Object userHandle,
ResponseListener listener) |
Asynchronously sends a SET request
PDU to the given target. |
void |
Snmp.trap(PDUv1 pdu,
Target target) |
Sends a SNMPv1 trap to a target.
|
Modifier and Type | Method | Description |
---|---|---|
PDU |
MPv3.createPDU(Target target) |
Deprecated.
|
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.
|
Constructor | Description |
---|---|
SnmpURI(Session snmp,
Target defaultTarget) |
Modifier and Type | Method | Description |
---|---|---|
Target |
SnmpConfigurator.getTarget(java.util.Map settings) |
Modifier and Type | Method | Description |
---|---|---|
PDU |
DefaultPDUFactory.createPDU(Target target) |
Create a
PDU instance for the supplied target. |
static PDU |
DefaultPDUFactory.createPDU(Target target,
int pduType) |
Create a
PDU instance for the supplied target. |
static PDU |
DefaultPDUFactory.createPDU(Target target,
int pduType,
int maxRepetitions,
int nonRepeaters) |
Create a
PDU instance for the supplied target. |
PDU |
PDUFactory.createPDU(Target target) |
Creates a
PDU instance for the supplied target. |
PDU |
SnmpConfigurator.InnerPDUFactory.createPDU(Target target) |
|
ResponseEvent |
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.TableRequest |
TableUtils.createTableRequest(Target target,
OID[] columnOIDs,
TableListener listener,
java.lang.Object userObject,
OID lowerBoundIndex,
OID upperBoundIndex,
TableUtils.SparseTableMode sparseTableMode) |
|
ResponseEvent |
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.
|
void |
TableUtils.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.
|
void |
TreeUtils.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.
|
void |
TableUtils.getTable(Target target,
OID[] columnOIDs,
TableListener listener,
java.lang.Object userObject,
OID lowerBoundIndex,
OID upperBoundIndex) |
Gets SNMP tabular data from one or more tables.
|
void |
TableUtils.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.
|
PduHandle |
MultiThreadedMessageDispatcher.sendPdu(Target target,
PDU pdu,
boolean expectResponse) |
|
PduHandle |
MultiThreadedMessageDispatcher.sendPdu(TransportMapping transportMapping,
Target target,
PDU pdu,
boolean expectResponse) |
|
PduHandle |
MultiThreadedMessageDispatcher.sendPdu(TransportMapping transportMapping,
Target target,
PDU pdu,
boolean expectResponse,
PduHandleCallback<PDU> callback) |
|
protected void |
TableUtils.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.
|
void |
TreeUtils.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.
|
Constructor | Description |
---|---|
TableRequest(Target target,
OID[] columnOIDs,
TableListener listener,
java.lang.Object userObject,
OID lowerBoundIndex,
OID upperBoundIndex,
TableUtils.SparseTableMode sparseTableMode) |
Copyright © 2018 SNMP4J.org. All rights reserved.