001/*
002 * jPOS Project [http://jpos.org]
003 * Copyright (C) 2000-2026 jPOS Software SRL
004 *
005 * This program is free software: you can redistribute it and/or modify
006 * it under the terms of the GNU Affero General Public License as
007 * published by the Free Software Foundation, either version 3 of the
008 * License, or (at your option) any later version.
009 *
010 * This program is distributed in the hope that it will be useful,
011 * but WITHOUT ANY WARRANTY; without even the implied warranty of
012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
013 * GNU Affero General Public License for more details.
014 *
015 * You should have received a copy of the GNU Affero General Public License
016 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
017 */
018
019package org.jpos.q2.iso;
020
021/**
022 * MBean interface.
023 * @author Alejandro Revilla
024 * @author Thomas L. Kjeldsen
025 * @version $Revision: 2245 $ $Date: 2006-01-31 08:27:10 -0200 (Tue, 31 Jan 2006) $
026 */
027public interface OneShotChannelAdaptorMBean extends org.jpos.q2.QBeanSupportMBean {
028
029  /**
030   * Sets the inbound queue name.
031   *
032   * @param in queue name
033   */
034  void setInQueue(java.lang.String in) ;
035
036  /**
037   * Returns the inbound queue name.
038   *
039   * @return queue name
040   */
041  java.lang.String getInQueue() ;
042
043  /**
044   * Sets the outbound queue name.
045   *
046   * @param out queue name
047   */
048  void setOutQueue(java.lang.String out) ;
049
050  /**
051   * Returns the outbound queue name.
052   *
053   * @return queue name
054   */
055  java.lang.String getOutQueue() ;
056
057  /**
058   * Sets the remote host.
059   *
060   * @param host host name or address
061   */
062  void setHost(java.lang.String host) ;
063
064  /**
065   * Returns the configured remote host.
066   *
067   * @return host name or address
068   */
069  java.lang.String getHost() ;
070
071  /**
072   * Sets the remote port.
073   *
074   * @param port TCP port number
075   */
076  void setPort(int port) ;
077
078  /**
079   * Returns the configured remote port.
080   *
081   * @return TCP port number
082   */
083  int getPort() ;
084
085  /**
086   * Sets the socket-factory class name.
087   *
088   * @param sFac socket factory class name
089   */
090  void setSocketFactory(java.lang.String sFac) ;
091
092  /**
093   * Returns the configured socket-factory class name.
094   *
095   * @return socket factory class name
096   */
097  java.lang.String getSocketFactory() ;
098
099}