blob: 68aa852fefe2fce4d308fdc6128a0eed30b0df5d (
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
|
/**
* @file Echo.cpp
*
* $Id$
*
* @author Carlos O'Ryan <coryan@atdesk.com>
*
*/
#include "Echo.h"
ACE_RCSID(Notify_Crash, Echo, "$Id$")
Echo::Echo(CORBA::ORB_ptr orb)
: orb_(CORBA::ORB::_duplicate(orb))
{
}
Test::Payload *
Echo::echo_payload(Test::Payload const &
TAO_ENV_ARG_DECL_NOT_USED)
ACE_THROW_SPEC((CORBA::SystemException))
{
ACE_Time_Value tick(0, 10000);
orb_->run(tick);
Test::Payload_var pload(new Test::Payload);
pload->length(1024);
return pload._retn();
}
|