diff options
author | naga <naga@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-05-17 17:58:39 +0000 |
---|---|---|
committer | naga <naga@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-05-17 17:58:39 +0000 |
commit | aba627de2961b31aa756b1b8ae8bc903f85541d2 (patch) | |
tree | bb01d7964e2e9b6e459ecf77a06a8274a11483fd /TAO/orbsvcs/tests/AVStreams/benchmark/child.cpp | |
parent | c6df11d475d760b946f722e660b86f0a8bc11c47 (diff) | |
download | ATCD-aba627de2961b31aa756b1b8ae8bc903f85541d2.tar.gz |
*** empty log message ***
Diffstat (limited to 'TAO/orbsvcs/tests/AVStreams/benchmark/child.cpp')
-rw-r--r-- | TAO/orbsvcs/tests/AVStreams/benchmark/child.cpp | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/TAO/orbsvcs/tests/AVStreams/benchmark/child.cpp b/TAO/orbsvcs/tests/AVStreams/benchmark/child.cpp new file mode 100644 index 00000000000..bb410808094 --- /dev/null +++ b/TAO/orbsvcs/tests/AVStreams/benchmark/child.cpp @@ -0,0 +1,63 @@ +// $Id$ + + +#include "child.h" +// Bench_Server_StreamEndPoint methods. + +int +Bench_Server_StreamEndPoint::handle_open (void) +{ + return 0; +} + +int +Bench_Server_StreamEndPoint::handle_close (void) +{ + // called when streamendpoint is being destructed + return 0; +} + +int +Bench_Server_StreamEndPoint::handle_stop (const AVStreams::flowSpec &the_spec, + CORBA::Environment &env) +{ + return 0; +} + +int +Bench_Server_StreamEndPoint::handle_start (const AVStreams::flowSpec &the_spec, + CORBA::Environment &env) +{ + return 0; +} + +int +Bench_Server_StreamEndPoint::handle_destroy (const AVStreams::flowSpec &the_spec, + CORBA::Environment &env) +{ + return 0; +} + +CORBA::Boolean +Bench_Server_StreamEndPoint::handle_connection_requested (AVStreams::flowSpec &the_spec, + CORBA::Environment &env) +{ + ACE_DEBUG ((LM_DEBUG,"(%P|%t) Bench_Server_StreamEndPoint::handle_connection_requested:() %s \n", + the_spec[0])); + return CORBA::B_TRUE; +} + +// -------------------------------------------------------------------------------- + +int +main (int argc, char **argv) +{ + TAO_AV_Child_Process_B<Bench_Server_StreamEndPoint,TAO_VDev,AV_Null_MediaCtrl> bench_child; + + if (bench_child.init (argc,argv) == -1) + return 1; + if (bench_child.run () == -1) + return 2; + + return 0; +} |