blob: bd01a892fed7a91e537709ae7e95326143eccbd3 (
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
27
28
29
30
31
32
33
34
|
// **********************************************************************
//
// Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
//
// This copy of Ice Protobuf is licensed to you under the terms
// described in the ICE_PROTOBUF_LICENSE file included in this
// distribution.
//
// **********************************************************************
#include <TestI.h>
#include <Ice/Ice.h>
using namespace std;
using namespace Ice;
test::Message
MyClassI::opMessage(const test::Message& i, test::Message& o, const Ice::Current&)
{
o = i;
return i;
}
void
MyClassI::opMessageAMD_async(const Test::AMD_MyClass_opMessageAMDPtr& cb, const test::Message& i, const Ice::Current&)
{
cb->ice_response(i, i);
}
void
MyClassI::shutdown(const Ice::Current& current)
{
current.adapter->getCommunicator()->shutdown();
}
|