public interface PDUFactory
PDUFactory
defines the interface for PDU factories.PDU createPDU(Target target)
PDU
instance for the supplied target. The created
PDU has to be compliant to the SNMP version defined by the supplied target.
For example, a SNMPv3 target requires a ScopedPDU instance.target
- the Target
where the PDU to be created will be sent.PDU createPDU(MessageProcessingModel messageProcessingModel)
PDU
instance that is compatible with the given SNMP version
(message processing model).messageProcessingModel
- a MessageProcessingModel
instance.PDU
instance that is compatible with the given SNMP version
(message processing model).Copyright © 2013 SNMP4J.org. All rights reserved.