org.cometd.client
Class BayeuxClient.Exchange
java.lang.Object
CachedExchange
org.cometd.client.BayeuxClient.Exchange
- Direct Known Subclasses:
- BayeuxClient.Connect, BayeuxClient.Handshake, BayeuxClient.Publish
- Enclosing class:
- BayeuxClient
protected class BayeuxClient.Exchange
- extends CachedExchange
The base class for all bayeux exchanges.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getResponseContent
public java.lang.String getResponseContent()
throws java.io.UnsupportedEncodingException
- Throws:
java.io.UnsupportedEncodingException
onResponseStatus
protected void onResponseStatus(Buffer version,
int status,
Buffer reason)
throws java.io.IOException
- Throws:
java.io.IOException
onResponseContent
protected void onResponseContent(Buffer content)
throws java.io.IOException
- Throws:
java.io.IOException
getBackoff
public int getBackoff()
incBackoff
public void incBackoff()
setMessage
protected void setMessage(java.lang.String message)
setJson
protected void setJson(java.lang.String json)
onResponseHeader
protected void onResponseHeader(Buffer name,
Buffer value)
throws java.io.IOException
- Throws:
java.io.IOException
onResponseComplete
protected void onResponseComplete()
throws java.io.IOException
- Throws:
java.io.IOException
resend
protected void resend(boolean backoff)
recycle
protected void recycle()
Copyright © 2011 Dojo Foundation. All Rights Reserved.