wrapper->req=db->retrievePMTServices(wrapper, serviceId==-1 ? new DvbSi::IdTracker(): new DvbSi::IdTracker(serviceId), (DvbSi::RetrieveMode)retrieveMode); return (jlong)wrapper;
wrapper->req=db->retrievePMTServices(wrapper, originalNetworkId, transportStreamId, serviceId==-1 ? 0: new DvbSi::SingleIdTracker(serviceId), (DvbSi::RetrieveMode)retrieveMode); printf("PMTServicesRequest: creating request %p, wrapper %p\n", wrapper->req, wrapper); return RequestWrapperNativeData(wrapper);
jlong Java_org_dvb_si_SIDatabaseRequest_PMTServicesRequest(JNIEnv* env, jobject obj, jobject nativeDatabase, jshort retrieveMode, jint serviceId) {   JNI::JNIEnvProvider::SetJavaEnv(env);   DvbSi::Database::Ptr db=NativeDvbsiDatabaseData(nativeDatabase);   PMTServicesRequestWrapper *wrapper=new PMTServicesRequestWrapper(obj);   wrapper->req=db->retrievePMTServices(wrapper, serviceId==-1 ? new DvbSi::IdTracker(): new DvbSi::IdTracker(serviceId),               (DvbSi::RetrieveMode)retrieveMode);   return (jlong)wrapper;}