blob: 419ad646a448b57f8b00bf93f68da28efcc60c29 (
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
36
37
|
//
// $Id$
//
#include "BlobServer.h"
ACE_RCSID(BlobServerImpl, BlobServerImpl, "$Id$")
BlobServerImpl::BlobServerImpl (CORBA::ORB_ptr orb)
: orb_ (CORBA::ORB::_duplicate (orb))
{
}
/// Implement the BlobServer interface
void
BlobServerImpl::test(
BlobType1& blob1,
BlobType2& blob2
)
{
blob1.length(10);
for(int i = 0; i < 10; i++)
{
blob1[i] = 'A' + i;
}
blob2.length(10);
for(int i = 0; i < 10; i++)
{
blob2[i] = 'A' + i;
}
}
void
BlobServerImpl::shutdown (void)
{
this->orb_->shutdown (0);
}
|