org.openorb.orb.test.rmi.primitive
Class PrimitiveTest.EchoImpl

java.lang.Object
  extended by org.openorb.orb.test.rmi.primitive.PrimitiveTest.EchoImpl
All Implemented Interfaces:
java.rmi.Remote, RemoteEcho
Enclosing class:
PrimitiveTest

public static class PrimitiveTest.EchoImpl
extends java.lang.Object
implements RemoteEcho

Remote interface implementation. This remote interface is the basic server used to exchange the data types.

Author:
Jerome Daniel

Constructor Summary
PrimitiveTest.EchoImpl()
           
 
Method Summary
 boolean[] echo_boolean_array(boolean[] val)
          Echo a boolean array type.
 boolean echo_boolean(boolean val)
          Echo a boolean type.
 byte[] echo_byte_array(byte[] val)
          Echo a byte array type.
 byte echo_byte(byte val)
          Echo a byte type.
 char[] echo_char_array(char[] val)
          Echo a char array type.
 char echo_char(char val)
          Echo a char type.
 double[] echo_double_array(double[] val)
          Echo a double array type.
 double echo_double(double val)
          Echo a double type.
 float[] echo_float_array(float[] val)
          Echo a float array type.
 float echo_float(float val)
          Echo a float type.
 int[] echo_int_array(int[] val)
          Echo a int array type.
 int echo_int(int val)
          Echo a int type.
 long[] echo_long_array(long[] val)
          Echo a long array type.
 long echo_long(long val)
          Echo a long type.
 short[] echo_short_array(short[] val)
          Echo a short array type.
 short echo_short(short val)
          Echo a short type.
 java.lang.String[] echo_string_array(java.lang.String[] val)
          Echo a String array type.
 java.lang.String echo_string(java.lang.String val)
          Echo a String type.
 void echo_void()
          Echo nothing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimitiveTest.EchoImpl

public PrimitiveTest.EchoImpl()
Method Detail

echo_void

public void echo_void()
               throws java.rmi.RemoteException
Echo nothing.

Specified by:
echo_void in interface RemoteEcho
Throws:
java.rmi.RemoteException - When an error occurs.

echo_boolean

public boolean echo_boolean(boolean val)
                     throws java.rmi.RemoteException
Echo a boolean type.

Specified by:
echo_boolean in interface RemoteEcho
Parameters:
val - A boolean value.
Returns:
The boolean value.
Throws:
java.rmi.RemoteException - When an error occurs.

echo_byte

public byte echo_byte(byte val)
               throws java.rmi.RemoteException
Echo a byte type.

Specified by:
echo_byte in interface RemoteEcho
Parameters:
val - A byte value.
Returns:
The byte value.
Throws:
java.rmi.RemoteException - When an error occurs.

echo_char

public char echo_char(char val)
               throws java.rmi.RemoteException
Echo a char type.

Specified by:
echo_char in interface RemoteEcho
Parameters:
val - A char value.
Returns:
The char value.
Throws:
java.rmi.RemoteException - When an error occurs.

echo_short

public short echo_short(short val)
                 throws java.rmi.RemoteException
Echo a short type.

Specified by:
echo_short in interface RemoteEcho
Parameters:
val - A short value.
Returns:
The short value.
Throws:
java.rmi.RemoteException - When an error occurs.

echo_float

public float echo_float(float val)
                 throws java.rmi.RemoteException
Echo a float type.

Specified by:
echo_float in interface RemoteEcho
Parameters:
val - A float value.
Returns:
The float value.
Throws:
java.rmi.RemoteException - When an error occurs.

echo_double

public double echo_double(double val)
                   throws java.rmi.RemoteException
Echo a double type.

Specified by:
echo_double in interface RemoteEcho
Parameters:
val - A double value.
Returns:
The double value.
Throws:
java.rmi.RemoteException - When an error occurs.

echo_int

public int echo_int(int val)
             throws java.rmi.RemoteException
Echo a int type.

Specified by:
echo_int in interface RemoteEcho
Parameters:
val - A int value.
Returns:
The int value.
Throws:
java.rmi.RemoteException - When an error occurs.

echo_long

public long echo_long(long val)
               throws java.rmi.RemoteException
Echo a long type.

Specified by:
echo_long in interface RemoteEcho
Parameters:
val - A long value.
Returns:
The long value.
Throws:
java.rmi.RemoteException - When an error occurs.

echo_string

public java.lang.String echo_string(java.lang.String val)
                             throws java.rmi.RemoteException
Echo a String type.

Parameters:
val - A String value.
Returns:
The String value.
Throws:
java.rmi.RemoteException - When an error occurs.

echo_boolean_array

public boolean[] echo_boolean_array(boolean[] val)
                             throws java.rmi.RemoteException
Echo a boolean array type.

Specified by:
echo_boolean_array in interface RemoteEcho
Parameters:
val - A boolean array value.
Returns:
The boolean array value.
Throws:
java.rmi.RemoteException - When an error occurs.

echo_byte_array

public byte[] echo_byte_array(byte[] val)
                       throws java.rmi.RemoteException
Echo a byte array type.

Specified by:
echo_byte_array in interface RemoteEcho
Parameters:
val - A byte array value.
Returns:
The byte array value.
Throws:
java.rmi.RemoteException - When an error occurs.

echo_char_array

public char[] echo_char_array(char[] val)
                       throws java.rmi.RemoteException
Echo a char array type.

Specified by:
echo_char_array in interface RemoteEcho
Parameters:
val - A char array value.
Returns:
The char array value.
Throws:
java.rmi.RemoteException - When an error occurs.

echo_short_array

public short[] echo_short_array(short[] val)
                         throws java.rmi.RemoteException
Echo a short array type.

Specified by:
echo_short_array in interface RemoteEcho
Parameters:
val - A short array value.
Returns:
The short array value.
Throws:
java.rmi.RemoteException - When an error occurs.

echo_float_array

public float[] echo_float_array(float[] val)
                         throws java.rmi.RemoteException
Echo a float array type.

Specified by:
echo_float_array in interface RemoteEcho
Parameters:
val - A float array value.
Returns:
The float array value.
Throws:
java.rmi.RemoteException - When an error occurs.

echo_double_array

public double[] echo_double_array(double[] val)
                           throws java.rmi.RemoteException
Echo a double array type.

Specified by:
echo_double_array in interface RemoteEcho
Parameters:
val - A double array value.
Returns:
The double array value.
Throws:
java.rmi.RemoteException - When an error occurs.

echo_int_array

public int[] echo_int_array(int[] val)
                     throws java.rmi.RemoteException
Echo a int array type.

Specified by:
echo_int_array in interface RemoteEcho
Parameters:
val - A int array value.
Returns:
The int array value.
Throws:
java.rmi.RemoteException - When an error occurs.

echo_long_array

public long[] echo_long_array(long[] val)
                       throws java.rmi.RemoteException
Echo a long array type.

Specified by:
echo_long_array in interface RemoteEcho
Parameters:
val - A long array value.
Returns:
The long array value.
Throws:
java.rmi.RemoteException - When an error occurs.

echo_string_array

public java.lang.String[] echo_string_array(java.lang.String[] val)
                                     throws java.rmi.RemoteException
Echo a String array type.

Parameters:
val - A String array value.
Returns:
The String array value.
Throws:
java.rmi.RemoteException - When an error occurs.