22 #ifndef SRC_PIPE_WRAP_H_ 23 #define SRC_PIPE_WRAP_H_ 25 #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS 33 class PipeWrap :
public ConnectionWrap<PipeWrap, uv_pipe_t> {
35 static v8::Local<v8::Object> Instantiate(Environment* env, AsyncWrap* parent);
36 static void Initialize(v8::Local<v8::Object> target,
37 v8::Local<v8::Value> unused,
38 v8::Local<v8::Context> context);
40 size_t self_size()
const override {
return sizeof(*this); }
43 PipeWrap(Environment* env,
44 v8::Local<v8::Object>
object,
47 static void New(
const v8::FunctionCallbackInfo<v8::Value>& args);
48 static void Bind(
const v8::FunctionCallbackInfo<v8::Value>& args);
49 static void Listen(
const v8::FunctionCallbackInfo<v8::Value>& args);
50 static void Connect(
const v8::FunctionCallbackInfo<v8::Value>& args);
51 static void Open(
const v8::FunctionCallbackInfo<v8::Value>& args);
54 static void SetPendingInstances(
55 const v8::FunctionCallbackInfo<v8::Value>& args);
62 #endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS 64 #endif // SRC_PIPE_WRAP_H_
void Initialize(Local< Object > target, Local< Value > unused, Local< Context > context, void *priv)
void Open(const FunctionCallbackInfo< Value > &args)
MaybeLocal< Object > New(Isolate *isolate, Local< String > string, enum encoding enc)