org.cometd.client
Class BayeuxClient.Connect

java.lang.Object
  extended by CachedExchange
      extended by org.cometd.client.BayeuxClient.Exchange
          extended by org.cometd.client.BayeuxClient.Connect
Enclosing class:
BayeuxClient

protected class BayeuxClient.Connect
extends BayeuxClient.Exchange

The Bayeux Connect exchange. Connect exchanges implement the long poll for Bayeux.


Method Summary
protected  void onConnectionFailed(java.lang.Throwable ex)
           
protected  void onException(java.lang.Throwable ex)
           
protected  void onExpire()
           
protected  void onResponseComplete()
           
 
Methods inherited from class org.cometd.client.BayeuxClient.Exchange
getBackoff, getResponseContent, incBackoff, onResponseContent, onResponseHeader, onResponseStatus, recycle, resend, setJson, setMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

onResponseComplete

protected void onResponseComplete()
                           throws java.io.IOException
Overrides:
onResponseComplete in class BayeuxClient.Exchange
Throws:
java.io.IOException

onExpire

protected void onExpire()

onConnectionFailed

protected void onConnectionFailed(java.lang.Throwable ex)

onException

protected void onException(java.lang.Throwable ex)


Copyright © 2011 Dojo Foundation. All Rights Reserved.