virtual bool hasMoreElements(jlong iteratorData) = 0; virtual int numberOfRemainingObjects(jlong iteratorData) = 0; virtual jlong nextElement(jlong iteratorData) = 0; virtual jlong getNewIterator() = 0; virtual void DeleteIterator(jlong iteratorData) = 0;
virtual bool hasMoreElements(jobject iteratorData) = 0; virtual int numberOfRemainingObjects(jobject iteratorData) = 0; virtual jobject nextElement(jobject iteratorData) = 0; virtual jobject getNewIterator() = 0; virtual void DeleteIterator(jobject iteratorData) = 0;
class RequestWrapper : public DvbSi::Listener {public:   virtual ~RequestWrapper() {}   virtual bool hasMoreElements(jlong iteratorData) = 0;   virtual int numberOfRemainingObjects(jlong iteratorData) = 0;   virtual jlong nextElement(jlong iteratorData) = 0;   virtual jlong getNewIterator() = 0;   virtual void DeleteIterator(jlong iteratorData) = 0;      virtual int getResultCode() = 0;   virtual void getDataSource(DvbSi::DataSource &source) = 0;      virtual bool isAvailableInCache() = 0;   virtual bool CancelRequest() = 0;protected:   JNI::GlobalObjectRef jniobject;   JNI::InstanceMethod jnimethod;};