/** * Create a <code>PDU</code> instance for the supplied target. * * @param target the <code>Target</code> where the PDU to be created will be * sent. * @return PDU a PDU instance that is compatible with the supplied target. */ public PDU createPDU(Target target) { PDU pdu = createPDU(target, pduType); applyContextInfoToScopedPDU(pdu); return pdu; }
/** * Create a <code>PDU</code> instance for the supplied target. * * @param target the <code>Target</code> where the PDU to be created will be * sent. * @return PDU a PDU instance that is compatible with the supplied target. */ public PDU createPDU(Target target) { PDU pdu = createPDU(target, pduType); applyContextInfoToScopedPDU(pdu); return pdu; }
/** * Creates a <code>PDU</code> instance for the specified {@link MessageProcessingModel}. * @param messageProcessingModel * a message processing model instance. * @return * a PDU that is compatible with the specified message processing model. * @since 2.2 */ @Override public PDU createPDU(MessageProcessingModel messageProcessingModel) { PDU pdu = createPduByMP(messageProcessingModel); applyContextInfoToScopedPDU(pdu); return pdu; }
/** * Creates a <code>PDU</code> instance for the specified {@link MessageProcessingModel}. * @param messageProcessingModel * a message processing model instance. * @return * a PDU that is compatible with the specified message processing model. * @since 2.2 */ @Override public PDU createPDU(MessageProcessingModel messageProcessingModel) { PDU pdu = createPduByMP(messageProcessingModel); applyContextInfoToScopedPDU(pdu); return pdu; }