tests/libjava-mauve/src/gnu/testlet/org/omg/PortableServer/POAOperations/communication/poa_comTesterOperations.java
branchjk_new_structure
changeset 1541 75c2e24dea9a
parent 1540 92ac284961c1
child 1542 be11db817bcf
equal deleted inserted replaced
1540:92ac284961c1 1541:75c2e24dea9a
     1 // Tags: not-a-test
       
     2 // Copyright (C) 2005 Audrius Meskauskas (AudriusA@Bioinformatics.org)
       
     3 
       
     4 // Mauve is free software; you can redistribute it and/or modify
       
     5 // it under the terms of the GNU General Public License as published by
       
     6 // the Free Software Foundation; either version 2, or (at your option)
       
     7 // any later version.
       
     8 
       
     9 // Mauve is distributed in the hope that it will be useful,
       
    10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       
    12 // GNU General Public License for more details.
       
    13 
       
    14 // You should have received a copy of the GNU General Public License
       
    15 // along with Mauve; see the file COPYING.  If not, write to
       
    16 // the Free Software Foundation, 59 Temple Place - Suite 330,
       
    17 // Boston, MA 02111-1307, USA.  */
       
    18 
       
    19 package gnu.testlet.org.omg.PortableServer.POAOperations.communication;
       
    20 
       
    21 
       
    22 /**
       
    23  * The tester interface.
       
    24  */
       
    25 public interface poa_comTesterOperations
       
    26 {
       
    27   /**
       
    28    * The field that can be either set of checked.
       
    29    */
       
    30   int theField();
       
    31 
       
    32   /**
       
    33    * The field that can be either set of checked.
       
    34    */
       
    35   void theField(int newTheField);
       
    36 
       
    37   /**
       
    38    * Handles a simple message, returns string info about calling
       
    39    * circumstances.
       
    40    */
       
    41   String sayHello();
       
    42 
       
    43   /**
       
    44   * Passes wide string.
       
    45   */
       
    46   String passCharacters(String wide, String narrow);
       
    47 
       
    48   /**
       
    49    * Throws either 'ourUserException' with the 'ourField' field
       
    50    * initialised to the passed positive value
       
    51    * or system exception (if the parameter is zero or negative).
       
    52    */
       
    53   void throwException(int parameter)
       
    54                throws ourUserException;
       
    55 }