@mdf.js/openc2
Version:
MMS - API - Observability
23 lines • 964 B
TypeScript
/**
* Copyright 2024 Mytra Control S.L. All rights reserved.
*
* Use of this source code is governed by an MIT-style license that can be found in the LICENSE file
* or at https://opensource.org/licenses/MIT.
*/
import { Control, ProducerAdapter } from '@mdf.js/openc2-core';
import { AdapterOptions } from '../../types';
import { DummyAdapter } from './DummyAdapter';
export declare class DummyProducerAdapter extends DummyAdapter implements ProducerAdapter {
/**
* Create a new OpenC2 adapter for Dummy
* @param adapterOptions - Adapter configuration options
*/
constructor(adapterOptions: AdapterOptions);
/**
* Perform the publication of the message in the underlayer transport system
* @param message - message to be published
* @returns
*/
publish(message: Control.CommandMessage): Promise<Control.ResponseMessage | Control.ResponseMessage[] | void>;
}
//# sourceMappingURL=DummyProducerAdapter.d.ts.map