Sha256: 195bfc329fdaabb143e2b4c664d9bc396d930f1e462a4aeba31a197ca5fb0c90

Contents?: true

Size: 600 Bytes

Versions: 4

Compression:

Stored size: 600 Bytes

Contents

#include <net/CURLNetRequest.h>
#include <common/PosixThreadImpl.h>

#include "rhodes/RhoClassFactory.h"
#include "rhodes/sslimpl.h"
#include "rhodes/rhocryptimpl.h"

namespace rho
{
namespace common
{

net::INetRequest *CRhoClassFactory::createNetRequest()
{
    return new net::CURLNetRequest();
}

IRhoThreadImpl *CRhoClassFactory::createThreadImpl()
{
    return new CPosixThreadImpl();
}

net::ISSL *CRhoClassFactory::createSSLEngine()
{
    return new net::SSLImpl();
}

IRhoCrypt *CRhoClassFactory::createRhoCrypt()
{
    return new CRhoCryptImpl;
}

} // namespace common
} // namespace rho

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rhodes-2.3.0 platform/android/Rhodes/jni/src/RhoClassFactory.cpp
rhodes-2.3.0.beta.3 platform/android/Rhodes/jni/src/RhoClassFactory.cpp
rhodes-2.3.0.beta.2 platform/android/Rhodes/jni/src/RhoClassFactory.cpp
rhodes-2.3.0.beta.1 platform/android/Rhodes/jni/src/RhoClassFactory.cpp