Sha256: cfae5d1f2a439b975eb34f4b93a14aa9f97149d39de0944e1b6a6d8f8b9baf47

Contents?: true

Size: 793 Bytes

Versions: 17

Compression:

Stored size: 793 Bytes

Contents

//
//  HTTPServer.h
//  Development
//
//  Created by Dmitry Soldatenkov on 12.08.14.
//
//

#include "common/RhodesApp.h"

#include "common/ThreadQueue.h"

#include "net/INetRequest.h"

#include "net/HttpServer.h"

#define RHO_DEVELOPMENT_SERVER_PORT 37579


class DevHTTPServer : public rho::common::CRhoThread
{

    
private:
    
    rho::common::CAutoPtr<rho::net::CHttpServer> m_httpServer;
    rho::common::CAutoPtr<rho::common::CThreadQueue> m_appCallbacksQueue;
    rho::String m_local_IP_adress;
    
public:

    void init();
    static DevHTTPServer* getInstance();
    
    rho::String getLocalIPAdress();
    rho::String getPort();
    
    rho::net::CHttpServer* getHTTPServer();
    
protected:
    virtual void run();

};



extern "C" void init_Development_HTTP_Server();


Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
rhodes-7.6.0 lib/extensions/Development/ext/shared/HTTPServer/HTTPServer.h
rhodes-7.5.1 lib/extensions/Development/ext/shared/HTTPServer/HTTPServer.h
rhodes-7.4.1 lib/extensions/Development/ext/shared/HTTPServer/HTTPServer.h
rhodes-7.1.17 lib/extensions/Development/ext/shared/HTTPServer/HTTPServer.h
rhodes-6.2.0 lib/extensions/Development/ext/shared/HTTPServer/HTTPServer.h
rhodes-6.0.11 lib/extensions/Development/ext/shared/HTTPServer/HTTPServer.h
rhodes-5.5.18 lib/extensions/Development/ext/shared/HTTPServer/HTTPServer.h
rhodes-5.5.17 lib/extensions/Development/ext/shared/HTTPServer/HTTPServer.h
rhodes-5.5.15 lib/extensions/Development/ext/shared/HTTPServer/HTTPServer.h
rhodes-5.5.0.22 lib/extensions/Development/ext/shared/HTTPServer/HTTPServer.h
rhodes-5.5.2 lib/extensions/Development/ext/shared/HTTPServer/HTTPServer.h
rhodes-5.5.0.7 lib/extensions/Development/ext/shared/HTTPServer/HTTPServer.h
rhodes-5.5.0.3 lib/extensions/Development/ext/shared/HTTPServer/HTTPServer.h
rhodes-5.5.0 lib/extensions/Development/ext/shared/HTTPServer/HTTPServer.h
tauplatform-1.0.3 lib/extensions/Development/ext/shared/HTTPServer/HTTPServer.h
tauplatform-1.0.2 lib/extensions/Development/ext/shared/HTTPServer/HTTPServer.h
tauplatform-1.0.1 lib/extensions/Development/ext/shared/HTTPServer/HTTPServer.h