blob: 6c1c7f310bad850a519dc6058de704300e7d9eb5 (
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
|
#include "BlobServer.h"
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);
}
|