An SnmpOutgoingRequest handles the marshalling of the message to send.
SnmpOutgoingRequest
This API is a Sun Microsystems internal API and is subject to change without notice.
Encodes the message to send and puts the result in the specified byte array.paramoutputBytes An array to receive the resulting encoding.exceptionArrayIndexOutOfBoundsException If the result does not fit into the specified array.
Initializes the message to send with the passed Pdu. If the encoding length exceeds maxDataLength, the method throws an exception.paramp The PDU to be encoded.parammaxDataLength The maximum length permitted for the data field.exceptionSnmpStatusException If the specified PDU p/CODE> is not valid.exceptionSnmpTooBigException If the resulting encoding does not fit into maxDataLength bytes.exceptionArrayIndexOutOfBoundsException If the encoding exceeds maxDataLength.
If the encoding length exceeds maxDataLength, the method throws an exception.
maxDataLength
p/CODE> is not valid.
Returns the cached security data used when marshalling the call as a secure one.returnThe cached data.
Returns a stringified form of the message to send.returnThe message state string.