blob: 7394bb4f5a3cc4ee00bfdbd2668d55ad346174b3 (
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
35
|
// **********************************************************************
//
// Copyright (c) 2003-2006 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
#include <Glacier2/ServerBlobject.h>
using namespace std;
using namespace Ice;
using namespace Glacier2;
Glacier2::ServerBlobject::ServerBlobject(const CommunicatorPtr& communicator, const ConnectionPtr& connection) :
Glacier2::Blobject(communicator, true, Ice::Context()),
_connection(connection)
{
}
Glacier2::ServerBlobject::~ServerBlobject()
{
}
void
Glacier2::ServerBlobject::ice_invoke_async(const Ice::AMD_Array_Object_ice_invokePtr& amdCB,
const std::pair<const Byte*, const Byte*>& inParams,
const Current& current)
{
ObjectPrx proxy = _connection->createProxy(current.id);
assert(proxy);
invoke(proxy, amdCB, inParams, current);
}
|