More work on lib
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { types } from "@aas-core-works/aas-core3.0rc02-typescript";
|
||||
import type AASInterfaceServer from "server";
|
||||
import type { PossibleRequests } from "server";
|
||||
import type { Request } from "types/requests";
|
||||
import type InterfaceConnectionObject from "interfaceConnectionObject";
|
||||
import AASStore from "aasStore";
|
||||
|
||||
@@ -9,11 +9,11 @@ class MultiMessageBroker {
|
||||
|
||||
private serverInterfaces: Array<typeof AASInterfaceServer> = [];
|
||||
private serverInterfaceConfigs: Array<any> = [];
|
||||
private serverInstances: Array<AASInterfaceServer<any>|null> = [];
|
||||
private serverInstances: Array<AASInterfaceServer<typeof this.serverInterfaceConfigs[keyof typeof this.serverInterfaceConfigs]>|null> = [];
|
||||
|
||||
private connectorInterfaces: Array<typeof InterfaceConnectionObject> = [];
|
||||
private connectorConfigs: Array<any> = [];
|
||||
private connectorInstances: Array<InterfaceConnectionObject<any>|null> = [];
|
||||
private connectorInstances: Array<InterfaceConnectionObject<typeof this.connectorConfigs[keyof typeof this.connectorConfigs]>|null> = [];
|
||||
|
||||
public constructor() {}
|
||||
|
||||
@@ -51,7 +51,11 @@ class MultiMessageBroker {
|
||||
});
|
||||
}
|
||||
|
||||
private onInterfaceRequest(request: PossibleRequests) {
|
||||
private connectorConfigsFromAAS(aas: types.Environment): void {
|
||||
// TODO
|
||||
}
|
||||
|
||||
private onInterfaceRequest(request: Request) {
|
||||
// TODO
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user