summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/AVStreams/Latency/pong.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/AVStreams/Latency/pong.h')
-rw-r--r--TAO/orbsvcs/tests/AVStreams/Latency/pong.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/TAO/orbsvcs/tests/AVStreams/Latency/pong.h b/TAO/orbsvcs/tests/AVStreams/Latency/pong.h
index 5390bec5391..af52b9a70f7 100644
--- a/TAO/orbsvcs/tests/AVStreams/Latency/pong.h
+++ b/TAO/orbsvcs/tests/AVStreams/Latency/pong.h
@@ -19,7 +19,6 @@
#include "orbsvcs/AV/AVStreams_i.h"
#include "orbsvcs/AV/Policy.h"
#include "orbsvcs/AV/Flows_T.h"
-#include "ace/Stats.h"
class Pong_Recv_Callback : public TAO_AV_Callback
{
@@ -47,11 +46,19 @@ private:
class Ping_Send_Callback : public TAO_AV_Callback
{
public:
+ Ping_Send_Callback (void);
virtual int handle_timeout (void *arg);
virtual int handle_end_stream (void);
virtual void get_timeout (ACE_Time_Value *&tv,
void *&arg);
+
+private:
+ ACE_Time_Value timeout_;
+ // the timeout value
+
+ ACE_Message_Block frame_;
+ // Pre-allocate the message block to send...
};
class Ping_Send : public TAO_FlowProducer