Interface ChannelAdaptorMBean

All Superinterfaces:
QBean, QBeanSupportMBean, QPersist
All Known Subinterfaces:
MultiSessionChannelAdaptorMBean
All Known Implementing Classes:
ChannelAdaptor, MultiSessionChannelAdaptor

public interface ChannelAdaptorMBean extends QBeanSupportMBean
MBean interface.
  • Method Details

    • setReconnectDelay

      void setReconnectDelay(long delay)
      Sets the reconnect delay.
      Parameters:
      delay - reconnect delay in milliseconds
    • getReconnectDelay

      Returns the reconnect delay.
      Returns:
      reconnect delay in milliseconds
    • setInQueue

      void setInQueue(String in)
      Sets the incoming space queue name.
      Parameters:
      in - name of the incoming space queue
    • getInQueue

      Returns the incoming space queue name.
      Returns:
      name of the incoming space queue
    • setOutQueue

      void setOutQueue(String out)
      Sets the outgoing space queue name.
      Parameters:
      out - name of the outgoing space queue
    • getOutQueue

      Returns the outgoing space queue name.
      Returns:
      name of the outgoing space queue
    • setHost

      void setHost(String host)
      Sets the remote host name or address.
      Parameters:
      host - remote host
    • getHost

      Returns the remote host name or address.
      Returns:
      remote host
    • setPort

      void setPort(int port)
      Sets the remote port number.
      Parameters:
      port - remote port
    • getPort

      int getPort()
      Returns the remote port number.
      Returns:
      remote port
    • setSocketFactory

      Sets the socket factory class name.
      Parameters:
      sFac - socket factory class name
    • getSocketFactory

      Returns the socket factory class name.
      Returns:
      socket factory class name
    • isConnected

      boolean isConnected()
      Returns true if the channel is currently connected.
      Returns:
      true if connected
    • resetCounters

      Resets all message counters to zero.
    • getCountersAsString

      Returns all counters as a human-readable string.
      Returns:
      counters string
    • getTXCounter

      Returns the transmitted message count.
      Returns:
      TX count
    • getRXCounter

      Returns the received message count.
      Returns:
      RX count
    • getConnectsCounter

      Returns the number of successful connections since last reset.
      Returns:
      connect count
    • getLastTxnTimestampInMillis

      Returns the timestamp of the last transaction.
      Returns:
      timestamp in milliseconds
    • getIdleTimeInMillis

      Returns the idle time since the last transaction.
      Returns:
      idle time in milliseconds