C++ SIP Stack
0.31
|
TCP 쓰레드 별로 관리하는 TCP 세션 정보를 저장하는 클래스 더 자세히 ...
Public 멤버 함수 | |
CTcpSessionList (CSipStack *pclsSipStack, ESipTransport eTransport) | |
~CTcpSessionList () | |
bool | Init (int iPollFdMax) |
TCP 세션 정보를 초기화시킨다. | |
bool | Insert (Socket hSocket) |
TCP 소켓을 추가한다. | |
bool | Insert (CTcpComm &clsTcpComm, SSL *psttSsl=NULL) |
TCP 세션 정보를 추가한다. | |
bool | Delete (int iIndex, CThreadListEntry *pclsEntry) |
TCP 세션 정보를 삭제한다. | |
void | DeleteAll (CThreadListEntry *pclsEntry) |
모든 TCP 세션 정보를 삭제한다. | |
void | DeleteTimeout (int iTimeout, CThreadListEntry *pclsEntry) |
TCP 수신 timeout 이 발생한 TCP 세션을 종료시킨다. |
Public 속성 | |
struct pollfd * | m_psttPollFd |
SESSION_LIST | m_clsList |
int | m_iPollFdMax |
int | m_iPoolFdCount |
TCP 쓰레드 별로 관리하는 TCP 세션 정보를 저장하는 클래스
CTcpSessionList::CTcpSessionList | ( | CSipStack * | pclsSipStack, |
ESipTransport | eTransport | ||
) |
CTcpSessionList::~CTcpSessionList | ( | void | ) |
SESSION_LIST CTcpSessionList::m_clsList |
int CTcpSessionList::m_iPollFdMax |
int CTcpSessionList::m_iPoolFdCount |
struct pollfd* CTcpSessionList::m_psttPollFd |