FeeServer::CommandChannel Class Reference
[Core Feeserver channels.]

#include <feeserver/fee_cmd.hh>

Collaboration diagram for FeeServer::CommandChannel:

Collaboration graph
[legend]

List of all members.


Detailed Description

Command channel.

Public Member Functions

 CommandChannel (const std::string &server, Main &main)
virtual ~CommandChannel ()

Protected Member Functions

 CommandChannel (const CommandChannel &)
CommandChanneloperator= (const CommandChannel &)
void Handle (const unsigned char *data, size_t size)

Protected Attributes

Main_main
Command _cmd
CommandHandler * _handler

Friends

class CommandHandler

Constructor & Destructor Documentation

FeeServer::CommandChannel::CommandChannel ( const std::string &  server,
Main main 
)

Constructor

FeeServer::CommandChannel::~CommandChannel (  )  [virtual]

Destructor

FeeServer::CommandChannel::CommandChannel ( const CommandChannel  )  [protected]

Not implemented


Member Function Documentation

CommandChannel& FeeServer::CommandChannel::operator= ( const CommandChannel  )  [protected]

Not implemented

void FeeServer::CommandChannel::Handle ( const unsigned char *  data,
size_t  size 
) [protected]

Handle the commands. In this class we simply turn the passed data into a proper format, and pass that on to the main object. This object will in turn do the actual processing, possibly sending the request on to the control engine.

Parameters:
data Command channel data
size Size of data


Friends And Related Function Documentation

friend class CommandHandler [friend]

Command handler is a friend


Member Data Documentation

Back reference to the FeeServer

Current command

CommandHandler* FeeServer::CommandChannel::_handler [protected]

Command handler


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

Generated on Thu Jun 26 17:02:29 2008 for FeeServer++ 0.9 by  doxygen 1.5.6