public class

LongPollingClient

extends Object
java.lang.Object
   ↳ org.mule.modules.box.lp.LongPollingClient

Summary

Fields
private JerseyUtil jerseyUtil
private static final Logger logger
private boolean subscribed
Public Constructors
LongPollingClient(JerseyUtil jerseyUtil)
Public Methods
synchronized void subscribe(WebResource pollingResource, String tokenIdentifier, SourceCallback callback)
synchronized void unsubscribe()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

private JerseyUtil jerseyUtil

private static final Logger logger

private boolean subscribed

Public Constructors

public LongPollingClient (JerseyUtil jerseyUtil)

Parameters
jerseyUtil

Public Methods

public synchronized void subscribe (WebResource pollingResource, String tokenIdentifier, SourceCallback callback)

Parameters
pollingResource
tokenIdentifier
callback

public synchronized void unsubscribe ()