|
Oracle Complex Event Processing API Reference 11g Release 1 (11.1.1) E14303-03 |
|||||||||
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 | |
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 |
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 JSONArray connect() throws java.io.IOException
public void publish(java.lang.String data, java.lang.String channelName) throws java.io.IOException
data
- channelName
- public JSONArray subscribe(java.lang.String channelName) throws java.io.IOException
channelName
- public void disconnect()
|
Copyright © 2007, 2010 Oracle and/or its affiliates. All rights reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |