00001 #include "DistBossServer/ServerExitHandler.h" 00002 #include <iostream> 00003 00004 ServerExitHandler::ServerExitHandler() 00005 { 00006 } 00007 00008 void ServerExitHandler::exitHandler(int code) { 00009 std::cerr << "[WARNING] Received EXIT command from [" 00010 << DimServer::getClientName() << "] with code: " << code << std::endl; 00011 std::cerr << "[WARNING] EXIT command from client is FORBIDDEN, ignore it!" << std::endl; 00012 }