Interface BaseChannelMBean

All Known Implementing Classes:
AmexChannel, ASCIIChannel, BASE24Channel, BASE24TCPChannel, BaseChannel, BCDChannel, CMFChannel, CSChannel, FSDChannel, GICCChannel, GZIPChannel, HEXChannel, LogChannel, NACChannel, NCCChannel, PADChannel, PostChannel, RawChannel, RBPChannel, TelnetXMLChannel, VAPChannel, X25Channel, XMLChannel

public interface BaseChannelMBean
JMX management interface for BaseChannel.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Establishes a connection.
    void
    Closes the connection.
    Returns the remote host name or address.
    int
    Returns the remote port number.
    boolean
    Returns true if the channel has an active connection.
    void
    Reconnects the channel.
    void
    Sets the remote host name or address.
    void
    setPort(int port)
    Sets the remote port number.
  • Method Details

    • getHost

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

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

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

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

      boolean isConnected()
      Returns true if the channel has an active connection.
      Returns:
      true if connected
    • connect

      void connect() throws IOException
      Establishes a connection.
      Throws:
      IOException - on connection failure
    • disconnect

      void disconnect() throws IOException
      Closes the connection.
      Throws:
      IOException - on close failure
    • reconnect

      void reconnect() throws IOException
      Reconnects the channel.
      Throws:
      IOException - on connection failure