|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.wlevs.adapters.httppubsub.support.HttpPubSubHelper.Client
PubSub Client representing a single client connection to a pubsub server. This holds state that applies to a given client connection, and is not thread safe.
Constructor Summary | |
HttpPubSubHelper.Client(java.lang.String serverURL,
java.lang.String user,
java.lang.String password)
|
Method Summary | |
com.bea.httppubsub.json.JSONArray |
connect()
Send a connect request to the server. |
void |
disconnect()
Send disconnect message to the server. |
void |
handshake()
Send a handshake request to the server. |
void |
publish(java.lang.String data,
java.lang.String channelName)
Publish data to a channel |
com.bea.httppubsub.json.JSONArray |
subscribe(java.lang.String channelName)
Subscribe to a channel |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public HttpPubSubHelper.Client(java.lang.String serverURL, java.lang.String user, java.lang.String password)
Method Detail |
public void handshake() throws java.io.IOException
public com.bea.httppubsub.json.JSONArray connect() throws java.io.IOException
public void publish(java.lang.String data, java.lang.String channelName) throws java.io.IOException
data
- channelName
- public com.bea.httppubsub.json.JSONArray subscribe(java.lang.String channelName) throws java.io.IOException
channelName
- public void disconnect()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |