com.caucho.message.stomp
Class StompClient

java.lang.Object
  extended by 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)
           
 
Method Summary
 void close()
           
 void connect(java.lang.String user, java.lang.String password)
           
 StompClientSubscriber createSubscription(java.lang.String dest)
           
 void send(java.lang.String dest, java.lang.String msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StompClient

public StompClient(java.lang.String address,
                   int port)
Method Detail

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()