OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [classpath/] [examples/] [gnu/] [classpath/] [examples/] [CORBA/] [SimpleCommunication/] [communication/] [StructureToPassHolder.java] - Blame information for rev 781

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 781 jeremybenn
 
2
 
3
package gnu.classpath.examples.CORBA.SimpleCommunication.communication;
4
 
5
import org.omg.CORBA.portable.InputStream;
6
import org.omg.CORBA.portable.OutputStream;
7
import org.omg.CORBA.portable.Streamable;
8
 
9
public final class StructureToPassHolder
10
  implements Streamable
11
{
12
  public StructureToPass value;
13
 
14
  public StructureToPassHolder()
15
  {
16
  }
17
 
18
  public StructureToPassHolder(StructureToPass initialValue)
19
  {
20
    value = initialValue;
21
  }
22
 
23
  public void _read(InputStream i)
24
  {
25
    value = StructureToPassHelper.read(i);
26
  }
27
 
28
  public org.omg.CORBA.TypeCode _type()
29
  {
30
    return StructureToPassHelper.type();
31
  }
32
 
33
  public void _write(OutputStream o)
34
  {
35
    StructureToPassHelper.write(o, value);
36
  }
37
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.