BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
ServerExitHandler.cxx
Go to the documentation of this file.
1#include "DistBossServer/ServerExitHandler.h"
2#include <iostream>
3
5{
6}
7
8void ServerExitHandler::exitHandler(int code) {
9 std::cerr << "[WARNING] Received EXIT command from ["
10 << DimServer::getClientName() << "] with code: " << code << std::endl;
11 std::cerr << "[WARNING] EXIT command from client is FORBIDDEN, ignore it!" << std::endl;
12}