#include <DTSpy.h>
Public Member Functions | |
DTSpy () | |
DTSpy (char *hostaddr, int port) | |
int | getBuffSize () |
const char * | getEventPointer () |
int | getNextBuffer () |
int | getRunNo () |
void | setlastPointer (char *data) |
~DTSpy () | |
Public Member Functions inherited from DTCtcp | |
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 () | |
Public Attributes | |
char * | lastpointer |
Protected Attributes | |
short | givenonce |
char * | spybuf |
Protected Attributes inherited from DTCtcp | |
struct sockaddr_in | clientAddr |
int | connected |
struct sockaddr_in | myaddr |
int | port |
int | sock |
DTSpy::DTSpy | ( | ) |
DTSpy::DTSpy | ( | char * | hostaddr, |
int | port | ||
) |
int DTSpy::getBuffSize | ( | ) |
const char * DTSpy::getEventPointer | ( | ) |
Definition at line 83 of file DTSpy.cc.
References DTSPY_HEAD_SIZE, givenonce, lastpointer, and spybuf.
Referenced by DTSpyReader::fillRawData().
int DTSpy::getNextBuffer | ( | ) |
Definition at line 39 of file DTSpy.cc.
References DTCtcp::connected, DTSPY_HEAD_SIZE, DTSPY_MAX_MSG, getBuffSize(), givenonce, lastpointer, DTCtcp::Receive(), and spybuf.
Referenced by DTSpyReader::fillRawData().
int DTSpy::getRunNo | ( | ) |
Definition at line 76 of file DTSpy.cc.
References spybuf.
Referenced by DTSpyReader::fillRawData().
void DTSpy::setlastPointer | ( | char * | data | ) |
Definition at line 92 of file DTSpy.cc.
References lastpointer.
Referenced by DTSpyReader::fillRawData().
|
protected |
Definition at line 21 of file DTSpy.h.
Referenced by DTSpy(), getEventPointer(), and getNextBuffer().
char* DTSpy::lastpointer |
Definition at line 25 of file DTSpy.h.
Referenced by getEventPointer(), getNextBuffer(), and setlastPointer().
|
protected |
Definition at line 20 of file DTSpy.h.
Referenced by DTSpy(), getBuffSize(), getEventPointer(), getNextBuffer(), getRunNo(), and ~DTSpy().