public byte[] getEncodedValue() { return getPayload(); }
public byte[] getPayload() { if ( payload == null ) { try { encodePayload(); } catch ( EncoderException e ) { log.error( I18n.err( I18n.ERR_04164 ), e ); throw new RuntimeException( e ); } } return super.getPayload(); }
/** * Gets the extended request's <b>requestValue</b> portion of the PDU. The * form of the data is request specific and is determined by the extended * request OID. * * @return byte array of data */ public byte[] getPayload() { if ( payload == null ) { try { encodePayload(); } catch ( EncoderException e ) { LOG.error( I18n.err( I18n.ERR_04164 ), e ); throw new RuntimeException( e ); } } return super.getPayload(); }