Impl.Types
Class MyRef

java.lang.Object
  extended by Impl.Types.MyRef
All Implemented Interfaces:
Writable

public class MyRef
extends java.lang.Object
implements Writable

Call-by-reference test


Field Summary
 int i
           
 java.lang.String str
           
 
Constructor Summary
MyRef(int i, java.lang.String str)
           
 
Method Summary
 void read(SerialIn in)
           
 java.lang.String toString()
           
 void write(SerialOut out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

i

public int i

str

public java.lang.String str
Constructor Detail

MyRef

public MyRef(int i,
             java.lang.String str)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

read

public void read(SerialIn in)
          throws java.io.IOException,
                 java.lang.ClassNotFoundException,
                 java.lang.InstantiationException,
                 java.lang.IllegalAccessException,
                 java.lang.reflect.InvocationTargetException
Specified by:
read in interface Writable
Throws:
java.io.IOException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException

write

public void write(SerialOut out)
           throws java.io.IOException,
                  java.lang.IllegalAccessException,
                  java.lang.reflect.InvocationTargetException,
                  CTLException
Specified by:
write in interface Writable
Throws:
java.io.IOException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
CTLException