#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 65 of file DTSpy.cc.
References DTSPY_HEAD_SIZE, givenonce, lastpointer, and spybuf.
Referenced by DTSpyReader::fillRawData().
int DTSpy::getNextBuffer | ( | ) |
Definition at line 29 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 60 of file DTSpy.cc.
References spybuf.
Referenced by DTSpyReader::fillRawData().
void DTSpy::setlastPointer | ( | char * | data | ) |
Definition at line 73 of file DTSpy.cc.
References lastpointer.
Referenced by DTSpyReader::fillRawData().
|
protected |
Definition at line 18 of file DTSpy.h.
Referenced by DTSpy(), getEventPointer(), and getNextBuffer().
char* DTSpy::lastpointer |
Definition at line 21 of file DTSpy.h.
Referenced by getEventPointer(), getNextBuffer(), and setlastPointer().
|
protected |
Definition at line 17 of file DTSpy.h.
Referenced by DTSpy(), getBuffSize(), getEventPointer(), getNextBuffer(), getRunNo(), and ~DTSpy().