#include <DTSpyHelper.h>
Public Member Functions | |
DTCtcp * | Accept () |
unsigned long | addr () |
void | Connect (const char *hostaddr, int port) |
void | Connect (unsigned long hostaddr, int port) |
int | Disconnect () |
DTCtcp () | |
DTCtcp (int port) | |
DTCtcp (int sock, int opt) | |
DTCtcp (DTCtcp *) | |
short | Id () |
int | Receive (char *buffer, int size) |
int | Send (char *buffer, int size) |
int | WaitData (int timeout) |
~DTCtcp () | |
Protected Attributes | |
struct sockaddr_in | clientAddr |
int | connected |
struct sockaddr_in | myaddr |
int | port |
int | sock |
Definition at line 19 of file DTSpyHelper.h.
DTCtcp::DTCtcp | ( | ) |
Definition at line 15 of file DTSpyHelper.cc.
Referenced by Accept().
DTCtcp::DTCtcp | ( | int | port | ) |
Definition at line 20 of file DTSpyHelper.cc.
References connected, myaddr, port, and sock.
DTCtcp::DTCtcp | ( | int | sock, |
int | opt | ||
) |
DTCtcp::DTCtcp | ( | DTCtcp * | aconn | ) |
DTCtcp::~DTCtcp | ( | ) |
DTCtcp * DTCtcp::Accept | ( | ) |
Definition at line 121 of file DTSpyHelper.cc.
References accept(), clientAddr, DTCtcp(), and sock.
unsigned long DTCtcp::addr | ( | ) |
void DTCtcp::Connect | ( | const char * | hostaddr, |
int | port | ||
) |
Definition at line 162 of file DTSpyHelper.cc.
References clientAddr, convertSQLitetoXML_cfg::connect, connected, and sock.
Referenced by DTSpy::DTSpy(), and DTSpyReader::DTSpyReader().
void DTCtcp::Connect | ( | unsigned long | hostaddr, |
int | port | ||
) |
Definition at line 147 of file DTSpyHelper.cc.
References clientAddr, convertSQLitetoXML_cfg::connect, connected, and sock.
int DTCtcp::Disconnect | ( | ) |
short DTCtcp::Id | ( | ) |
int DTCtcp::Receive | ( | char * | buffer, |
int | size | ||
) |
Definition at line 197 of file DTSpyHelper.cc.
References findQualityFiles::size, and sock.
Referenced by DTSpy::getNextBuffer().
int DTCtcp::Send | ( | char * | buffer, |
int | size | ||
) |
Definition at line 217 of file DTSpyHelper.cc.
References connected, sock, and TablePrint::write.
int DTCtcp::WaitData | ( | int | timeout | ) |
Definition at line 177 of file DTSpyHelper.cc.
References benchmark_cfg::select, sock, and mps_check::timeout.
|
protected |
|
protected |
Definition at line 26 of file DTSpyHelper.h.
Referenced by Connect(), Disconnect(), DTCtcp(), DTSpy::getNextBuffer(), and Send().
|
protected |
Definition at line 28 of file DTSpyHelper.h.
Referenced by DTCtcp().
|
protected |
Definition at line 23 of file DTSpyHelper.h.
Referenced by DTCtcp(), Vispa.Gui.ConnectableWidget.ConnectableWidget::sinkPort(), and Vispa.Gui.ConnectableWidget.ConnectableWidget::sourcePort().
|
protected |
Definition at line 24 of file DTSpyHelper.h.
Referenced by Accept(), Connect(), Disconnect(), DTCtcp(), Receive(), Send(), WaitData(), and ~DTCtcp().