com.ibm.broker.config.proxy

Class LocalCMPSender

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


  • public class LocalCMPSender
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      LocalCMPSender(java.lang.String brokerName, int sessionID) 
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void disconnect()
      Gives the Sender the opportunity to close down cleanly.
      static boolean isLibraryLoaded() 
      void send(byte[] data)
      Sends the supplied data to the broker 'immediately'.
      void send(byte[] data, boolean replyRequired)
      Sends the supplied data to the broker 'immediately'.
      • Methods inherited from class java.lang.Object

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

      • LocalCMPSender

        public LocalCMPSender(java.lang.String brokerName,
                              int sessionID)
    • Method Detail

      • isLibraryLoaded

        public static boolean isLibraryLoaded()
      • disconnect

        public void disconnect()
        Gives the Sender the opportunity to close down cleanly.
      • send

        public void send(byte[] data)
                  throws ConfigManagerProxyLoggedException
        Sends the supplied data to the broker 'immediately'. This may involve (re)initialising the implementor's connection to the broker.
        Parameters:
        data - the data to be sent to the broker.
        Throws:
        ConfigManagerProxyLoggedException - if the data could not be sent for whatever reason.
      • send

        public void send(byte[] data,
                         boolean replyRequired)
                  throws ConfigManagerProxyLoggedException
        Sends the supplied data to the broker 'immediately'. This may involve (re)initialising the implementor's connection to the broker.
        Parameters:
        data - the data to be sent to the broker.
        replyRequired - true if and only if a reply to the message is required.
        Throws:
        ConfigManagerProxyLoggedException - if the data could not be sent for whatever reason.