32 lines
992 B
C++
Executable File
32 lines
992 B
C++
Executable File
#ifndef _BAD_MAGIC_H_
|
|
#define _BAD_MAGIC_H_ 1
|
|
|
|
#include "cdevEventHandler.h"
|
|
#include "cdevAddr.h"
|
|
#include "cdevSocketConnector.h"
|
|
#include "cdevReactor.h"
|
|
#include "fifo.h"
|
|
|
|
// *****************************************************************************
|
|
// * BadMagicHandler:
|
|
// * This class provides the mechanisms that will be used to service the
|
|
// * requests of a client.
|
|
// *****************************************************************************
|
|
class BadMagicHandler : public cdevEventHandler
|
|
{
|
|
protected:
|
|
cdevSocketConnector stream;
|
|
|
|
public:
|
|
BadMagicHandler (void);
|
|
~BadMagicHandler (void);
|
|
virtual int open (const cdevAddr &addr);
|
|
virtual int getHandle (void) const;
|
|
virtual int handleClose (void);
|
|
virtual int handleInput (void);
|
|
virtual int handleOutput (void);
|
|
virtual int handleExcept (void);
|
|
};
|
|
|
|
#endif /* _BAD_MAGIC_H_ */
|