Interface QServerMBean

All Superinterfaces:
QBean, QBeanSupportMBean, QPersist
All Known Implementing Classes:
QServer

public interface QServerMBean extends QBeanSupportMBean
MBean interface.
  • Method Details

    • setPort

      void setPort(int port)
      Sets the TCP port the server listens on.
      Parameters:
      port - TCP port number
    • getPort

      int getPort()
      Returns the configured listen port.
      Returns:
      TCP port number
    • setPackager

      void setPackager(String packager)
      Sets the fully qualified packager class name used by accepted channels.
      Parameters:
      packager - packager class name
    • getPackager

      Returns the configured packager class name.
      Returns:
      packager class name
    • setChannel

      void setChannel(String channel)
      Sets the fully qualified channel class name instantiated for each accepted connection.
      Parameters:
      channel - channel class name
    • getChannel

      Returns the configured channel class name.
      Returns:
      channel class name
    • setMaxSessions

      void setMaxSessions(int maxSessions)
      Sets the maximum number of concurrent client sessions accepted by the server.
      Parameters:
      maxSessions - maximum sessions
    • getMaxSessions

      Returns the configured maximum number of concurrent client sessions.
      Returns:
      maximum sessions
    • setSocketFactory

      void setSocketFactory(String sFactory)
      Sets the fully qualified socket-factory class name used to create the server socket.
      Parameters:
      sFactory - socket factory class name
    • getSocketFactory

      Returns the configured socket-factory class name.
      Returns:
      socket factory class name
    • getISOChannelNames

      Returns the names of all currently-active accepted channels, comma-separated.
      Returns:
      comma-separated active channel names
    • getCountersAsString

      Returns aggregated counters across all active channels.
      Returns:
      counter snapshot suitable for diagnostics
    • getCountersAsString

      Returns counters for a single named accepted channel.
      Parameters:
      isoChannelName - accepted channel's name
      Returns:
      counter snapshot suitable for diagnostics, or empty if the channel is unknown