com.ibm.broker.config.proxy

Class WebSocketReceiver

  • java.lang.Object
    • com.ibm.broker.config.proxy.WebSocketReceiver


  • public class WebSocketReceiver
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void associateSender(com.ibm.broker.config.proxy.Sender senderObject)
      Associates an Sender object with this Receiver.
      void deregisterReceiverListener(com.ibm.broker.config.proxy.ReceiverListener r)
      Tells the Receiver to stop notifying the supplied object about all incoming messages from the broker.
      void registerReceiverListener(com.ibm.broker.config.proxy.ReceiverListener r)
      Tells the Receiver to notify the supplied object about all incoming messages from the broker.
      void run() 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WebSocketReceiver

        public WebSocketReceiver()
    • Method Detail

      • associateSender

        public void associateSender(com.ibm.broker.config.proxy.Sender senderObject)
        Associates an Sender object with this Receiver. The Receiver will disconnect the sender if it detects that the queue manager has gone down.
      • deregisterReceiverListener

        public void deregisterReceiverListener(com.ibm.broker.config.proxy.ReceiverListener r)
        Tells the Receiver to stop notifying the supplied object about all incoming messages from the broker. If, after this call, there are no remaining listeners for this receiver, the Receiver thread should close down.
        Parameters:
        r - The object that was previously registered, that should no longer be notified when a message arrives.
      • registerReceiverListener

        public void registerReceiverListener(com.ibm.broker.config.proxy.ReceiverListener r)
        Tells the Receiver to notify the supplied object about all incoming messages from the broker.
        Parameters:
        r - The object that should be notified when a message arrives.
      • run

        public void run()