Reference

ACE_Thru_Task(3)

Standard module that acts as a "no op", simply passing on all data to its adjacent neighbor.

NAME

ACE_Thru_Task - Standard module that acts as a "no op", simply passing on all data to its adjacent neighbor.

SYNOPSIS

#include <ace/Stream_Modules.h>
template<ACE_SYNCH_DECL>
class ACE_Thru_Task : public ACE_Task<ACE_SYNCH_USE>
{
  public:
    ACE_Thru_Task (void);
    ~ACE_Thru_Task (void);
    virtual int open (void *a = 0);
    virtual int close (u_long flags = 0);
    virtual int put (ACE_Message_Block *msg, ACE_Time_Value * = 0);
    virtual int svc (void);
    virtual int init (int argc, ASYS_TCHAR *argv[]);
    virtual int info (ASYS_TCHAR **info_string, size_t length) const;
    virtual int fini (void);
    void dump (void) const;
    ACE_ALLOC_HOOK_DECLARE;
};

ACE_Task hooks

virtual int open (void *a = 0);

virtual int close (u_long flags = 0);

virtual int put (ACE_Message_Block *msg, ACE_Time_Value * = 0);

virtual int svc (void);

Dynamic linking hooks

virtual int init (int argc, ASYS_TCHAR *argv[]);

virtual int info (ASYS_TCHAR **info_string, size_t length) const;

virtual int fini (void);

void dump (void) const;

Dump the state of an object.

ACE_ALLOC_HOOK_DECLARE;

Declare the dynamic allocation hooks.

AUTHOR

Doug Schmidt

LIBRARY

ace