virtual void ServiceEvent(Message event, Service::Service service)
virtual void ServiceEvent(Message event, Service::Service::Ptr service)
class VDRServiceStatus : public Service::ServiceStatus {public:   VDRServiceStatus(jclass clazz) {      callback.SetMethodWithArguments(clazz, "nativeServiceEvent", JNI::Void, 1, JNI::Int);   }protected:   virtual void ServiceEvent(Message event, Service::Service service)   {      JNI::ReturnType type;      callback.CallMethod(type, (jint)event);   }private:   static JNI::StaticMethod callback;};