org.cometd.oort
Class OortComet
java.lang.Object
org.cometd.common.AbstractClientSession
org.cometd.client.BayeuxClient
org.cometd.oort.OortComet
- All Implemented Interfaces:
- Bayeux, ClientSession, Session, TransportListener
public class OortComet
- extends BayeuxClient
Oort Comet client.
A BayeuxClient that connects the local Oort comet server to
a remote Oort comet server.
Methods inherited from class org.cometd.client.BayeuxClient |
customize, disconnect, doDisconnected, doSend, getAllowedTransports, getCookie, getId, getKnownTransportNames, getOption, getOptionNames, getOptions, getTransport, handshake, handshake, handshake, handshake, isConnected, newChannel, newChannelId, newMessage, processConnect, processDisconnect, processHandshake, receive, send, sendBatch, setCookie, setCookie, setOption, toString, updateTransport, waitFor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_oort
protected Oort _oort
_cometUrl
protected java.lang.String _cometUrl
_cometSecret
protected java.lang.String _cometSecret
subscribe
public void subscribe(java.lang.String id)
onException
public void onException(java.lang.Throwable x)
- Specified by:
onException
in interface TransportListener
- Overrides:
onException
in class BayeuxClient
- See Also:
BayeuxClient.onException(java.lang.Throwable)
onExpire
public void onExpire()
- Specified by:
onExpire
in interface TransportListener
- Overrides:
onExpire
in class BayeuxClient
- See Also:
BayeuxClient.onExpire()
onMessages
public void onMessages(java.util.List<Message.Mutable> messages)
- Specified by:
onMessages
in interface TransportListener
- Overrides:
onMessages
in class BayeuxClient
- See Also:
BayeuxClient.onMessages(java.util.List)
onProtocolError
public void onProtocolError(java.lang.String info)
- Specified by:
onProtocolError
in interface TransportListener
- Overrides:
onProtocolError
in class BayeuxClient
- See Also:
BayeuxClient.onProtocolError(java.lang.String)
onConnectException
public void onConnectException(java.lang.Throwable x)
- Specified by:
onConnectException
in interface TransportListener
- Overrides:
onConnectException
in class BayeuxClient
- See Also:
BayeuxClient.onConnectException(java.lang.Throwable)
Copyright © 2010 Dojo Foundation. All Rights Reserved.