Browse Source

Added fast polling callback setter method

JNI-44
Arturo 9 years ago
parent
commit
460f299caf
  1. 4
      src/org/pEp/jniadapter/AbstractEngine.java

4
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);

Loading…
Cancel
Save