Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.216.250
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
include /
nodejs /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
crypto
[ DIR ]
drwxr-xr-x
2024-07-10 10:55
permission
[ DIR ]
drwxr-xr-x
2024-07-10 10:55
tracing
[ DIR ]
drwxr-xr-x
2024-07-10 10:55
acorn_version.h
209
B
-rw-r--r--
2024-04-18 19:08
aliased_buffer-inl.h
7.44
KB
-rw-r--r--
2024-02-13 21:40
aliased_buffer.h
6.05
KB
-rw-r--r--
2024-02-13 21:40
aliased_struct-inl.h
1.32
KB
-rw-r--r--
2024-02-13 21:40
aliased_struct.h
1.44
KB
-rw-r--r--
2024-02-13 21:40
async_wrap-inl.h
2.68
KB
-rw-r--r--
2024-02-13 21:40
async_wrap.h
11.32
KB
-rw-r--r--
2024-02-13 21:40
base64-inl.h
5.76
KB
-rw-r--r--
2024-02-13 21:40
base64.h
1.43
KB
-rw-r--r--
2024-02-13 21:40
base64_version.h
227
B
-rw-r--r--
2024-02-13 21:40
base_object-inl.h
8.94
KB
-rw-r--r--
2024-02-13 21:40
base_object.h
13.3
KB
-rw-r--r--
2024-02-13 21:40
base_object_types.h
3.28
KB
-rw-r--r--
2024-02-13 21:40
blob_serializer_deserializer-inl.h
10.54
KB
-rw-r--r--
2024-02-13 21:40
blob_serializer_deserializer.h
3.56
KB
-rw-r--r--
2024-02-13 21:40
callback_queue-inl.h
2.59
KB
-rw-r--r--
2024-02-13 21:40
callback_queue.h
1.96
KB
-rw-r--r--
2024-02-13 21:40
cares_wrap.h
14.37
KB
-rw-r--r--
2024-04-18 19:08
cjs_module_lexer_version.h
277
B
-rw-r--r--
2024-04-18 19:08
cleanup_queue-inl.h
1.58
KB
-rw-r--r--
2024-02-13 21:40
cleanup_queue.h
2.19
KB
-rw-r--r--
2024-02-13 21:40
connect_wrap.h
584
B
-rw-r--r--
2024-02-13 21:40
connection_wrap.h
686
B
-rw-r--r--
2024-02-13 21:40
debug_utils-inl.h
7.42
KB
-rw-r--r--
2024-02-13 21:40
debug_utils.h
6.77
KB
-rw-r--r--
2024-02-13 21:40
diagnosticfilename-inl.h
768
B
-rw-r--r--
2024-02-13 21:40
env-inl.h
25.59
KB
-rw-r--r--
2024-02-13 21:40
env.h
38.85
KB
-rw-r--r--
2024-02-13 21:40
env_properties.h
33.32
KB
-rw-r--r--
2024-02-13 21:40
handle_wrap.h
4.16
KB
-rw-r--r--
2024-02-13 21:40
histogram-inl.h
2.39
KB
-rw-r--r--
2024-02-13 21:40
histogram.h
7.89
KB
-rw-r--r--
2024-02-13 21:40
inspector_agent.h
4.69
KB
-rw-r--r--
2024-02-13 21:40
inspector_io.h
2.19
KB
-rw-r--r--
2024-02-13 21:40
inspector_profiler.h
4.53
KB
-rw-r--r--
2024-02-13 21:40
inspector_socket.h
1.53
KB
-rw-r--r--
2024-02-13 21:40
inspector_socket_server.h
3.5
KB
-rw-r--r--
2024-02-13 21:40
js_native_api.h
31.22
KB
-rw-r--r--
2024-02-13 21:40
js_native_api_types.h
4.44
KB
-rw-r--r--
2024-02-13 21:40
js_native_api_v8.h
16.83
KB
-rw-r--r--
2024-02-13 21:40
js_native_api_v8_internals.h
1.56
KB
-rw-r--r--
2024-02-13 21:40
js_stream.h
1.35
KB
-rw-r--r--
2024-02-13 21:40
json_utils.h
3.8
KB
-rw-r--r--
2024-02-13 21:40
memory_tracker-inl.h
12.01
KB
-rw-r--r--
2024-02-13 21:40
memory_tracker.h
11.55
KB
-rw-r--r--
2024-02-13 21:40
module_wrap.h
3.72
KB
-rw-r--r--
2024-02-13 21:40
node.h
56.44
KB
-rw-r--r--
2024-02-13 21:40
node_api.h
9.96
KB
-rw-r--r--
2024-02-13 21:40
node_api_internals.h
1.24
KB
-rw-r--r--
2024-02-13 21:40
node_api_types.h
1.57
KB
-rw-r--r--
2024-02-13 21:40
node_binding.h
4.19
KB
-rw-r--r--
2024-02-13 21:40
node_blob.h
5.04
KB
-rw-r--r--
2024-02-13 21:40
node_bob-inl.h
657
B
-rw-r--r--
2024-02-13 21:40
node_bob.h
2.82
KB
-rw-r--r--
2024-02-13 21:40
node_buffer.h
3.6
KB
-rw-r--r--
2024-02-13 21:40
node_builtins.h
5.63
KB
-rw-r--r--
2024-02-13 21:40
node_constants.h
3.67
KB
-rw-r--r--
2024-02-13 21:40
node_context_data.h
2.94
KB
-rw-r--r--
2024-02-13 21:40
node_contextify.h
7.63
KB
-rw-r--r--
2024-02-13 21:40
node_crypto.h
2.27
KB
-rw-r--r--
2024-02-13 21:40
node_dir.h
1.31
KB
-rw-r--r--
2024-02-13 21:40
node_dtrace.h
2.89
KB
-rw-r--r--
2024-02-13 21:40
node_errors.h
16.86
KB
-rw-r--r--
2024-02-13 21:40
node_external_reference.h
7.86
KB
-rw-r--r--
2024-02-13 21:40
node_file-inl.h
12.45
KB
-rw-r--r--
2024-02-13 21:40
node_file.h
14.7
KB
-rw-r--r--
2024-02-13 21:40
node_http2.h
38.61
KB
-rw-r--r--
2024-02-13 21:40
node_http2_state.h
4.76
KB
-rw-r--r--
2024-02-13 21:40
node_http_common-inl.h
5.46
KB
-rw-r--r--
2024-02-13 21:40
node_http_common.h
24.56
KB
-rw-r--r--
2024-02-13 21:40
node_i18n.h
4.34
KB
-rw-r--r--
2024-02-13 21:40
node_internals.h
15.03
KB
-rw-r--r--
2024-02-13 21:40
node_main_instance.h
2.96
KB
-rw-r--r--
2024-02-13 21:40
node_mem-inl.h
3.6
KB
-rw-r--r--
2024-02-13 21:40
node_mem.h
1.27
KB
-rw-r--r--
2024-02-13 21:40
node_messaging.h
14.3
KB
-rw-r--r--
2024-02-13 21:40
node_metadata.h
4.37
KB
-rw-r--r--
2024-02-13 21:40
node_mutex.h
7.78
KB
-rw-r--r--
2024-02-13 21:40
node_object_wrap.h
3.78
KB
-rw-r--r--
2024-02-13 21:40
node_options-inl.h
15.86
KB
-rw-r--r--
2024-02-13 21:40
node_options.h
17.57
KB
-rw-r--r--
2024-02-13 21:40
node_perf.h
4.76
KB
-rw-r--r--
2024-02-13 21:40
node_perf_common.h
2.88
KB
-rw-r--r--
2024-02-13 21:40
node_platform.h
6.19
KB
-rw-r--r--
2024-02-13 21:40
node_process-inl.h
737
B
-rw-r--r--
2024-02-13 21:40
node_process.h
3.36
KB
-rw-r--r--
2024-02-13 21:40
node_realm-inl.h
4.59
KB
-rw-r--r--
2024-02-13 21:40
node_realm.h
5.38
KB
-rw-r--r--
2024-02-13 21:40
node_report.h
994
B
-rw-r--r--
2024-02-13 21:40
node_revert.h
2.09
KB
-rw-r--r--
2024-02-13 21:40
node_root_certs.h
231.49
KB
-rw-r--r--
2024-02-13 21:40
node_sea.h
517
B
-rw-r--r--
2024-02-13 21:40
node_shadow_realm.h
449
B
-rw-r--r--
2024-02-13 21:40
node_snapshot_builder.h
1.21
KB
-rw-r--r--
2024-02-13 21:40
node_snapshotable.h
4.82
KB
-rw-r--r--
2024-02-13 21:40
node_sockaddr-inl.h
7.28
KB
-rw-r--r--
2024-02-13 21:40
node_sockaddr.h
12.91
KB
-rw-r--r--
2024-02-13 21:40
node_stat_watcher.h
2.36
KB
-rw-r--r--
2024-02-13 21:40
node_threadsafe_cow-inl.h
1.28
KB
-rw-r--r--
2024-02-13 21:40
node_threadsafe_cow.h
2.78
KB
-rw-r--r--
2024-02-13 21:40
node_union_bytes.h
1.66
KB
-rw-r--r--
2024-02-13 21:40
node_url.h
2.13
KB
-rw-r--r--
2024-02-13 21:40
node_util.h
1.39
KB
-rw-r--r--
2024-02-13 21:40
node_v8.h
1.67
KB
-rw-r--r--
2024-02-13 21:40
node_v8_platform-inl.h
6.63
KB
-rw-r--r--
2024-02-13 21:40
node_version.h
3.85
KB
-rw-r--r--
2024-04-18 19:08
node_wasi.h
5.21
KB
-rw-r--r--
2024-02-13 21:40
node_wasm_web_api.h
1.78
KB
-rw-r--r--
2024-02-13 21:40
node_watchdog.h
4.32
KB
-rw-r--r--
2024-02-13 21:40
node_win32_etw_provider-inl.h
11.53
KB
-rw-r--r--
2024-02-13 21:40
node_win32_etw_provider.h
3.67
KB
-rw-r--r--
2024-02-13 21:40
node_worker.h
4.92
KB
-rw-r--r--
2024-02-13 21:40
pipe_wrap.h
2.78
KB
-rw-r--r--
2024-02-13 21:40
req_wrap-inl.h
5.43
KB
-rw-r--r--
2024-02-13 21:40
req_wrap.h
2.23
KB
-rw-r--r--
2024-02-13 21:40
spawn_sync.h
6.87
KB
-rw-r--r--
2024-02-13 21:40
stream_base-inl.h
4.93
KB
-rw-r--r--
2024-02-13 21:40
stream_base.h
17.44
KB
-rw-r--r--
2024-02-13 21:40
stream_pipe.h
2.39
KB
-rw-r--r--
2024-02-13 21:40
stream_wrap.h
4.15
KB
-rw-r--r--
2024-02-13 21:40
string_bytes.h
4.69
KB
-rw-r--r--
2024-02-13 21:40
string_decoder-inl.h
858
B
-rw-r--r--
2024-02-13 21:40
string_decoder.h
1.5
KB
-rw-r--r--
2024-02-13 21:40
string_search.h
20.94
KB
-rw-r--r--
2024-02-13 21:40
tcp_wrap.h
3.9
KB
-rw-r--r--
2024-02-13 21:40
threadpoolwork-inl.h
2.58
KB
-rw-r--r--
2024-02-13 21:40
timer_wrap-inl.h
755
B
-rw-r--r--
2024-02-13 21:40
timer_wrap.h
1.79
KB
-rw-r--r--
2024-02-13 21:40
tty_wrap.h
2.27
KB
-rw-r--r--
2024-02-13 21:40
udp_wrap.h
8.5
KB
-rw-r--r--
2024-02-13 21:40
undici_version.h
215
B
-rw-r--r--
2024-04-18 19:08
util-inl.h
19.56
KB
-rw-r--r--
2024-02-13 21:40
util.h
31.46
KB
-rw-r--r--
2024-02-13 21:40
v8abbr.h
5.05
KB
-rw-r--r--
2024-02-13 21:40
Save
Rename
#ifndef SRC_NODE_MESSAGING_H_ #define SRC_NODE_MESSAGING_H_ #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS #include "env.h" #include "node_mutex.h" #include "v8.h" #include <deque> #include <string> #include <unordered_map> #include <set> namespace node { namespace worker { class MessagePortData; class MessagePort; typedef MaybeStackBuffer<v8::Local<v8::Value>, 8> TransferList; // Used to represent the in-flight structure of an object that is being // transferred or cloned using postMessage(). class TransferData : public MemoryRetainer { public: // Deserialize this object on the receiving end after a .postMessage() call. // - `context` may not be the same as `env->context()`. This method should // not produce JS objects coming from Contexts other than `context`. // - `self` is a unique_ptr for the object that this is being called on. // - The return value is treated like a `Maybe`, i.e. if `nullptr` is // returned, any further deserialization of the message is stopped and // control is returned to the event loop or JS as soon as possible. virtual BaseObjectPtr<BaseObject> Deserialize( Environment* env, v8::Local<v8::Context> context, std::unique_ptr<TransferData> self) = 0; // FinalizeTransferWrite() is the counterpart to // BaseObject::FinalizeTransferRead(). It is called right after the transfer // data was created, and defaults to doing nothing. After this function, // this object should not hold any more Isolate-specific data. virtual v8::Maybe<bool> FinalizeTransferWrite( v8::Local<v8::Context> context, v8::ValueSerializer* serializer); }; // Represents a single communication message. class Message : public MemoryRetainer { public: // Create a Message with a specific underlying payload, in the format of the // V8 ValueSerializer API. If `payload` is empty, this message indicates // that the receiving message port should close itself. explicit Message(MallocedBuffer<char>&& payload = MallocedBuffer<char>()); ~Message() = default; Message(Message&& other) = default; Message& operator=(Message&& other) = default; Message& operator=(const Message&) = delete; Message(const Message&) = delete; // Whether this is a message indicating that the port is to be closed. // This is the last message to be received by a MessagePort. bool IsCloseMessage() const; // Deserialize the contained JS value. May only be called once, and only // after Serialize() has been called (e.g. by another thread). v8::MaybeLocal<v8::Value> Deserialize( Environment* env, v8::Local<v8::Context> context, v8::Local<v8::Value>* port_list = nullptr); // Serialize a JS value, and optionally transfer objects, into this message. // The Message object retains ownership of all transferred objects until // deserialization. // The source_port parameter, if provided, will make Serialize() throw a // "DataCloneError" DOMException if source_port is found in transfer_list. v8::Maybe<bool> Serialize(Environment* env, v8::Local<v8::Context> context, v8::Local<v8::Value> input, const TransferList& transfer_list, v8::Local<v8::Object> source_port = v8::Local<v8::Object>()); // Internal method of Message that is called when a new SharedArrayBuffer // object is encountered in the incoming value's structure. void AddSharedArrayBuffer(std::shared_ptr<v8::BackingStore> backing_store); // Internal method of Message that is called once serialization finishes // and that transfers ownership of `data` to this message. void AddTransferable(std::unique_ptr<TransferData>&& data); // Internal method of Message that is called when a new WebAssembly.Module // object is encountered in the incoming value's structure. uint32_t AddWASMModule(v8::CompiledWasmModule&& mod); // The host objects that will be transferred, as recorded by Serialize() // (e.g. MessagePorts). // Used for warning user about posting the target MessagePort to itself, // which will as a side effect destroy the communication channel. const std::vector<std::unique_ptr<TransferData>>& transferables() const { return transferables_; } bool has_transferables() const { return !transferables_.empty() || !array_buffers_.empty(); } void MemoryInfo(MemoryTracker* tracker) const override; SET_MEMORY_INFO_NAME(Message) SET_SELF_SIZE(Message) private: MallocedBuffer<char> main_message_buf_; // TODO(addaleax): Make this a std::variant to save storage size in the common // case (which is that all of these vectors are empty) once that is available // with C++17. std::vector<std::shared_ptr<v8::BackingStore>> array_buffers_; std::vector<std::shared_ptr<v8::BackingStore>> shared_array_buffers_; std::vector<std::unique_ptr<TransferData>> transferables_; std::vector<v8::CompiledWasmModule> wasm_modules_; friend class MessagePort; }; class SiblingGroup final : public std::enable_shared_from_this<SiblingGroup> { public: // Named SiblingGroup, Used for one-to-many BroadcastChannels. static std::shared_ptr<SiblingGroup> Get(const std::string& name); // Anonymous SiblingGroup, Used for one-to-one MessagePort pairs. SiblingGroup() = default; explicit SiblingGroup(const std::string& name); ~SiblingGroup(); // Dispatches the Message to the collection of associated // ports. If there is more than one destination port and // the Message contains transferables, Dispatch will fail. // Returns Just(true) if successful and the message was // dispatched to at least one destination. Returns Just(false) // if there were no destinations. Returns Nothing<bool>() // if there was an error. If error is not nullptr, it will // be set to an error message or warning message as appropriate. v8::Maybe<bool> Dispatch( MessagePortData* source, std::shared_ptr<Message> message, std::string* error = nullptr); void Entangle(MessagePortData* data); void Entangle(std::initializer_list<MessagePortData*> data); void Disentangle(MessagePortData* data); const std::string& name() const { return name_; } size_t size() const { return ports_.size(); } private: const std::string name_; RwLock group_mutex_; // Protects ports_. std::set<MessagePortData*> ports_; static void CheckSiblingGroup(const std::string& name); using Map = std::unordered_map<std::string, std::weak_ptr<SiblingGroup>>; static Mutex groups_mutex_; static Map groups_; }; // This contains all data for a `MessagePort` instance that is not tied to // a specific Environment/Isolate/event loop, for easier transfer between those. class MessagePortData : public TransferData { public: explicit MessagePortData(MessagePort* owner); ~MessagePortData() override; MessagePortData(MessagePortData&& other) = delete; MessagePortData& operator=(MessagePortData&& other) = delete; MessagePortData(const MessagePortData& other) = delete; MessagePortData& operator=(const MessagePortData& other) = delete; // Add a message to the incoming queue and notify the receiver. // This may be called from any thread. void AddToIncomingQueue(std::shared_ptr<Message> message); v8::Maybe<bool> Dispatch( std::shared_ptr<Message> message, std::string* error = nullptr); // Turns `a` and `b` into siblings, i.e. connects the sending side of one // to the receiving side of the other. This is not thread-safe. static void Entangle(MessagePortData* a, MessagePortData* b); // Removes any possible sibling. This is thread-safe (it acquires both // `sibling_mutex_` and `mutex_`), and has to be because it is called once // the corresponding JS handle handle wants to close // which can happen on either side of a worker. void Disentangle(); void MemoryInfo(MemoryTracker* tracker) const override; BaseObjectPtr<BaseObject> Deserialize( Environment* env, v8::Local<v8::Context> context, std::unique_ptr<TransferData> self) override; SET_MEMORY_INFO_NAME(MessagePortData) SET_SELF_SIZE(MessagePortData) private: // This mutex protects all fields below it, with the exception of // sibling_. mutable Mutex mutex_; // TODO(addaleax): Make this a std::variant<std::shared_ptr, std::unique_ptr> // once that is available with C++17, because std::shared_ptr comes with // overhead that is only necessary for BroadcastChannel. std::deque<std::shared_ptr<Message>> incoming_messages_; MessagePort* owner_ = nullptr; std::shared_ptr<SiblingGroup> group_; friend class MessagePort; friend class SiblingGroup; }; // A message port that receives messages from other threads, including // the uv_async_t handle that is used to notify the current event loop of // new incoming messages. class MessagePort : public HandleWrap { private: // Create a new MessagePort. The `context` argument specifies the Context // instance that is used for creating the values emitted from this port. // This is called by MessagePort::New(), which is the public API used for // creating MessagePort instances. MessagePort(Environment* env, v8::Local<v8::Context> context, v8::Local<v8::Object> wrap); public: ~MessagePort() override; // Create a new message port instance, optionally over an existing // `MessagePortData` object. static MessagePort* New(Environment* env, v8::Local<v8::Context> context, std::unique_ptr<MessagePortData> data = {}, std::shared_ptr<SiblingGroup> sibling_group = {}); // Send a message, i.e. deliver it into the sibling's incoming queue. // If this port is closed, or if there is no sibling, this message is // serialized with transfers, then silently discarded. v8::Maybe<bool> PostMessage(Environment* env, v8::Local<v8::Context> context, v8::Local<v8::Value> message, const TransferList& transfer); // Start processing messages on this port as a receiving end. void Start(); // Stop processing messages on this port as a receiving end. void Stop(); /* constructor */ static void New(const v8::FunctionCallbackInfo<v8::Value>& args); /* prototype methods */ static void PostMessage(const v8::FunctionCallbackInfo<v8::Value>& args); static void Start(const v8::FunctionCallbackInfo<v8::Value>& args); static void Stop(const v8::FunctionCallbackInfo<v8::Value>& args); static void CheckType(const v8::FunctionCallbackInfo<v8::Value>& args); static void Drain(const v8::FunctionCallbackInfo<v8::Value>& args); static void ReceiveMessage(const v8::FunctionCallbackInfo<v8::Value>& args); /* static */ static void MoveToContext(const v8::FunctionCallbackInfo<v8::Value>& args); // Turns `a` and `b` into siblings, i.e. connects the sending side of one // to the receiving side of the other. This is not thread-safe. static void Entangle(MessagePort* a, MessagePort* b); static void Entangle(MessagePort* a, MessagePortData* b); // Detach this port's data for transferring. After this, the MessagePortData // is no longer associated with this handle, although it can still receive // messages. std::unique_ptr<MessagePortData> Detach(); void Close( v8::Local<v8::Value> close_callback = v8::Local<v8::Value>()) override; // Returns true if either data_ has been freed, or if the handle is being // closed. Equivalent to the [[Detached]] internal slot in the HTML Standard. // // If checking if a JavaScript MessagePort object is detached, this method // alone is often not enough, since the backing C++ MessagePort object may // have been deleted already. For all intents and purposes, an object with a // NULL pointer to the C++ MessagePort object is also detached. inline bool IsDetached() const; TransferMode GetTransferMode() const override; std::unique_ptr<TransferData> TransferForMessaging() override; void MemoryInfo(MemoryTracker* tracker) const override; SET_MEMORY_INFO_NAME(MessagePort) SET_SELF_SIZE(MessagePort) private: enum class MessageProcessingMode { kNormalOperation, kForceReadMessages }; void OnClose() override; void OnMessage(MessageProcessingMode mode); void TriggerAsync(); v8::MaybeLocal<v8::Value> ReceiveMessage( v8::Local<v8::Context> context, MessageProcessingMode mode, v8::Local<v8::Value>* port_list = nullptr); std::unique_ptr<MessagePortData> data_ = nullptr; bool receiving_messages_ = false; uv_async_t async_; v8::Global<v8::Function> emit_message_fn_; friend class MessagePortData; }; // Provide a base class from which JS classes that should be transferable or // cloneable by postMessage() can inherit. // See e.g. FileHandle in internal/fs/promises.js for an example. class JSTransferable : public BaseObject { public: JSTransferable(Environment* env, v8::Local<v8::Object> obj); static void New(const v8::FunctionCallbackInfo<v8::Value>& args); TransferMode GetTransferMode() const override; std::unique_ptr<TransferData> TransferForMessaging() override; std::unique_ptr<TransferData> CloneForMessaging() const override; v8::Maybe<std::vector<BaseObjectPtr<BaseObject>>> NestedTransferables() const override; v8::Maybe<bool> FinalizeTransferRead( v8::Local<v8::Context> context, v8::ValueDeserializer* deserializer) override; SET_NO_MEMORY_INFO() SET_MEMORY_INFO_NAME(JSTransferable) SET_SELF_SIZE(JSTransferable) private: std::unique_ptr<TransferData> TransferOrClone(TransferMode mode) const; class Data : public TransferData { public: Data(std::string&& deserialize_info, v8::Global<v8::Value>&& data); BaseObjectPtr<BaseObject> Deserialize( Environment* env, v8::Local<v8::Context> context, std::unique_ptr<TransferData> self) override; v8::Maybe<bool> FinalizeTransferWrite( v8::Local<v8::Context> context, v8::ValueSerializer* serializer) override; SET_NO_MEMORY_INFO() SET_MEMORY_INFO_NAME(JSTransferableTransferData) SET_SELF_SIZE(Data) private: std::string deserialize_info_; v8::Global<v8::Value> data_; }; }; v8::Local<v8::FunctionTemplate> GetMessagePortConstructorTemplate( Environment* env); } // namespace worker } // namespace node #endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS #endif // SRC_NODE_MESSAGING_H_