File Information
Library:
Package:
Header: Poco/OSP/JS/ServiceListenerWrapper.h
Inheritance
Direct Base Classes: Poco::RefCountedObject
All Base Classes: Poco::RefCountedObject
Member Summary
Member Functions: dispose, onServiceRegistered, onServiceUnregistered
Inherited Functions: duplicate, referenceCount, release
Types Aliases
Ptr
using Ptr = Poco::AutoPtr < ServiceListenerHolder >;
Constructors
ServiceListenerHolder
ServiceListenerHolder(
v8::Isolate * pIsolate,
Poco::JS::Core::JSExecutor::Ptr pExecutor,
Poco::OSP::ServiceRegistry & registry,
const std::string & query,
v8::Local < v8::Function > registeredCallback,
v8::Local < v8::Function > unregisteredCallback
);
Destructor
~ServiceListenerHolder
Member Functions
dispose
void dispose();
onServiceRegistered
void onServiceRegistered(
const Poco::OSP::ServiceRef::Ptr & pServiceRef
);
onServiceUnregistered
void onServiceUnregistered(
const Poco::OSP::ServiceRef::Ptr & pServiceRef
);