Class SubscriptionSupport

java.lang.Object
org.nustaq.kontraktor.util.SubscriptionSupport

public class SubscriptionSupport
extends java.lang.Object
Single threaded !! For use inside an actor. See [..]/examples/docsamples/CBSampleServer
  • Constructor Summary

    Constructors 
    Constructor Description
    SubscriptionSupport()  
  • Method Summary

    Modifier and Type Method Description
    void cleanUp()  
    Promise<java.lang.Integer> createSubsId()  
    protected java.util.Map<java.lang.Integer,​Callback> getSubsMap()  
    Promise<java.lang.Boolean> subscribe​(int id, Callback cb)  
    Promise<java.lang.Boolean> unSubscribe​(int id, Callback cb)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait