1 |
|
|
#ifndef SRC_CONNECT_WRAP_H_ |
2 |
|
|
#define SRC_CONNECT_WRAP_H_ |
3 |
|
|
|
4 |
|
|
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS |
5 |
|
|
|
6 |
|
|
#include "req_wrap-inl.h" |
7 |
|
|
#include "async_wrap.h" |
8 |
|
|
|
9 |
|
|
namespace node { |
10 |
|
|
|
11 |
|
|
class ConnectWrap : public ReqWrap<uv_connect_t> { |
12 |
|
|
public: |
13 |
|
|
ConnectWrap(Environment* env, |
14 |
|
|
v8::Local<v8::Object> req_wrap_obj, |
15 |
|
|
AsyncWrap::ProviderType provider); |
16 |
|
|
|
17 |
|
|
SET_NO_MEMORY_INFO() |
18 |
|
2 |
SET_MEMORY_INFO_NAME(ConnectWrap) |
19 |
|
|
SET_SELF_SIZE(ConnectWrap) |
20 |
|
|
}; |
21 |
|
|
|
22 |
|
|
} // namespace node |
23 |
|
|
|
24 |
|
|
#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS |
25 |
|
|
|
26 |
|
|
#endif // SRC_CONNECT_WRAP_H_ |