#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) |
~DTCtcp () | |
Protected Attributes | |
struct sockaddr_in | clientAddr |
int | connected |
struct sockaddr_in | myaddr |
int | port |
int | sock |
Definition at line 18 of file DTSpyHelper.h.
DTCtcp::DTCtcp | ( | ) |
DTCtcp::DTCtcp | ( | int | port | ) |
Definition at line 17 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 100 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 133 of file DTSpyHelper.cc.
References clientAddr, GlobalPosition_Frontier_DevDB_cff::connect, connected, query::host, and sock.
Referenced by DTSpy::DTSpy(), and DTSpyReader::DTSpyReader().
void DTCtcp::Connect | ( | unsigned long | hostaddr, |
int | port | ||
) |
Definition at line 121 of file DTSpyHelper.cc.
References clientAddr, GlobalPosition_Frontier_DevDB_cff::connect, connected, recoMuon::in, and sock.
int DTCtcp::Disconnect | ( | ) |
short DTCtcp::Id | ( | ) |
int DTCtcp::Receive | ( | char * | buffer, |
int | size | ||
) |
Definition at line 145 of file DTSpyHelper.cc.
References edmScanValgrind::buffer, findQualityFiles::size, and sock.
Referenced by DTSpy::getNextBuffer().
int DTCtcp::Send | ( | char * | buffer, |
int | size | ||
) |
Definition at line 165 of file DTSpyHelper.cc.
References edmScanValgrind::buffer, connected, findQualityFiles::size, sock, and writeEcalDQMStatus::write.
|
protected |
|
protected |
Definition at line 23 of file DTSpyHelper.h.
Referenced by Connect(), Disconnect(), DTCtcp(), DTSpy::getNextBuffer(), and Send().
|
protected |
Definition at line 25 of file DTSpyHelper.h.
Referenced by DTCtcp().
|
protected |
Definition at line 20 of file DTSpyHelper.h.
Referenced by DTCtcp(), and DTSpy::DTSpy().
|
protected |
Definition at line 21 of file DTSpyHelper.h.
Referenced by Accept(), Connect(), Disconnect(), DTCtcp(), Receive(), Send(), and ~DTCtcp().