#include <InnerSocket.h>
Public Member Functions | |
InnerSocket () | |
~InnerSocket () | |
void | Open () |
void | Bind (char *n) |
void | Connect (char *n) |
void | Send (const DCDT_Msg *msg) |
DCDT_Msg * | Receive () |
void | SendHS (char *to, HSMsgHeader *header, char *payload) |
void | ReceiveHS (HSMsgHeader *&header, char *&payload) |
void | Close () |
Close the inner channel and delete the associated file. | |
void | ForcedClose () |
void | SetLostTimer (int usec) |
void | LostTimerOn () |
void | LostTimerOff () |
void | SetConnTimer (int usec) |
void | ConnTimerOn () |
void | ConnTimerOff () |
void | SetSendTimer (int usec) |
void | SendTimerOn () |
void | SendTimerOff () |
void | UnblockSend () |
void | SetReceiveTimer (int usec) |
void | ReceiveTimerOn () |
void | ReceiveTimerOff () |
void | UnblockReceive () |
Protected Attributes | |
int | sockfd |
int | opened |
int | bound |
int | connected |
int | tconn_flag |
int | tlost_flag |
int | tsend_flag |
int | trecv_flag |
int | unblock_send_flag |
int | unblock_recv_flag |
timeval tconn_value tlost_value tsend_value | trecv_value |
char * | name |
|
Definition at line 45 of file InnerSocket.h. |
|
Definition at line 54 of file InnerSocket.h. |
|
Definition at line 104 of file InnerSocket.h. References bound, DCDT_TRC_COMM, name, opened, sockfd, and TRC_PRINT. Referenced by DCDT_InnerChannel::Open(). |
|
Close the inner channel and delete the associated file.
Definition at line 454 of file InnerSocket.h. References bound, connected, DCDT_TRC_COMM, name, opened, sockfd, and TRC_PRINT. Referenced by DCDT_InnerChannel::Close(). |
|
Definition at line 131 of file InnerSocket.h. References connected, DCDT_TRC_COMM, opened, sockfd, and TRC_PRINT. Referenced by DCDT_InnerChannel::StartConn(), and DCDT_InnerChannel::WaitConn(). |
|
Definition at line 505 of file InnerSocket.h. References tconn_flag. Referenced by DCDT_InnerChannel::ConnTimerOff(). |
|
Definition at line 500 of file InnerSocket.h. References tconn_flag. Referenced by DCDT_InnerChannel::ConnTimerOn(), and DCDT_InnerChannel::SetTimers(). |
|
Definition at line 466 of file InnerSocket.h. References bound, connected, DCDT_TRC_COMM, name, opened, sockfd, and TRC_PRINT. Referenced by DCDT_InnerChannel::Stop(). |
|
Definition at line 489 of file InnerSocket.h. References tlost_flag. Referenced by DCDT_InnerChannel::LostTimerOff(). |
|
Definition at line 484 of file InnerSocket.h. References tlost_flag. Referenced by DCDT_InnerChannel::LostTimerOn(), and DCDT_InnerChannel::SetTimers(). |
|
Definition at line 91 of file InnerSocket.h. References DCDT_TRC_COMM, opened, sockfd, and TRC_PRINT. Referenced by DCDT_InnerChannel::Open(). |
|
Definition at line 285 of file InnerSocket.h. References DCDT_MsgHeader, DCDT_TRC_COMM, DCDT_Msg::ReadPayloadLen(), DCDT_Msg::SetPayload(), sockfd, TRC_PRINT, and trecv_value. Referenced by DCDT_InnerChannel::Receive(), and DCDT_InnerChannel::WaitConn(). |
|
Definition at line 370 of file InnerSocket.h. References DCDT_TRC_COMM, HSMsgHeader, HSMSGHEADER_LEN, _HSMsgHeader::payload_len, sockfd, TRC_PRINT, and trecv_value. Referenced by DCDT_InnerChannel::ReceiveHS(). |
|
Definition at line 544 of file InnerSocket.h. References trecv_flag. Referenced by DCDT_InnerChannel::ReceiveTimerOff(). |
|
Definition at line 538 of file InnerSocket.h. References trecv_flag, and unblock_recv_flag. Referenced by DCDT_InnerChannel::ReceiveTimerOn(), and DCDT_InnerChannel::SetTimers(). |
|
Definition at line 150 of file InnerSocket.h. References DCDT_TRC_COMM, DCDT_Msg::GetHeader(), DCDT_Msg::GetPayload(), opened, DCDT_Msg::ReadPayloadLen(), sockfd, and TRC_PRINT. Referenced by DCDT_InnerChannel::Send(), and DCDT_InnerChannel::StartConn(). |
|
Definition at line 218 of file InnerSocket.h. References DCDT_TRC_COMM, HSMsgHeader, _HSMsgHeader::payload_len, sockfd, and TRC_PRINT. Referenced by DCDT_InnerChannel::SendAnswer(), and DCDT_InnerChannel::SendNotify(). |
|
Definition at line 522 of file InnerSocket.h. References tsend_flag. Referenced by DCDT_InnerChannel::SendTimerOff(). |
|
Definition at line 516 of file InnerSocket.h. References tsend_flag, and unblock_send_flag. Referenced by DCDT_InnerChannel::SendTimerOn(), and DCDT_InnerChannel::SetTimers(). |
|
Definition at line 494 of file InnerSocket.h. Referenced by DCDT_InnerChannel::SetConnTimer(), and DCDT_InnerChannel::SetTimers(). |
|
Definition at line 478 of file InnerSocket.h. Referenced by DCDT_InnerChannel::SetLostTimer(), and DCDT_InnerChannel::SetTimers(). |
|
Definition at line 532 of file InnerSocket.h. References trecv_value. Referenced by DCDT_InnerChannel::SetReceiveTimer(), DCDT_InnerChannel::SetTimers(), and DCDT_InnerChannel::WaitConn(). |
|
Definition at line 510 of file InnerSocket.h. Referenced by DCDT_InnerChannel::SetSendTimer(), and DCDT_InnerChannel::SetTimers(). |
|
Definition at line 549 of file InnerSocket.h. References unblock_recv_flag. Referenced by DCDT_InnerChannel::UnblockReceive(). |
|
Definition at line 527 of file InnerSocket.h. References unblock_send_flag. Referenced by DCDT_InnerChannel::UnblockSend(). |
|
Definition at line 85 of file InnerSocket.h. Referenced by Bind(), Close(), and ForcedClose(). |
|
Definition at line 85 of file InnerSocket.h. Referenced by Close(), Connect(), and ForcedClose(). |
|
Definition at line 88 of file InnerSocket.h. Referenced by Bind(), Close(), and ForcedClose(). |
|
Definition at line 85 of file InnerSocket.h. Referenced by Bind(), Close(), Connect(), ForcedClose(), Open(), and Send(). |
|
Definition at line 85 of file InnerSocket.h. Referenced by Bind(), Close(), Connect(), ForcedClose(), Open(), Receive(), ReceiveHS(), Send(), and SendHS(). |
|
Definition at line 85 of file InnerSocket.h. Referenced by ConnTimerOff(), and ConnTimerOn(). |
|
Definition at line 85 of file InnerSocket.h. Referenced by LostTimerOff(), and LostTimerOn(). |
|
Definition at line 85 of file InnerSocket.h. Referenced by ReceiveTimerOff(), and ReceiveTimerOn(). |
|
Definition at line 87 of file InnerSocket.h. Referenced by Receive(), ReceiveHS(), and SetReceiveTimer(). |
|
Definition at line 85 of file InnerSocket.h. Referenced by SendTimerOff(), and SendTimerOn(). |
|
Definition at line 86 of file InnerSocket.h. Referenced by ReceiveTimerOn(), and UnblockReceive(). |
|
Definition at line 86 of file InnerSocket.h. Referenced by SendTimerOn(), and UnblockSend(). |