diff options
author | crodrigu <crodrigu@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-07-30 21:04:45 +0000 |
---|---|---|
committer | crodrigu <crodrigu@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-07-30 21:04:45 +0000 |
commit | dc406b918a720b5914fa9c5080929ed869a08d18 (patch) | |
tree | 192e2f975941cf528af0616b3efdfd9e0ec80101 /TAO | |
parent | 4cb2012dab9ed1b4cb7425a435ed3fad2d4a05b6 (diff) | |
download | ATCD-dc406b918a720b5914fa9c5080929ed869a08d18.tar.gz |
ChangeLogTag: Tue Jul 30 21:02:57 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
Diffstat (limited to 'TAO')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp | 5 | ||||
-rw-r--r-- | TAO/orbsvcs/tests/AVStreams/Full_Profile/README | 26 |
2 files changed, 28 insertions, 3 deletions
diff --git a/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp b/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp index 7b48b5be175..c4b1bc9f7f2 100644 --- a/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp +++ b/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp @@ -2484,7 +2484,10 @@ TAO_StreamEndPoint::add_fep_i_add_property (AVStreams::FlowEndPoint_ptr fep // exception implies the flow name is not defined and is system // generated. flow_name = "flow"; - flow_name += this->flow_num_++; + char tmp[255]; + ACE_OS::sprintf (tmp, "%u", this->flow_num_++); + flow_name += tmp; + CORBA::Any flowname_any; flowname_any <<= flow_name.c_str (); fep->define_property ("Flow", diff --git a/TAO/orbsvcs/tests/AVStreams/Full_Profile/README b/TAO/orbsvcs/tests/AVStreams/Full_Profile/README index b9762e3259b..cbbbe9ea837 100644 --- a/TAO/orbsvcs/tests/AVStreams/Full_Profile/README +++ b/TAO/orbsvcs/tests/AVStreams/Full_Profile/README @@ -1,6 +1,28 @@ This directory contains a simple file transfer test program for the -Full Profile in the TAO's Audio/Video Streaming -Service. This program can be run using UDP by default +Full Profile in the TAO's Audio/Video Streaming Service. + +This example follows the sequence of steps for using the Full Profile +as outlined in the following section of the Audio/Video Streams +specification: +http://www.omg.org/technology/documents/formal/audio.htm +http://www.omg.org/cgi-bin/doc?formal/2000-01-03 + +This is from Section 2.3.8, The FlowConnection: + +=================================================================================== +- User A adds some flowendpoints to an instance of a full profile implementation of + StreamEndPoint_A (myA) by calling myA->add_fep(aFEP); +- User B adds some FEPs to an instance of a full profile implementation of + StreamEndPoint_B (theirB). +User C creates a StreamCtrl and calls aSC->bind(myA,theirB,someQoS,nilflowSpec) + +The bind() algorithm will find which pairs of FlowEndPoints are compatible +between myA and theirB and create a FlowConnection for each pair of +FlowEndPoints. Each flow connection within a stream can be individually +accessed and manipulated. +=================================================================================== + +This program can be run using UDP by default Executable Options: ------------------- |