com.caucho.message.stomp
Class StompClient
java.lang.Object
com.caucho.message.stomp.StompClient
public class StompClient
- extends java.lang.Object
Custom serialization for the cache
Constructor Summary |
StompClient(java.lang.String address,
int port)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StompClient
public StompClient(java.lang.String address,
int port)
connect
public void connect(java.lang.String user,
java.lang.String password)
throws java.io.IOException
- Throws:
java.io.IOException
send
public void send(java.lang.String dest,
java.lang.String msg)
throws java.io.IOException
- Throws:
java.io.IOException
createSubscription
public StompClientSubscriber createSubscription(java.lang.String dest)
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()