Poco::JS::Core

class SystemWrapper

File Information

Library: JS/Core
Package: Wrappers
Header: Poco/JS/Core/SystemWrapper.h

Description

JavaScript wrapper for Poco::Environment.

Inheritance

Direct Base Classes: Wrapper

All Base Classes: Wrapper

Member Summary

Member Functions: clock, exec, execAsync, get, has, nodeId, nodeName, objectTemplate, osArchitecture, osDisplayName, osName, osVersion, processorCount, set, sleep

Inherited Functions: checkSetResult, isWrapper, objectTemplate, reportEmptySetResult, returnException, returnString, safeUnwrapNative, toString, toV8Internalized, toV8String, unwrapNative, unwrapNativeObject, wrapNative, wrapNativePersistent

Constructors

SystemWrapper

SystemWrapper();

Creates the SystemWrapper.

Destructor

~SystemWrapper virtual

~SystemWrapper();

Destroys the SystemWrapper.

Member Functions

objectTemplate virtual

v8::Handle < v8::ObjectTemplate > objectTemplate(
    v8::Isolate * pIsolate
);

clock protected static

static void clock(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

exec protected static

static void exec(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

execAsync protected static

static void execAsync(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

get protected static

static void get(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

has protected static

static void has(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

nodeId protected static

static void nodeId(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

nodeName protected static

static void nodeName(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

osArchitecture protected static

static void osArchitecture(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

osDisplayName protected static

static void osDisplayName(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

osName protected static

static void osName(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

osVersion protected static

static void osVersion(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

processorCount protected static

static void processorCount(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

set protected static

static void set(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

sleep protected static

static void sleep(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

Securely control IoT edge devices from anywhere   Connect a Device