}
public stop(): void {
- this.server.close();
+ this.chargingStations.clear();
}
public sendRequest(request: string): void {
}
public sendResponse(response: string): void {
+ // TODO: send response only to the client that sent the request
this.broadcastToClients(response);
}