Lines Matching refs:UDPWrapBase
106 UDPWrapBase::~UDPWrapBase() { in ~UDPWrapBase()
110 UDPListener* UDPWrapBase::listener() const { in listener()
115 void UDPWrapBase::set_listener(UDPListener* listener) { in set_listener()
125 UDPWrapBase* UDPWrapBase::FromObject(Local<Object> obj) { in FromObject()
126 CHECK_GT(obj->InternalFieldCount(), UDPWrapBase::kUDPWrapBaseField); in FromObject()
127 return static_cast<UDPWrapBase*>( in FromObject()
128 obj->GetAlignedPointerFromInternalField(UDPWrapBase::kUDPWrapBaseField)); in FromObject()
131 void UDPWrapBase::AddMethods(Environment* env, Local<FunctionTemplate> t) { in AddMethods()
142 UDPWrapBase::kUDPWrapBaseField, static_cast<UDPWrapBase*>(this)); in UDPWrap()
160 UDPWrapBase::kInternalFieldCount); in Initialize()
175 UDPWrapBase::AddMethods(env, t); in Initialize()
645 void UDPWrapBase::RecvStart(const FunctionCallbackInfo<Value>& args) { in RecvStart()
646 UDPWrapBase* wrap = UDPWrapBase::FromObject(args.Holder()); in RecvStart()
660 void UDPWrapBase::RecvStop(const FunctionCallbackInfo<Value>& args) { in RecvStop()
661 UDPWrapBase* wrap = UDPWrapBase::FromObject(args.Holder()); in RecvStop()