Poco::JS::Bridge

class Deserializer

File Information

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

Description

This Deserializer deserializes from a V8 JavaScript object.

Inheritance

Direct Base Classes: Poco::RemotingNG::Deserializer

All Base Classes: Poco::RemotingNG::Deserializer, Poco::RemotingNG::SerializerBase

Member Summary

Member Functions: deserialize, deserializeMessageBegin, deserializeMessageEnd, deserializeNullableBegin, deserializeNullableEnd, deserializeOptionalBegin, deserializeOptionalEnd, deserializeSequenceBegin, deserializeSequenceEnd, deserializeStructBegin, deserializeStructEnd, deserializeValue, findMessage, peekValue, resetImpl, setupImpl

Inherited Functions: clearProperties, deserialize, deserializeMessageBegin, deserializeMessageEnd, deserializeNullableBegin, deserializeNullableEnd, deserializeOptionalBegin, deserializeOptionalEnd, deserializeSequenceBegin, deserializeSequenceEnd, deserializeStructBegin, deserializeStructEnd, findMessage, getProperty, hasProperty, popProperty, pushAttribute, pushProperty, reset, resetImpl, setup, setupImpl

Constructors

Deserializer

Deserializer(
    const std::string & messageName,
    Poco::RemotingNG::SerializerBase::MessageType messageType,
    v8::Isolate * pIsolate,
    v8::Local < v8::Object > jsObject
);

Creates a Deserializer.

Destructor

~Deserializer virtual

~Deserializer();

Destroys the Deserializer.

Member Functions

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    Poco::Int8 & value
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    Poco::UInt8 & value
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    Poco::Int16 & value
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    Poco::UInt16 & value
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    Poco::Int32 & value
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    Poco::UInt32 & value
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    long & value
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    unsigned long & value
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    Poco::Int64 & value
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    Poco::UInt64 & value
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    float & value
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    double & value
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    bool & value
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    char & value
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    std::string & value
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    std::vector < char > & value
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    Poco::DateTime & value
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    Poco::LocalDateTime & value
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    Poco::Timestamp & value
);

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    Poco::UUID & value
);

deserializeMessageBegin virtual

void deserializeMessageBegin(
    const std::string & name,
    SerializerBase::MessageType type
);

deserializeMessageEnd virtual

void deserializeMessageEnd(
    const std::string & name,
    SerializerBase::MessageType type
);

deserializeNullableBegin virtual

bool deserializeNullableBegin(
    const std::string & name,
    bool isMandatory,
    bool & isNull
);

deserializeNullableEnd virtual

void deserializeNullableEnd(
    const std::string & name
);

deserializeOptionalBegin virtual

bool deserializeOptionalBegin(
    const std::string & name,
    bool isMandatory,
    bool & isSpecified
);

deserializeOptionalEnd virtual

void deserializeOptionalEnd(
    const std::string & name
);

deserializeSequenceBegin virtual

bool deserializeSequenceBegin(
    const std::string & name,
    bool isMandatory,
    Poco::UInt32 & lengthHint
);

deserializeSequenceEnd virtual

void deserializeSequenceEnd(
    const std::string & name
);

deserializeStructBegin virtual

bool deserializeStructBegin(
    const std::string & name,
    bool isMandatory
);

deserializeStructEnd virtual

void deserializeStructEnd(
    const std::string & name
);

deserializeValue

v8::MaybeLocal < v8::Value > deserializeValue(
    const std::string & name
);

findMessage

Poco::RemotingNG::SerializerBase::MessageType findMessage(
    std::string & name
);

peekValue

v8::MaybeLocal < v8::Value > peekValue(
    const std::string & name
);

resetImpl protected virtual

void resetImpl();

setupImpl protected virtual

void setupImpl(
    std::istream & istr
);

Securely control IoT edge devices from anywhere   Connect a Device