GraspItServer Class Reference

TCP server that listens for connections and spawns new ClientSockets. More...

#include <graspitServer.h>

List of all members.

Public Member Functions

 GraspItServer (Q_UINT16 port, int backlog=1, QObject *parent=0, const char *name=0)
void newConnection (int socket)
 ~GraspItServer ()

Detailed Description

TCP server that listens for connections and spawns new ClientSockets.

The server is a subclass of the QT QServerSocket and listens on a particular port and if a connection is requested, it creates a new ClientSocket, which will handle all communication.

Definition at line 135 of file graspitServer.h.


Constructor & Destructor Documentation

GraspItServer::GraspItServer ( Q_UINT16  port,
int  backlog = 1,
QObject *  parent = 0,
const char *  name = 0 
)

This is not complete yet.

void ClientSocket::readTorques() { QString line; line = readLine(); int numDOF = line.toInt();

if (numDOF < 0) {} //unused parameter warning }

Starts a TCP server that listens on port port. backlog specifies the number of pending connections the server can have.

Definition at line 634 of file graspitServer.cpp.

GraspItServer::~GraspItServer (  )  [inline]

Stub

Definition at line 145 of file graspitServer.h.


Member Function Documentation

void GraspItServer::newConnection ( int  socket  ) 

Creates a new ClientSocket to handle communication with this client.

Definition at line 647 of file graspitServer.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


graspit
Author(s):
autogenerated on Wed Jan 25 11:00:21 2012