diff options
Diffstat (limited to 'cppe/demo/IceE/hello/HelloI.cpp')
-rw-r--r-- | cppe/demo/IceE/hello/HelloI.cpp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/cppe/demo/IceE/hello/HelloI.cpp b/cppe/demo/IceE/hello/HelloI.cpp deleted file mode 100644 index ab489e158ac..00000000000 --- a/cppe/demo/IceE/hello/HelloI.cpp +++ /dev/null @@ -1,30 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 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 <HelloI.h> -#include <IceE/IceE.h> - -using namespace std; - -void -HelloI::sayHello(int delay, const Ice::Current&) const -{ - if(delay != 0) - { - IceUtil::ThreadControl::sleep(IceUtil::Time::milliSeconds(delay)); - } - printf("Hello World!\n"); -} - -void -HelloI::shutdown(const Ice::Current& c) -{ - printf("Shutting down...\n"); - c.adapter->getCommunicator()->shutdown(); -} |