com.isti.quakewatch.common.qw_services.QWServicesPackage
Class ByteArrayHolder

java.lang.Object
  extended by com.isti.quakewatch.common.qw_services.QWServicesPackage.ByteArrayHolder
All Implemented Interfaces:
org.omg.CORBA.portable.Streamable

public final class ByteArrayHolder
extends java.lang.Object
implements org.omg.CORBA.portable.Streamable

Holder class for : ByteArray


Field Summary
 byte[] value
          Internal ByteArray value
 
Constructor Summary
ByteArrayHolder()
          Default constructor
ByteArrayHolder(byte[] initial)
          Constructor with value initialisation
 
Method Summary
 void _read(org.omg.CORBA.portable.InputStream istream)
          Read ByteArray from a marshalled stream
 org.omg.CORBA.TypeCode _type()
          Return the ByteArray TypeCode
 void _write(org.omg.CORBA.portable.OutputStream ostream)
          Write ByteArray into a marshalled stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public byte[] value
Internal ByteArray value

Constructor Detail

ByteArrayHolder

public ByteArrayHolder()
Default constructor


ByteArrayHolder

public ByteArrayHolder(byte[] initial)
Constructor with value initialisation

Parameters:
initial - the initial value
Method Detail

_read

public void _read(org.omg.CORBA.portable.InputStream istream)
Read ByteArray from a marshalled stream

Specified by:
_read in interface org.omg.CORBA.portable.Streamable
Parameters:
istream - the input stream

_write

public void _write(org.omg.CORBA.portable.OutputStream ostream)
Write ByteArray into a marshalled stream

Specified by:
_write in interface org.omg.CORBA.portable.Streamable
Parameters:
ostream - the output stream

_type

public org.omg.CORBA.TypeCode _type()
Return the ByteArray TypeCode

Specified by:
_type in interface org.omg.CORBA.portable.Streamable
Returns:
a TypeCode