UNPKG

@wildboar/copp

Version:

Connection-oriented presentation protocol (COPP) data structures and business logic in TypeScript

99 lines 3.43 kB
import { OPTIONAL, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { RefuseReason } from '@wildboar/rtse'; /** * @summary CPR_PPDU_x400_mode_parameters * @description * * ### ASN.1 Definition: * * ```asn1 * CPR-PPDU-x400-mode-parameters ::= SEQUENCE { -- REMOVED_FROM_UNNESTING -- } * ``` * */ export declare class CPR_PPDU_x400_mode_parameters { /** * @summary `refuseReason`. * @public * @readonly */ readonly refuseReason?: OPTIONAL<RefuseReason>; /** * @summary `userDataRJ`. * @public * @readonly */ readonly userDataRJ?: OPTIONAL<_Element>; constructor( /** * @summary `refuseReason`. * @public * @readonly */ refuseReason?: OPTIONAL<RefuseReason>, /** * @summary `userDataRJ`. * @public * @readonly */ userDataRJ?: OPTIONAL<_Element>); /** * @summary Restructures an object into a CPR_PPDU_x400_mode_parameters * @description * * This takes an `object` and converts it to a `CPR_PPDU_x400_mode_parameters`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `CPR_PPDU_x400_mode_parameters`. * @returns {CPR_PPDU_x400_mode_parameters} */ static _from_object(_o: { [_K in keyof CPR_PPDU_x400_mode_parameters]: CPR_PPDU_x400_mode_parameters[_K]; }): CPR_PPDU_x400_mode_parameters; } /** * @summary The Leading Root Component Types of CPR_PPDU_x400_mode_parameters * @description * * This is an array of `ComponentSpec`s that define how to decode the leading root component type list of a SET or SEQUENCE. * * @constant */ export declare const _root_component_type_list_1_spec_for_CPR_PPDU_x400_mode_parameters: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of CPR_PPDU_x400_mode_parameters * @description * * This is an array of `ComponentSpec`s that define how to decode the trailing root component type list of a SET or SEQUENCE. * * @constant */ export declare const _root_component_type_list_2_spec_for_CPR_PPDU_x400_mode_parameters: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of CPR_PPDU_x400_mode_parameters * @description * * This is an array of `ComponentSpec`s that define how to decode the extension addition component type list of a SET or SEQUENCE. * * @constant */ export declare const _extension_additions_list_spec_for_CPR_PPDU_x400_mode_parameters: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) CPR_PPDU_x400_mode_parameters * @function * @param {_Element} el The element being decoded. * @returns {CPR_PPDU_x400_mode_parameters} The decoded data structure. */ export declare function _decode_CPR_PPDU_x400_mode_parameters(el: _Element): CPR_PPDU_x400_mode_parameters; /** * @summary Encodes a(n) CPR_PPDU_x400_mode_parameters into an ASN.1 Element. * @function * @param value The element being encoded. * @param elGetter A function that can be used to get new ASN.1 elements. * @returns {_Element} The CPR_PPDU_x400_mode_parameters, encoded as an ASN.1 Element. */ export declare function _encode_CPR_PPDU_x400_mode_parameters(value: CPR_PPDU_x400_mode_parameters, elGetter: $.ASN1Encoder<CPR_PPDU_x400_mode_parameters>): _Element; //# sourceMappingURL=CPR-PPDU-x400-mode-parameters.ta.d.mts.map