AceSmartSoft API Documentation
Public Member Functions | Protected Attributes | List of all members
SmartACE::QueryServerAcceptor Class Reference

#include <smartQueryServerPattern.hh>

Inheritance diagram for SmartACE::QueryServerAcceptor:

Public Member Functions

 QueryServerAcceptor (void *, void(*)(void *, const SmartACE::SmartMessageBlock *, const QueryServerServiceHandler *, size_t), void(*)(void *, const QueryServerServiceHandler *, int, const ACE_Utils::UUID &), void(*)(void *, const QueryServerServiceHandler *), void(*)(void *, const QueryServerServiceHandler *), ACE_Reactor *reactor)
 
virtual ~QueryServerAcceptor ()
 
void handleRequest (const SmartACE::SmartMessageBlock *message, const QueryServerServiceHandler *sh, size_t qid)
 
void handleConnect (const QueryServerServiceHandler *sh, int cid, const ACE_Utils::UUID &uuid)
 
void handleDiscard (const QueryServerServiceHandler *sh)
 
void handleDisconnect (const QueryServerServiceHandler *sh)
 
int close_handler ()
 

Protected Attributes

void(* hndRqstPtr )(void *, const SmartACE::SmartMessageBlock *, const QueryServerServiceHandler *, size_t)
 Callback function pointers. More...
 
void(* hndCnctPtr )(void *, const QueryServerServiceHandler *, int, const ACE_Utils::UUID &)
 
void(* hndDiscrdPtr )(void *, const QueryServerServiceHandler *)
 
void(* hndDisconPtr )(void *, const QueryServerServiceHandler *)
 
void * lthis
 
ACE_Reactor * _reactor
 

Constructor & Destructor Documentation

◆ QueryServerAcceptor()

SmartACE::QueryServerAcceptor::QueryServerAcceptor ( void *  ,
void(*)(void *, const SmartACE::SmartMessageBlock *, const QueryServerServiceHandler *, size_t)  ,
void(*)(void *, const QueryServerServiceHandler *, int, const ACE_Utils::UUID &)  ,
void(*)(void *, const QueryServerServiceHandler *)  ,
void(*)(void *, const QueryServerServiceHandler *)  ,
ACE_Reactor *  reactor 
)

◆ ~QueryServerAcceptor()

virtual SmartACE::QueryServerAcceptor::~QueryServerAcceptor ( )
virtual

Member Function Documentation

◆ close_handler()

int SmartACE::QueryServerAcceptor::close_handler ( )

◆ handleConnect()

void SmartACE::QueryServerAcceptor::handleConnect ( const QueryServerServiceHandler sh,
int  cid,
const ACE_Utils::UUID &  uuid 
)
inline

◆ handleDiscard()

void SmartACE::QueryServerAcceptor::handleDiscard ( const QueryServerServiceHandler sh)
inline

◆ handleDisconnect()

void SmartACE::QueryServerAcceptor::handleDisconnect ( const QueryServerServiceHandler sh)
inline

◆ handleRequest()

void SmartACE::QueryServerAcceptor::handleRequest ( const SmartACE::SmartMessageBlock message,
const QueryServerServiceHandler sh,
size_t  qid 
)
inline

Member Data Documentation

◆ _reactor

ACE_Reactor* SmartACE::QueryServerAcceptor::_reactor
protected

◆ hndCnctPtr

void(* SmartACE::QueryServerAcceptor::hndCnctPtr) (void *, const QueryServerServiceHandler *, int, const ACE_Utils::UUID &)
protected

◆ hndDisconPtr

void(* SmartACE::QueryServerAcceptor::hndDisconPtr) (void *, const QueryServerServiceHandler *)
protected

◆ hndDiscrdPtr

void(* SmartACE::QueryServerAcceptor::hndDiscrdPtr) (void *, const QueryServerServiceHandler *)
protected

◆ hndRqstPtr

void(* SmartACE::QueryServerAcceptor::hndRqstPtr) (void *, const SmartACE::SmartMessageBlock *, const QueryServerServiceHandler *, size_t)
protected

Callback function pointers.

◆ lthis

void* SmartACE::QueryServerAcceptor::lthis
protected

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