diff options
Diffstat (limited to 'src/tcp_wrap.h')
-rw-r--r-- | src/tcp_wrap.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/src/tcp_wrap.h b/src/tcp_wrap.h index 9b8cd291407..317557d4a7f 100644 --- a/src/tcp_wrap.h +++ b/src/tcp_wrap.h @@ -37,20 +37,21 @@ class TCPWrap : public StreamWrap { TCPWrap(v8::Handle<v8::Object> object); ~TCPWrap(); - static v8::Handle<v8::Value> New(const v8::Arguments& args); - static v8::Handle<v8::Value> GetSockName(const v8::Arguments& args); - static v8::Handle<v8::Value> GetPeerName(const v8::Arguments& args); - static v8::Handle<v8::Value> SetNoDelay(const v8::Arguments& args); - static v8::Handle<v8::Value> SetKeepAlive(const v8::Arguments& args); - static v8::Handle<v8::Value> Bind(const v8::Arguments& args); - static v8::Handle<v8::Value> Bind6(const v8::Arguments& args); - static v8::Handle<v8::Value> Listen(const v8::Arguments& args); - static v8::Handle<v8::Value> Connect(const v8::Arguments& args); - static v8::Handle<v8::Value> Connect6(const v8::Arguments& args); - static v8::Handle<v8::Value> Open(const v8::Arguments& args); + static void New(const v8::FunctionCallbackInfo<v8::Value>& args); + static void GetSockName(const v8::FunctionCallbackInfo<v8::Value>& args); + static void GetPeerName(const v8::FunctionCallbackInfo<v8::Value>& args); + static void SetNoDelay(const v8::FunctionCallbackInfo<v8::Value>& args); + static void SetKeepAlive(const v8::FunctionCallbackInfo<v8::Value>& args); + static void Bind(const v8::FunctionCallbackInfo<v8::Value>& args); + static void Bind6(const v8::FunctionCallbackInfo<v8::Value>& args); + static void Listen(const v8::FunctionCallbackInfo<v8::Value>& args); + static void Connect(const v8::FunctionCallbackInfo<v8::Value>& args); + static void Connect6(const v8::FunctionCallbackInfo<v8::Value>& args); + static void Open(const v8::FunctionCallbackInfo<v8::Value>& args); #ifdef _WIN32 - static v8::Handle<v8::Value> SetSimultaneousAccepts(const v8::Arguments& args); + static void SetSimultaneousAccepts( + const v8::FunctionCallbackInfo<v8::Value>& args); #endif static void OnConnection(uv_stream_t* handle, int status); |