v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::ValueDeserializer::Delegate Class Reference

#include <v8-value-serializer.h>

Inheritance diagram for v8::ValueDeserializer::Delegate:
Collaboration diagram for v8::ValueDeserializer::Delegate:

Public Member Functions

virtual ~Delegate ()=default
 
virtual MaybeLocal< ObjectReadHostObject (Isolate *isolate)
 
virtual MaybeLocal< WasmModuleObjectGetWasmModuleFromId (Isolate *isolate, uint32_t transfer_id)
 
virtual MaybeLocal< SharedArrayBufferGetSharedArrayBufferFromId (Isolate *isolate, uint32_t clone_id)
 
virtual const SharedValueConveyorGetSharedValueConveyor (Isolate *isolate)
 

Detailed Description

Definition at line 217 of file v8-value-serializer.h.

Constructor & Destructor Documentation

◆ ~Delegate()

virtual v8::ValueDeserializer::Delegate::~Delegate ( )
virtualdefault

Member Function Documentation

◆ GetSharedArrayBufferFromId()

MaybeLocal< SharedArrayBuffer > v8::ValueDeserializer::Delegate::GetSharedArrayBufferFromId ( Isolate * isolate,
uint32_t clone_id )
virtual

Get a SharedArrayBuffer given a clone_id previously provided by ValueSerializer::Delegate::GetSharedArrayBufferId

Reimplemented in v8::Deserializer.

Definition at line 3365 of file api.cc.

Here is the call graph for this function:

◆ GetSharedValueConveyor()

const SharedValueConveyor * v8::ValueDeserializer::Delegate::GetSharedValueConveyor ( Isolate * isolate)
virtual

Get the SharedValueConveyor previously provided by ValueSerializer::Delegate::AdoptSharedValueConveyor.

Reimplemented in v8::Deserializer.

Definition at line 3374 of file api.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetWasmModuleFromId()

MaybeLocal< WasmModuleObject > v8::ValueDeserializer::Delegate::GetWasmModuleFromId ( Isolate * isolate,
uint32_t transfer_id )
virtual

Get a WasmModuleObject given a transfer_id previously provided by ValueSerializer::Delegate::GetWasmModuleTransferId

Reimplemented in v8::Deserializer.

Definition at line 3355 of file api.cc.

Here is the call graph for this function:

◆ ReadHostObject()

MaybeLocal< Object > v8::ValueDeserializer::Delegate::ReadHostObject ( Isolate * isolate)
virtual

The embedder overrides this method to read some kind of host object, if possible. If not, a suitable exception should be thrown and MaybeLocal<Object>() returned.

Definition at line 3346 of file api.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: