summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/AVStreams
diff options
context:
space:
mode:
authorsumedh <sumedh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-04-27 23:39:55 +0000
committersumedh <sumedh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-04-27 23:39:55 +0000
commit7c8a2574ea69ca08f278c77728445d8f1b7a0201 (patch)
tree46ee94cbff121f3f70e11728faeafb0a096719bf /TAO/orbsvcs/tests/AVStreams
parent8ac157d0e30d8f065252e4a1d7c4d48800f5b3cd (diff)
downloadATCD-7c8a2574ea69ca08f278c77728445d8f1b7a0201.tar.gz
CVS:
CVS: CVS: CVS:
Diffstat (limited to 'TAO/orbsvcs/tests/AVStreams')
-rw-r--r--TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Server.cpp22
1 files changed, 12 insertions, 10 deletions
diff --git a/TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Server.cpp b/TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Server.cpp
index 375a0b9032e..54d44752c7d 100644
--- a/TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Server.cpp
+++ b/TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Server.cpp
@@ -252,16 +252,6 @@ Video_Server::init (int argc,
{
int result;
- if (this->initialize_orb (argc,
- argv,
- env) == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "(%P|%t) Video_Server: orb initialization failed!"),
- -1);
-
- ACE_DEBUG ((LM_DEBUG,
- "(%P|%t) Video_Server::init () ORB init success \n"));
-
// Create the video vdev and video server stream endpoint
ACE_NEW_RETURN (this->video_vdev_,
@@ -272,6 +262,16 @@ Video_Server::init (int argc,
Video_Server_StreamEndPoint,
-1);
+ if (this->initialize_orb (argc,
+ argv,
+ env) == -1)
+ ACE_ERROR_RETURN ((LM_ERROR,
+ "(%P|%t) Video_Server: orb initialization failed!"),
+ -1);
+
+ ACE_DEBUG ((LM_DEBUG,
+ "(%P|%t) Video_Server::init () ORB init success \n"));
+
// @@ Can you please change the use of "fd" to "handle" globally?
// Set the global socket fd's from the arguments.
int max_pkt_size = -INET_SOCKET_BUFFER_SIZE;
@@ -312,7 +312,9 @@ Video_Server::init (int argc,
int
Video_Server::run (CORBA::Environment &env)
{
+ ACE_DEBUG ((LM_DEBUG, "(%P|%t) Entering ORB event loop\n"));
return this->orb_manager_.run (env);
+ ACE_DEBUG ((LM_DEBUG, "(%P|%t) ORB event loop done\n"));
}
int