HPCToolkit
TraceviewerServer::Server Class Reference

#include <Server.hpp>

Collaboration diagram for TraceviewerServer::Server:

Public Member Functions

 Server ()
 
virtual ~Server ()
 

Static Public Member Functions

static int main (int argc, char *argv[])
 

Private Member Functions

int runConnection (DataSocketStream *, DataSocketStream *xmlSocket)
 
void sendDBOpenedSuccessfully (DataSocketStream *socket, DataSocketStream *xmlSocket)
 
void parseInfo (DataSocketStream *)
 
SpaceTimeDataControllerparseOpenDB (DataSocketStream *)
 
void filter (DataSocketStream *)
 
void getAndSendData (DataSocketStream *)
 
void sendXML (DataSocketStream *)
 
void sendDBOpenFailed (DataSocketStream *)
 
void checkProtocolVersions (DataSocketStream *receiver)
 

Private Attributes

SpaceTimeDataControllercontroller
 
int agreedUponProtocolVersion
 

Static Private Attributes

static const int SERVER_PROTOCOL_MAX_VERSION = 0x00010001
 

Detailed Description

Definition at line 73 of file Server.hpp.

Constructor & Destructor Documentation

◆ Server()

TraceviewerServer::Server::Server ( )

Definition at line 93 of file Server.cpp.

Here is the call graph for this function:

◆ ~Server()

TraceviewerServer::Server::~Server ( )
virtual

Definition at line 143 of file Server.cpp.

Member Function Documentation

◆ checkProtocolVersions()

void TraceviewerServer::Server::checkProtocolVersions ( DataSocketStream receiver)
private

Definition at line 308 of file Server.cpp.

Here is the call graph for this function:

◆ filter()

void TraceviewerServer::Server::filter ( DataSocketStream stream)
private

Definition at line 389 of file Server.cpp.

Here is the call graph for this function:

◆ getAndSendData()

void TraceviewerServer::Server::getAndSendData ( DataSocketStream stream)
private

Definition at line 355 of file Server.cpp.

Here is the call graph for this function:

◆ main()

static int TraceviewerServer::Server::main ( int  argc,
char *  argv[] 
)
static

◆ parseInfo()

void TraceviewerServer::Server::parseInfo ( DataSocketStream socket)
private

Definition at line 223 of file Server.cpp.

Here is the call graph for this function:

◆ parseOpenDB()

SpaceTimeDataController * TraceviewerServer::Server::parseOpenDB ( DataSocketStream receiver)
private

Definition at line 328 of file Server.cpp.

Here is the call graph for this function:

◆ runConnection()

int TraceviewerServer::Server::runConnection ( DataSocketStream socketptr,
DataSocketStream xmlSocket 
)
private

Definition at line 149 of file Server.cpp.

Here is the call graph for this function:

◆ sendDBOpenedSuccessfully()

void TraceviewerServer::Server::sendDBOpenedSuccessfully ( DataSocketStream socket,
DataSocketStream xmlSocket 
)
private

Definition at line 234 of file Server.cpp.

Here is the call graph for this function:

◆ sendDBOpenFailed()

void TraceviewerServer::Server::sendDBOpenFailed ( DataSocketStream socket)
private

Definition at line 346 of file Server.cpp.

Here is the call graph for this function:

◆ sendXML()

void TraceviewerServer::Server::sendXML ( DataSocketStream xmlSocket)
private

Definition at line 272 of file Server.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ agreedUponProtocolVersion

int TraceviewerServer::Server::agreedUponProtocolVersion
private

Definition at line 96 of file Server.hpp.

◆ controller

SpaceTimeDataController* TraceviewerServer::Server::controller
private

Definition at line 93 of file Server.hpp.

◆ SERVER_PROTOCOL_MAX_VERSION

const int TraceviewerServer::Server::SERVER_PROTOCOL_MAX_VERSION = 0x00010001
staticprivate

Definition at line 97 of file Server.hpp.


The documentation for this class was generated from the following files: