clean closure api
diff --git a/ccnx/ccnx-closure.h b/ccnx/ccnx-closure.h
index f006d11..1bcaa06 100644
--- a/ccnx/ccnx-closure.h
+++ b/ccnx/ccnx-closure.h
@@ -21,10 +21,8 @@
typedef boost::function<TimeoutCallbackReturnValue (const Name &)> TimeoutCallback;
- Closure(int retry, const DataCallback &dataCallback, const TimeoutCallback &timeoutCallback = TimeoutCallback());
+ Closure(const DataCallback &dataCallback, const TimeoutCallback &timeoutCallback = TimeoutCallback());
Closure(const Closure &other);
- int getRetry() {return m_retry;}
- void decRetry() { m_retry--;}
virtual ~Closure();
virtual void
runDataCallback(const Name &name, const Bytes &content);
@@ -35,7 +33,6 @@
dup() const;
protected:
- int m_retry;
TimeoutCallback *m_timeoutCallback;
DataCallback *m_dataCallback;
};