// ********************************************************************** // // Copyright (c) 2003-2006 ZeroC, Inc. All rights reserved. // // This copy of Ice-E is licensed to you under the terms described in the // ICEE_LICENSE file included in this distribution. // // ********************************************************************** #include #include using namespace std; void HelloI::sayHello(const Ice::Current& c) const { printf("Hello World!\n"); } void HelloI::shutdown(const Ice::Current& c) { printf("Shutting down...\n"); c.adapter->getCommunicator()->shutdown(); }