Uses of Class
org.snmp4j.PDU

Packages that use PDU
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.tools.console   
org.snmp4j.util Contains table retrieval utilities and multi-threading support classes as well as miscellaneous utility classes. 
 

Uses of PDU in org.snmp4j
 

Subclasses of PDU in org.snmp4j
 class PDUv1
          The PDUv1 represents SNMPv1 PDUs.
 class ScopedPDU
          The ScopedPDU class represents a SNMPv3 scoped PDU.
 

Methods in org.snmp4j that return PDU
 PDU MutablePDU.getPdu()
           
 PDU CommandResponderEvent.getPDU()
           
 

Methods in org.snmp4j with parameters of type PDU
 void Session.cancel(PDU request, ResponseListener listener)
          Cancels an asynchronous request.
 void Snmp.cancel(PDU request, ResponseListener listener)
           
protected  void MessageDispatcherImpl.checkOutgoingMsg(Address transportAddress, int messageProcessingModel, PDU pdu)
          Checks outgoing messages for consistency between PDU and target used.
 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.
protected  void Snmp.handleInternalResponse(PDU response, PDU pdu, Address 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.
 void Snmp.notify(PDU pdu, Target target)
          Sends a SNMPv2c or SNMPv3 notification to a target.
protected  boolean Snmp.resendRequest(org.snmp4j.Snmp.PendingRequest request, PDU response)
           
 int MessageDispatcherImpl.returnResponsePdu(int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, int maxSizeResponseScopedPDU, StateReference stateReference, StatusInformation statusInformation)
           
 int MessageDispatcher.returnResponsePdu(int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, int maxSizeResponseScopedPDU, StateReference stateReference, StatusInformation statusInformation)
          Returns a response PDU to the sender of the corresponding request PDU.
 ResponseEvent Session.send(PDU pdu, Target target)
          Sends a PDU to the given target and returns the received response PDU.
 ResponseEvent Snmp.send(PDU pdu, Target target)
           
 void Session.send(PDU pdu, Target target, java.lang.Object userHandle, ResponseListener listener)
          Asynchronously sends a PDU to the given target.
 void Snmp.send(PDU pdu, Target target, java.lang.Object userHandle, ResponseListener listener)
           
 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).
 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 Session.send(PDU pdu, Target target, TransportMapping transport, java.lang.Object userHandle, ResponseListener listener)
          Asynchronously sends a PDU to the given target.
 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 MessageDispatcherImpl.sendPdu(Target target, PDU pdu, boolean expectResponse)
           
 PduHandle MessageDispatcher.sendPdu(Target target, PDU pdu, boolean expectResponse)
          Sends a PDU to the supplied transport address.
 PduHandle MessageDispatcherImpl.sendPdu(TransportMapping transportMapping, Target target, PDU pdu, boolean expectResponse)
           
 PduHandle MessageDispatcher.sendPdu(TransportMapping transportMapping, Target target, PDU pdu, boolean expectResponse)
          Sends a PDU to the supplied transport address.
 PduHandle MessageDispatcherImpl.sendPdu(TransportMapping transport, Target target, PDU pdu, boolean expectResponse, PduHandleCallback<PDU> pduHandleCallback)
           
 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.
 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 MutablePDU.setPdu(PDU pdu)
           
 void CommandResponderEvent.setPDU(PDU pdu)
           
 

Method parameters in org.snmp4j with type arguments of type PDU
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 MessageDispatcherImpl.sendPdu(TransportMapping transport, Target target, PDU pdu, boolean expectResponse, PduHandleCallback<PDU> pduHandleCallback)
           
 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.
 

Constructors in org.snmp4j with parameters of type PDU
CommandResponderEvent(MessageDispatcher messageDispatcher, TransportMapping transportMapping, Address sourceAddress, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PduHandle pduHandle, PDU pdu, int maxSizeResponseScopedPDU, StateReference stateReference)
          Constructs an event for processing an incoming request or notification PDU.
PDU(PDU other)
          Copy constructor which creates a deep copy (clone) of the other PDU.
 

Uses of PDU in org.snmp4j.event
 

Methods in org.snmp4j.event that return PDU
 PDU ResponseEvent.getRequest()
          Gets the request PDU.
 PDU ResponseEvent.getResponse()
          Gets the response PDU.
 

Methods in org.snmp4j.event with parameters of type PDU
protected  void ResponseEvent.setRequest(PDU request)
           
protected  void ResponseEvent.setResponse(PDU response)
           
 

Constructors in org.snmp4j.event with parameters of type PDU
ResponseEvent(java.lang.Object source, Address peerAddress, PDU request, PDU response, java.lang.Object userObject)
          Creates an ResponseEvent instance.
ResponseEvent(Snmp source, Address peerAddress, PDU request, PDU response, java.lang.Object userObject, java.lang.Exception error)
          Creates an ResponseEvent instance with an exception object indicating a message processing error.
 

Uses of PDU in org.snmp4j.mp
 

Methods in org.snmp4j.mp that return PDU
 PDU MPv3.createPDU(Target target)
          Creates a PDU class that is used to parse incoming SNMP messages.
 

Methods in org.snmp4j.mp with parameters of type PDU
 int MPv3.prepareOutgoingMessage(Address transportAddress, int maxMessageSize, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, boolean expectResponse, PduHandle sendPduHandle, Address destTransportAddress, BEROutputStream outgoingMessage, TransportStateReference tmStateReference)
           
 int MPv2c.prepareOutgoingMessage(Address transportAddress, int maxMessageSize, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, boolean expectResponse, PduHandle sendPduHandle, Address destTransportAddress, BEROutputStream outgoingMessage, TransportStateReference tmStateReference)
           
 int MPv1.prepareOutgoingMessage(Address transportAddress, int maxMessageSize, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, boolean expectResponse, PduHandle sendPduHandle, Address destTransportAddress, BEROutputStream outgoingMessage, TransportStateReference tmStateReference)
           
 int MessageProcessingModel.prepareOutgoingMessage(Address transportAddress, int maxMsgSize, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, boolean expectResponse, PduHandle sendPduHandle, Address destTransportAddress, BEROutputStream outgoingMessage, TransportStateReference tmStateReference)
          Prepares an outgoing message as defined in RFC3412 §7.1.
 int MPv3.prepareResponseMessage(int messageProcessingModel, int maxMessageSize, int securityModel, byte[] securityName, int securityLevel, PDU pdu, int maxSizeResponseScopedPDU, StateReference stateReference, StatusInformation statusInformation, BEROutputStream outgoingMessage)
           
 int MPv2c.prepareResponseMessage(int messageProcessingModel, int maxMessageSize, int securityModel, byte[] securityName, int securityLevel, PDU pdu, int maxSizeResponseScopedPDU, StateReference stateReference, StatusInformation statusInformation, BEROutputStream outgoingMessage)
           
 int MPv1.prepareResponseMessage(int messageProcessingModel, int maxMessageSize, int securityModel, byte[] securityName, int securityLevel, PDU pdu, int maxSizeResponseScopedPDU, StateReference stateReference, StatusInformation statusInformation, BEROutputStream outgoingMessage)
           
 int MessageProcessingModel.prepareResponseMessage(int messageProcessingModel, int maxMsgSize, int securityModel, byte[] securityName, int securityLevel, PDU pdu, int maxSizeResponseScopedPDU, StateReference stateReference, StatusInformation statusInformation, BEROutputStream outgoingMessage)
          Prepares a response message as defined in RFC3412 §7.1.
 

Uses of PDU in org.snmp4j.tools.console
 

Methods in org.snmp4j.tools.console that return PDU
 PDU SnmpRequest.createPDU(Target target)
           
 PDU SnmpRequest.send()
           
 

Methods in org.snmp4j.tools.console with parameters of type PDU
protected static void SnmpRequest.printReport(PDU response)
           
protected static void SnmpRequest.printVariableBindings(PDU response)
           
 

Uses of PDU in org.snmp4j.util
 

Fields in org.snmp4j.util declared as PDU
protected  PDU RetrievalEvent.reportPDU
           
 

Methods in org.snmp4j.util that return PDU
static PDU DefaultPDUFactory.createPDU(int targetVersion)
          Create a PDU instance for the specified SNMP version.
 PDU DefaultPDUFactory.createPDU(Target target)
          Create a PDU instance for the supplied target.
 PDU SnmpConfigurator.InnerPDUFactory.createPDU(Target target)
           
 PDU PDUFactory.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.
 PDU RetrievalEvent.getReportPDU()
          Gets the report PDU associated with this event.
 

Methods in org.snmp4j.util with parameters of type PDU
 int MultiThreadedMessageDispatcher.returnResponsePdu(int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, int maxSizeResponseScopedPDU, StateReference stateReference, StatusInformation statusInformation)
           
 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 callback)
           
protected  void TableUtils.TableRequest.sendRequest(PDU pdu, Target target, java.lang.Integer startCol)
           
 

Constructors in org.snmp4j.util with parameters of type PDU
RetrievalEvent(org.snmp4j.util.TreeUtils.TreeRequest source, java.lang.Object userObject, PDU report)
          Creates a retrieval event with a report PDU.
TableEvent(TableUtils.TableRequest source, java.lang.Object userObject, PDU report)
          Creates a table event with a report PDU.
TreeEvent(org.snmp4j.util.TreeUtils.TreeRequest source, java.lang.Object userObject, PDU report)
           
 


Copyright 2005-2011 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.