#include <DCDT_LinkRx.h>
Inheritance diagram for DCDT_LinkRx:
Public Member Functions | |
DCDT_LinkRx (DCDT_Agora *agora, int id, int r_id) | |
~DCDT_LinkRx () | |
CommData * | Prepare (int stat, CommData *l_cd, CommData *r_cd) |
Prepare the data structures and open the local channel part. | |
void | Init () |
void | DoYourJob (int par=0) |
FSM for the LinkRx member. | |
CommData * | Restart (int restart_status, CommData *l_cd, CommData *r_cd) |
CommData * | GetCommData () |
void | ResetToConnecting (CommData *l_cd, CommData *r_cd) |
void | ChangeStatus (int newstat) |
int | ReadStatus () |
int | ReadRemoteID () |
void | SetCDs (CommData *l_cd, CommData *r_cd) |
void | Close () |
Private Attributes | |
int | linkID |
int | remoteID |
int | creation_status |
int | status |
int | restart_counter |
int | lost_counter |
DCDT_Channel * | channel |
Channel implementation. | |
unsigned int | mymask [NUMINT_MSGTYPE] |
CommData * | localCD |
CommData * | remoteCD |
int | i |
DCDT_Msg * | msgrcv |
Last message received. | |
unsigned int * | subs_mask_rcv |
Message subscription mask receveid from the remote Agora. | |
DCDT_LinkTx * | LinkTxPtr |
Pointer to the transmission part of this channel. |
This member implements only channel policies for the message reception, the real reception was implements in the DCDT_Channel specified by channel. The main goals for this member are:
Definition at line 40 of file DCDT_LinkRx.h.
|
Definition at line 33 of file DCDT_LinkRx.cpp. References i, linkID, LinkTxPtr, localCD, msgrcv, mymask, remoteCD, remoteID, restart_counter, and status. |
|
Definition at line 43 of file DCDT_LinkRx.h. |
|
Definition at line 51 of file DCDT_LinkRx.h. References status. Referenced by DCDT_LinkTx::DoYourJob(). |
|
Reimplemented from DCDT_Member. Definition at line 229 of file DCDT_LinkRx.cpp. References channel, and DCDT_Channel::Close(). Referenced by DoYourJob(). |
|
|
Definition at line 208 of file DCDT_LinkRx.cpp. References channel, and DCDT_Channel::GetCommData(). |
|
Reimplemented from DCDT_Member. Definition at line 46 of file DCDT_LinkRx.cpp. |
|
Prepare the data structures and open the local channel part. l_cd must be specified, at exit every null field will contains values defined by the kernel.
Definition at line 55 of file DCDT_LinkRx.cpp. References channel, CommData::CreateChannel(), creation_status, DCDT_TRC_COMM, DCDT_Channel::GetCommData(), DCDT_Channel::Open(), DCDT_Channel::Prepare(), DCDT_Channel::SetTimers(), status, and TRC_PRINT. Referenced by DCDT_InnerLinkManager::CreateLink(), and DCDT_Finder::CreateLink(). |
|
Definition at line 53 of file DCDT_LinkRx.h. Referenced by DCDT_Finder::IsPresent(). |
|
Definition at line 52 of file DCDT_LinkRx.h. Referenced by DCDT_Finder::DoYourJob(). |
|
Definition at line 213 of file DCDT_LinkRx.cpp. References SetCDs(), and status. Referenced by DCDT_Finder::DoYourJob(). |
|
Definition at line 198 of file DCDT_LinkRx.cpp. References channel, creation_status, DCDT_Channel::GetCommData(), DCDT_Channel::Prepare(), DCDT_Channel::Reopen(), DCDT_Channel::SetTimers(), and status. Referenced by DoYourJob(), and DCDT_Finder::DoYourJob(). |
|
Definition at line 219 of file DCDT_LinkRx.cpp. References localCD, and remoteCD. Referenced by ResetToConnecting(). |
|
Channel implementation.
Definition at line 66 of file DCDT_LinkRx.h. Referenced by Close(), DoYourJob(), GetCommData(), Prepare(), and Restart(). |
|
Definition at line 63 of file DCDT_LinkRx.h. |
|
Definition at line 70 of file DCDT_LinkRx.h. Referenced by DCDT_LinkRx(). |
|
Definition at line 62 of file DCDT_LinkRx.h. Referenced by DCDT_LinkRx(), and DoYourJob(). |
|
Pointer to the transmission part of this channel.
Definition at line 79 of file DCDT_LinkRx.h. Referenced by DCDT_LinkRx(), and DoYourJob(). |
|
Definition at line 69 of file DCDT_LinkRx.h. Referenced by DCDT_LinkRx(), DoYourJob(), and SetCDs(). |
|
Definition at line 63 of file DCDT_LinkRx.h. Referenced by DoYourJob(). |
|
Last message received.
Definition at line 73 of file DCDT_LinkRx.h. Referenced by DCDT_LinkRx(), and DoYourJob(). |
|
Definition at line 68 of file DCDT_LinkRx.h. Referenced by DCDT_LinkRx(). |
|
Definition at line 69 of file DCDT_LinkRx.h. Referenced by DCDT_LinkRx(), DoYourJob(), and SetCDs(). |
|
Definition at line 62 of file DCDT_LinkRx.h. Referenced by DCDT_LinkRx(), and DoYourJob(). |
|
Definition at line 63 of file DCDT_LinkRx.h. Referenced by DCDT_LinkRx(). |
|
Definition at line 63 of file DCDT_LinkRx.h. Referenced by ChangeStatus(), DCDT_LinkRx(), DoYourJob(), Prepare(), ResetToConnecting(), and Restart(). |
|
Message subscription mask receveid from the remote Agora.
Definition at line 76 of file DCDT_LinkRx.h. Referenced by DoYourJob(). |