wrapper->req=new DvbSi::TransportStreamRequest(((NetworksRequestWrapper *)nativeRequest)->req, (std::list<DvbSi::NIT> *)nativeList, db, wrapper, (DvbSi::RetrieveMode)retrieveMode); return (jlong)wrapper;
if (typeid(*wr) == typeid(NetworksRequestWrapper)) wrapper->req=new DvbSi::TransportStreamRequest(NetworksRequestWrapperNativeData(nativeRequest).Get()->req, StdListDvbsiNitNativeData(nativeList), db, wrapper, (DvbSi::RetrieveMode)retrieveMode); else wrapper->req=new DvbSi::TransportStreamRequest(ActualNetworkRequestWrapperNativeData(nativeRequest).Get()->req, StdListDvbsiNitNativeData(nativeList), db, wrapper, (DvbSi::RetrieveMode)retrieveMode); return RequestWrapperNativeData(wrapper);
jlong Java_org_dvb_si_SIDatabaseRequest_TransportStreamRequest(JNIEnv* env, jobject obj, jobject nativeDatabase, jshort retrieveMode, jlong nativeList, jlong nativeRequest) {   JNI::JNIEnvProvider::SetJavaEnv(env);   DvbSi::Database::Ptr db=NativeDvbsiDatabaseData(nativeDatabase);      TransportStreamRequestWrapper *wrapper=new TransportStreamRequestWrapper(obj);      wrapper->req=new DvbSi::TransportStreamRequest(((NetworksRequestWrapper *)nativeRequest)->req, (std::list<DvbSi::NIT> *)nativeList, db, wrapper, (DvbSi::RetrieveMode)retrieveMode);   return (jlong)wrapper;}