Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tests / Bug_1020_Basic_Regression / Server_Task.cpp
blob636bf70bd7bed447e43a88ce6a5d661bb3d58e91
1 #include "Server_Task.h"
3 Server_Task::Server_Task (Test::Echo_ptr echo)
4 : echo_ (Test::Echo::_duplicate (echo))
8 int
9 Server_Task::svc ()
11 Test::Payload payload (32768);
12 payload.length (32768);
14 try
16 // Send messages till the remote guy crashes
17 for (;;)
19 this->echo_->echo_payload (payload);
22 catch (const CORBA::Exception&)
24 return -1;
27 ACE_NOTREACHED (return 0);