#include <DCDT_Link.h>
Inheritance diagram for DCDT_Link:
Public Member Functions | |
DCDT_Link (DCDT_Agora *agora, int id, int r_id) | |
~DCDT_Link () | |
CommData * | Prepare (int stat, CommData *l_cd, CommData *r_cd) |
void | Init () |
void | Close () |
void | DoYourJob (int par=0) |
void | Subscribe (unsigned int *mask) |
CommData * | GetCommData () |
CommData * | Restart (int restart_status, CommData *l_cd, CommData *r_cd) |
void | ResetToConnecting (CommData *l_cd, CommData *r_cd) |
void | ChangeStatus (int newstat) |
int | ReadStatus () |
int | ReadRemoteID () |
void | SetCDs (CommData *l_cd, CommData *r_cd) |
Private Attributes | |
int | linkID |
int | remoteID |
int | creation_status |
int | status |
int | restart_counter |
int | lost_counter |
DCDT_Channel * | channel |
unsigned int | mymask [NUMINT_MSGTYPE] |
CommData * | localCD |
CommData * | remoteCD |
DCDT_Msg * | msgsub |
DCDT_Msg * | msgrcv |
unsigned int * | subs_mask_rcv |
unsigned int | subs_mask [NUMINT_MSGTYPE] |
int | i |
|
Definition at line 31 of file DCDT_Link.cpp. References DCDT_Member::CreateMsg(), i, linkID, localCD, msgrcv, msgsub, MT_SUBSUPD, mymask, NUMINT_MSGTYPE, remoteCD, remoteID, restart_counter, DCDT_Msg::SetDeliveryWarranty(), DCDT_Msg::SetPayload(), status, subs_mask, and TCP_WARRANTY. |
|
Definition at line 37 of file DCDT_Link.h. |
|
Definition at line 228 of file DCDT_Link.cpp. References status. |
|
Reimplemented from DCDT_Member. Definition at line 53 of file DCDT_Link.cpp. References channel, and DCDT_Channel::Close(). Referenced by DoYourJob(). |
|
|
Definition at line 205 of file DCDT_Link.cpp. References channel, and DCDT_Channel::GetCommData(). |
|
Reimplemented from DCDT_Member. Definition at line 48 of file DCDT_Link.cpp. |
|
Definition at line 64 of file DCDT_Link.cpp. References channel, CommData::CreateChannel(), creation_status, DCDT_Channel::GetCommData(), DCDT_Member::myAgoraID, DCDT_Channel::Open(), DCDT_Channel::Prepare(), DCDT_Channel::SetTimers(), and status. |
|
Definition at line 49 of file DCDT_Link.h. References remoteID. |
|
Definition at line 48 of file DCDT_Link.h. References status. |
|
Definition at line 221 of file DCDT_Link.cpp. References L_RESETTOCONN, SetCDs(), and status. |
|
Definition at line 211 of file DCDT_Link.cpp. References channel, creation_status, DCDT_Channel::GetCommData(), linkID, DCDT_Channel::Prepare(), DCDT_Channel::Reopen(), DCDT_Channel::SetTimers(), and status. Referenced by DoYourJob(). |
|
Definition at line 233 of file DCDT_Link.cpp. References localCD, and remoteCD. Referenced by ResetToConnecting(). |
|
Definition at line 189 of file DCDT_Link.cpp. References DBG_COMM_PRINTF, i, NUMINT_MSGTYPE, and DCDT_Member::SubscribeMsgType(). Referenced by DoYourJob(). |
|
Definition at line 55 of file DCDT_Link.h. Referenced by Close(), DoYourJob(), GetCommData(), Prepare(), and Restart(). |
|
Definition at line 54 of file DCDT_Link.h. |
|
Definition at line 60 of file DCDT_Link.h. Referenced by DCDT_Link(), and Subscribe(). |
|
Definition at line 53 of file DCDT_Link.h. Referenced by DCDT_Link(), DoYourJob(), and Restart(). |
|
Definition at line 57 of file DCDT_Link.h. Referenced by DCDT_Link(), DoYourJob(), and SetCDs(). |
|
Definition at line 54 of file DCDT_Link.h. Referenced by DoYourJob(). |
|
Definition at line 58 of file DCDT_Link.h. Referenced by DCDT_Link(), and DoYourJob(). |
|
Definition at line 58 of file DCDT_Link.h. Referenced by DCDT_Link(), and DoYourJob(). |
|
Definition at line 56 of file DCDT_Link.h. Referenced by DCDT_Link(). |
|
Definition at line 57 of file DCDT_Link.h. Referenced by DCDT_Link(), DoYourJob(), and SetCDs(). |
|
Definition at line 53 of file DCDT_Link.h. Referenced by DCDT_Link(), and ReadRemoteID(). |
|
Definition at line 54 of file DCDT_Link.h. Referenced by DCDT_Link(). |
|
Definition at line 54 of file DCDT_Link.h. Referenced by ChangeStatus(), DCDT_Link(), DoYourJob(), Prepare(), ReadStatus(), ResetToConnecting(), and Restart(). |
|
Definition at line 59 of file DCDT_Link.h. Referenced by DCDT_Link(), and DoYourJob(). |
|
Definition at line 59 of file DCDT_Link.h. Referenced by DoYourJob(). |