Poco::JS::Bridge

class BridgeWrapper

File Information

Library: JS/Bridge
Package: Bridging
Header: Poco/JS/Bridge/BridgeWrapper.h

Inheritance

Direct Base Classes: Poco::JS::Core::Wrapper

All Base Classes: Poco::JS::Core::Wrapper

Member Summary

Member Functions: bridgeFunction, construct, constructor, getProperty, getSub, getURI, objectTemplate, on, registerTransportFactory, toJSON, unregisterTransportFactory

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

Constructors

BridgeWrapper

BridgeWrapper();

Creates the BridgeWrapper.

Destructor

~BridgeWrapper virtual

~BridgeWrapper();

Destroys the BridgeWrapper.

Member Functions

constructor

v8::Handle < v8::FunctionTemplate > constructor(
    v8::Isolate * pIsolate
);

Creates and returns a V8 FunctionTemplate for the constructor function.

objectTemplate virtual

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

registerTransportFactory static

static void registerTransportFactory();

Registers the RemotingNG TransportFactory for the Bridge Transport.

unregisterTransportFactory static

static void unregisterTransportFactory();

Unregisters the RemotingNG TransportFactory for the Bridge Transport.

bridgeFunction protected static

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

construct protected static

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

getProperty protected static

static void getProperty(
    v8::Local < v8::Name > property,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

getSub protected static

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

getURI protected static

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

on protected static

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

toJSON protected static

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

Securely control IoT edge devices from anywhere   Connect a Device