Poco::JS::Data

class SessionWrapper

Library: JS/Data
Package: Wrappers
Header: Poco/JS/Data/SessionWrapper.h

Description

JavaScript wrapper for Poco::Data::Session.

Inheritance

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

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

Member Summary

Member Functions: begin, close, commit, construct, constructor, execute, executeNonQuery, getConnectionString, getConnector, getIsConnected, getIsTransaction, getPageSize, objectTemplate, rollback, setPageSize

Inherited Functions: isWrapper, objectTemplate, returnException, returnString, safeUnwrapNative, toString, unwrapNative, unwrapNativeObject, wrapNative, wrapNativePersistent

Constructors

SessionWrapper

SessionWrapper();

Creates the SessionWrapper.

Destructor

~SessionWrapper virtual

~SessionWrapper();

Destroys the SessionWrapper.

Member Functions

construct static

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

Creates a JavaScript Session object.

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
);

begin protected static

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

close protected static

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

commit protected static

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

execute protected static

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

executeNonQuery protected static

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

getConnectionString protected static

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

getConnector protected static

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

getIsConnected protected static

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

getIsTransaction protected static

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

getPageSize protected static

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

rollback protected static

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

setPageSize protected static

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

Securely control IoT edge devices from anywhere   Connect a Device