blob: 8205a60bae8f91903f42f542d740a6d577cb4df7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// **********************************************************************
//
// 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 <IceE/IceE.h>
#include <HelloI.h>
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();
}
|