+export type ProtocolRequest = [string, ProcedureName, RequestPayload]
+export type ProtocolResponse = [string, ResponsePayload]
+
+export type ProtocolRequestHandler = (
+ uuid?: string,
+ procedureName?: ProcedureName,
+ payload?: RequestPayload
+) => undefined | Promise<undefined> | ResponsePayload | Promise<ResponsePayload>
+
+export enum ProcedureName {
+ START_SIMULATOR = 'startSimulator',
+ STOP_SIMULATOR = 'stopSimulator',
+ LIST_TEMPLATES = 'listTemplates',
+ LIST_CHARGING_STATIONS = 'listChargingStations',
+ ADD_CHARGING_STATIONS = 'addChargingStations',
+ DELETE_CHARGING_STATIONS = 'deleteChargingStations',
+ PERFORMANCE_STATISTICS = 'performanceStatistics',
+ START_CHARGING_STATION = 'startChargingStation',
+ STOP_CHARGING_STATION = 'stopChargingStation',
+ OPEN_CONNECTION = 'openConnection',
+ CLOSE_CONNECTION = 'closeConnection',
+ START_AUTOMATIC_TRANSACTION_GENERATOR = 'startAutomaticTransactionGenerator',
+ STOP_AUTOMATIC_TRANSACTION_GENERATOR = 'stopAutomaticTransactionGenerator',
+ SET_SUPERVISION_URL = 'setSupervisionUrl',