Nebula
Toggle main menu visibility
Loading...
Searching...
No Matches
httpinterface.h
Go to the documentation of this file.
1
#pragma once
2
#ifndef HTTP_HTTPINTERFACE_H
3
#define HTTP_HTTPINTERFACE_H
4
//------------------------------------------------------------------------------
15
#include "
core/types.h
"
16
#include "
interface/interfacebase.h
"
17
#include "
core/refcounted.h
"
18
#include "
core/singleton.h
"
19
20
//------------------------------------------------------------------------------
21
namespace
Http
22
{
23
class
HttpInterface
:
public
Interface::InterfaceBase
24
{
25
__DeclareClass
(
HttpInterface
);
26
__DeclareInterfaceSingleton
(
HttpInterface
);
27
public
:
29
HttpInterface
();
31
virtual
~HttpInterface
();
33
virtual
void
Open
();
35
void
SetTcpPort
(
ushort
port);
36
protected
:
37
ushort
tcpPort
;
38
};
39
40
//------------------------------------------------------------------------------
43
inline
void
44
HttpInterface::SetTcpPort
(
ushort
port)
45
{
46
this->
tcpPort
= port;
47
}
48
49
}
// namespace HttpInterface
50
//------------------------------------------------------------------------------
51
#endif
52
53
Http::HttpInterface::__DeclareInterfaceSingleton
__DeclareInterfaceSingleton(HttpInterface)
Http::HttpInterface::Open
virtual void Open()
open the interface object
Definition
httpinterface.cc:40
Http::HttpInterface::SetTcpPort
void SetTcpPort(ushort port)
set the tcp port for the http handler
Definition
httpinterface.h:44
Http::HttpInterface::HttpInterface
HttpInterface()
constructor
Definition
httpinterface.cc:22
Http::HttpInterface::__DeclareClass
__DeclareClass(HttpInterface)
Http::HttpInterface::~HttpInterface
virtual ~HttpInterface()
destructor
Definition
httpinterface.cc:31
Http::HttpInterface::tcpPort
ushort tcpPort
Definition
httpinterface.h:37
Interface::InterfaceBase
Base class for interfaces.
Definition
interfacebase.h:22
interfacebase.h
Http
This file was generated with Nebula Trifid's idlc compiler tool.
Definition
defaulthttprequesthandler.cc:15
refcounted.h
singleton.h
types.h
ushort
unsigned short ushort
Definition
types.h:34
code
foundation
http
httpinterface.h
Generated on
for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.