From 460f299cafcca678f79219610479bed73d8d1461 Mon Sep 17 00:00:00 2001 From: Arturo Date: Tue, 7 Feb 2017 17:42:57 +0100 Subject: [PATCH] Added fast polling callback setter method --- src/org/pEp/jniadapter/AbstractEngine.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/org/pEp/jniadapter/AbstractEngine.java b/src/org/pEp/jniadapter/AbstractEngine.java index c4f449a..1242ff9 100644 --- a/src/org/pEp/jniadapter/AbstractEngine.java +++ b/src/org/pEp/jniadapter/AbstractEngine.java @@ -156,6 +156,10 @@ abstract class AbstractEngine implements AutoCloseable { this.notifyHandshakeCallback = notifyHandshakeCallback; } + public void setNeedsFastPollCallback(Sync.NeedsFastPollCallback needsFastPollCallback) { + this.needsFastPollCallback = needsFastPollCallback; + } + public int needsFastPollCallFromC(boolean fast_poll_needed) { if (needsFastPollCallback != null) { needsFastPollCallback.needsFastPollCallFromC(fast_poll_needed);