1 // 2 // SwitchRMI Framework 3 // Copyright (c) 2000-2002 by Michael J. Henderson & Associates. 4 // 5 // Michael Henderson 6 // http://switchrmi.sf.net 7 // mailto:mikehenderson@dunelm.org.uk 8 // 9 // This library is free software. 10 // 11 // You may redistribute it and/or modify it under the terms of the GNU 12 // Lesser General Public License as published by the Free Software Foundation. 13 // 14 // Version 2.1 of the license should be included with this distribution in 15 // the file LICENSE, as well as License.html. If the license is not 16 // included with this distribution, you may find a copy at the FSF web 17 // site at 'www.gnu.org' or 'www.fsf.org', or you may write to the 18 // Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139 USA. 19 // 20 // This library is distributed in the hope that it will be useful, 21 // but WITHOUT ANY WARRANTY; without even the implied waranty of 22 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 23 // Lesser General Public License for more details. 24 // 25 // $Id: IEcho.java,v 1.1 2002/11/11 22:19:48 mikehenderson Exp $ 26 package com.mjh.switchrmi.transport.test; 27 28 public interface IEcho 29 { 30 public String echo(String string); 31 32 public char echo(char c); 33 34 public byte echo(byte b); 35 36 public short echo(short s); 37 38 public int echo(int i); 39 40 public long echo(long l); 41 42 public float echo(float f); 43 44 public double echo(double d); 45 46 public boolean echo(boolean b); 47 48 public Object echo(Object object); 49 50 public java.util.Date echo(java.util.Date date); 51 52 public java.util.Map echo(java.util.Map map); 53 54 public java.util.List echo(java.util.List list); 55 56 public Integer echo(Integer i); 57 58 public Double echo(Double d); 59 60 public void throwException() 61 throws Exception; 62 63 public int echoCallCount() 64 throws Exception; 65 }