#include <Interface.h>
Inheritance diagram for channel::LocalInterface< Channel >:
Public Types | |
typedef Channel::IdType | IdType |
typedef Channel::IdTrait | IdTrait |
typedef Channel::Msg | Msg |
typedef Channel::Source | Source |
typedef Channel::Destination | Destination |
typedef Channel::Channel_Info_Msg | Channel_Info_Msg |
typedef Channel::PubSub_Info_Msg | PubSub_Info_Msg |
typedef Binder< typename Channel::IdType, typename Channel::IdTrait > | Binder |
typedef Filter< typename Channel::IdType, typename Channel::IdTrait > | Filter |
typedef Translator< typename Channel::IdType, typename Channel::IdTrait > | Translator |
Public Member Functions | |
LocalInterface (Channel *chan, Binder *binder) | |
Member_Type | type () |
Status | put_msg (Msg *msg, ACE_Time_Value *timeout=NULL) |
Status | send_msg (Msg *msg, ACE_Time_Value *timeout=0) |
Public Attributes | |
LocalInterface * | peer_interface_ |
my peer, the interface at the other end of connection to a local peer channel | |
Filter * | filter_ |
filter & translators: policies for remote connections | |
Translator * | translator_ |
Definition at line 104 of file Interface.h.
|
Definition at line 113 of file Interface.h. |
|
Definition at line 111 of file Interface.h. |
|
Definition at line 110 of file Interface.h. |
|
Definition at line 114 of file Interface.h. |
|
Definition at line 107 of file Interface.h. |
|
Definition at line 106 of file Interface.h. |
|
Definition at line 108 of file Interface.h. |
|
Definition at line 112 of file Interface.h. |
|
Definition at line 109 of file Interface.h. |
|
Definition at line 115 of file Interface.h. |
|
Definition at line 117 of file Interface.h. References channel::Binder< IdType, IdTrait >::filter, channel::LocalInterface< Channel >::filter_, channel::Binder< IdType, IdTrait >::translator, and channel::LocalInterface< Channel >::translator_. |
|
|
implement Source (of owner channel) methods allow remote peer send msgs to owner channel do nothing Q: why need this-> Q: why this-> remote msgs only for local destinations application msgs go to Channel forward all msgs to owner channels Definition at line 155 of file Interface.h. References channel::Filter< IdType, IdTrait >::block_outward(), channel::Interface< Channel >::ch_, channel::Msg< IdType, SynchPolicy >::data(), channel::LocalInterface< Channel >::filter_, ID2STR, channel::PubSub_Info_Msg< IdType >::msg_types, channel::PubSub_Info_Msg< IdType >::num_msg_types, channel::LocalInterface< Channel >::peer_interface_, channel::SCOPE_LOCAL, channel::SCOPE_UNDEFINED, and channel::Msg< IdType, SynchPolicy >::type. Referenced by channel::LocalConnector< Channel >::connect(), and channel::LocalInterface< Channel >::put_msg(). |
|
implement Destination (of owner channel) methods forward msgs from owner channel to remote peer Definition at line 129 of file Interface.h. References channel::MEMBER_REMOTE. |
|
filter & translators: policies for remote connections
Definition at line 233 of file Interface.h. Referenced by channel::LocalConnector< Channel >::connect(), channel::LocalInterface< Channel >::LocalInterface(), and channel::LocalInterface< Channel >::send_msg(). |
|
my peer, the interface at the other end of connection to a local peer channel
Definition at line 231 of file Interface.h. Referenced by channel::LocalConnector< Channel >::connect(), channel::LocalInterface< Channel >::put_msg(), and channel::LocalInterface< Channel >::send_msg(). |
|
Definition at line 234 of file Interface.h. Referenced by channel::LocalInterface< Channel >::LocalInterface(), and channel::LocalInterface< Channel >::put_msg(). |