|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractLifeCycle
org.cometd.client.BayeuxClient
org.cometd.oort.OortComet
public class OortComet
Oort Comet client.
A BayeuxClient that connects the local Oort comet server to a remote Oort comet server.
Nested Class Summary | |
---|---|
protected class |
OortComet.OortCometListener
|
Nested classes/interfaces inherited from class org.cometd.client.BayeuxClient |
---|
BayeuxClient.Connect, BayeuxClient.Exchange, BayeuxClient.Handshake, BayeuxClient.Publish |
Field Summary | |
---|---|
protected java.lang.String |
_cometSecret
|
protected java.lang.String |
_cometUrl
|
protected boolean |
_connected
|
protected boolean |
_handshook
|
protected Oort |
_oort
|
Fields inherited from class org.cometd.client.BayeuxClient |
---|
_msgPool |
Method Summary | |
---|---|
protected java.lang.String |
extendOut(java.lang.String message)
Called to extend outbound string messages. |
boolean |
isConnected()
|
boolean |
isHandshook()
|
protected void |
metaConnect(boolean success,
Message message)
Called with the results of a /meta/connect message |
protected void |
metaHandshake(boolean success,
boolean reestablish,
Message message)
Called with the results of a /meta/handshake message |
protected void |
metaPublishFail(java.lang.Throwable e,
Message[] messages)
Called with the results of a failed publish |
Methods inherited from class org.cometd.client.BayeuxClient |
---|
addExtension, addListener, customize, deliver, deliver, disconnect, doStart, doStop, endBatch, extendIn, extendOut, getBackoffIncrement, getBackoffInterval, getBackoffMaxInterval, getBackoffMaxRetries, getCookie, getId, getListener, getMaxQueue, getQueue, hasMessages, isInitialized, isLocal, isPolling, publish, remove, removeExtension, removeListener, send, send, setBackoffIncrement, setBackOffInterval, setBackoffMaxInterval, setBackoffMaxRetries, setCookie, setInitialized, setListener, setMaxQueue, startBatch, subscribe, takeMessages, unsubscribe |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Oort _oort
protected java.lang.String _cometUrl
protected java.lang.String _cometSecret
protected boolean _connected
protected boolean _handshook
Method Detail |
---|
public boolean isConnected()
public boolean isHandshook()
protected java.lang.String extendOut(java.lang.String message)
BayeuxClient
BayeuxClient.extendOut(Message)
method to efficiently cater for these
preformatted strings.
This method calls the Extension
s added by BayeuxClient.addExtension(Extension)
extendOut
in class BayeuxClient
protected void metaConnect(boolean success, Message message)
BayeuxClient
metaConnect
in class BayeuxClient
success
- connect was returned with this statusprotected void metaHandshake(boolean success, boolean reestablish, Message message)
BayeuxClient
metaHandshake
in class BayeuxClient
success
- connect was returned with this statusreestablish
- the client was previously connected.protected void metaPublishFail(java.lang.Throwable e, Message[] messages)
BayeuxClient
metaPublishFail
in class BayeuxClient
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |