Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

TAO_Transport_Sync_Strategy Class Reference

#include <Sync_Strategies.h>

Inheritance diagram for TAO_Transport_Sync_Strategy:

Inheritance graph
[legend]
Collaboration diagram for TAO_Transport_Sync_Strategy:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual int must_queue (int queue_empty)
 Return 1 if a message must be queued. More...

virtual int buffering_constraints_reached (TAO_Stub *stub, size_t msg_count, size_t total_bytes, int &must_flush, const ACE_Time_Value &current_deadline, int &set_timer, ACE_Time_Value &interval)
 Return 1 if it is time to start. More...


Member Function Documentation

int TAO_Transport_Sync_Strategy::buffering_constraints_reached TAO_Stub   stub,
size_t    msg_count,
size_t    total_bytes,
int &    must_flush,
const ACE_Time_Value   current_deadline,
int &    set_timer,
ACE_Time_Value   interval
[virtual]
 

Return 1 if it is time to start.

Parameters:
stub  The object used to make the request, this is used to obtain the policies currently in effect for the request
msg_count  The number of messages currently queued
total_bytes  Number of bytes currently queued
set_timer  Returns 1 if a timer should be set to drain the queue
interval  If set_timer returns 1, this parameter contains the timer interval

Implements TAO_Sync_Strategy.

Definition at line 32 of file Sync_Strategies.cpp.

00039 {
00040   set_timer = 0;
00041   must_flush = 1;
00042   return 1;
00043 }

int TAO_Transport_Sync_Strategy::must_queue int    queue_empty [virtual]
 

Return 1 if a message must be queued.

Implements TAO_Sync_Strategy.

Definition at line 25 of file Sync_Strategies.cpp.

00026 {
00027   return 0;
00028 }


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 15:44:49 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002