2#ifndef HTTP_HTTPMESSAGEHANDLER_H
3#define HTTP_HTTPMESSAGEHANDLER_H
16#include "messaging/message.h"
Runs the HttpServer thread, and owns the central http server.
Definition httpmessagehandler.h:25
__DeclareClass(HttpMessageHandler)
virtual void Open()
open the handler
Definition httpmessagehandler.cc:38
virtual ~HttpMessageHandler()
destructor
Definition httpmessagehandler.cc:29
virtual void Close()
close the handler
Definition httpmessagehandler.cc:53
void SetTcpPort(ushort port)
set tcpPort
Definition httpmessagehandler.h:59
virtual bool HandleMessage(const Ptr< Messaging::Message > &msg)
handle a message, return true if handled
Definition httpmessagehandler.cc:81
void OnAttachRequestHandler(const Ptr< AttachRequestHandler > &msg)
handle AttachRequestHandler message
Definition httpmessagehandler.cc:106
virtual void DoWork()
do per-frame work
Definition httpmessagehandler.cc:68
void OnRemoveRequestHandler(const Ptr< RemoveRequestHandler > &msg)
handle RemoveRequestHandler message
Definition httpmessagehandler.cc:115
ushort DefaultTcpPort
Definition httpmessagehandler.h:45
Ptr< HttpServer > httpServer
Definition httpmessagehandler.h:52
HttpMessageHandler()
constructor
Definition httpmessagehandler.cc:20
Base class for message handlers attached to Interface objects.
Definition interfacehandlerbase.h:19
Nebula's smart pointer class which manages the life time of RefCounted objects.
Definition ptr.h:38
This file was generated with Nebula Trifid's idlc compiler tool.
Definition defaulthttprequesthandler.cc:15
unsigned short ushort
Definition types.h:32