L:/channel/channel/examples/hier_id_text_recv/recv.cpp File Reference

#include <iostream>
#include <string>
#include <Channel.h>

Go to the source code of this file.

Namespaces

namespace  std

Classes

struct  Test_String_Msg
class  My_Callback

Typedefs

typedef StringPathId<'/'> IdType
typedef Channel< IdType, IdTrait<
IdType >, ACE_MT_SYNCH, TrieRouter<
IdType, IdTrait< IdType >,
ACE_MT_SYNCH > > 
Chan
typedef Chan::Msg ChanMsg

Functions

int main (int argc, char **argv)

Variables

IdType PING_MSG = "/APP/PING"
IdType PONG_MSG = "/APP/PONG"
IdType TEST_STRING_MSG = "/APP/TEST"
IdType APP_WILDCARD_MSG = "/APP/*"


Typedef Documentation

typedef Channel<IdType, IdTrait<IdType>, ACE_MT_SYNCH, TrieRouter<IdType, IdTrait<IdType>, ACE_MT_SYNCH> > Chan
 

Definition at line 31 of file recv.cpp.

typedef Chan::Msg ChanMsg
 

Definition at line 32 of file recv.cpp.

typedef StringPathId<'/'> IdType
 

Definition at line 29 of file recv.cpp.


Function Documentation

int main int  argc,
char **  argv
 

Definition at line 67 of file recv.cpp.

References channel::FAILURE.


Variable Documentation

IdType APP_WILDCARD_MSG = "/APP/*"
 

Definition at line 41 of file recv.cpp.

IdType PING_MSG = "/APP/PING"
 

Definition at line 38 of file recv.cpp.

Referenced by Pong_Task::cleanup(), Ping_Task::cleanup(), Pong_Task::prepare(), Ping_Task::prepare(), Pong_Task::send_ping_pong(), Pong_Task::work(), and Ping_Task::work().

IdType PONG_MSG = "/APP/PONG"
 

Definition at line 39 of file recv.cpp.

Referenced by Pong_Task::cleanup(), Ping_Task::cleanup(), Pong_Task::prepare(), Ping_Task::prepare(), Pong_Task::work(), and Ping_Task::work().

IdType TEST_STRING_MSG = "/APP/TEST"
 

Definition at line 40 of file recv.cpp.

Referenced by ACE_TMAIN(), Demo_Task::cleanup(), Ctrl_Task::cleanup(), Demo_Task::prepare(), Ctrl_Task::prepare(), and Demo_Task::work().


Generated on Mon Feb 27 19:59:22 2006 for channel by  doxygen 1.4.6-NO