|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.OutputStream | +--org.omg.CORBA.portable.OutputStream | +--org.omg.CORBA_2_3.portable.OutputStream | +--org.openorb.iiop.CDROutputStream
This class implements CDR for IIOP
Constructor Summary | |
CDROutputStream(ORB orb,
Version version,
MarshalBuffer buf)
Constructor used by message level, fragments may be sent as elements are appended to the stream, so create_input_stream is disallowed. |
Method Summary | |
void |
alignment(int align)
Set alignment into the buffer |
void |
begin_encapsulation()
Begin an encapsulated block. |
void |
close()
Complete marshaling a message. |
InputStream |
create_input_stream()
This operation is not implemented. |
void |
end_encapsulation()
End an encapsulated block. |
void |
flush()
Does nothing. |
int |
index()
Current index into the buffer. |
ORB |
orb()
Get the orb associated with the stream. |
void |
pending_alignment(int align)
The next call to align will result in aligning to the specified boundary if the reuested alignment is smaller. |
void |
setCodesets(int tcsc,
int tcsw)
|
Version |
version()
Return the CDR protocol version |
void |
write_abstract_interface(java.lang.Object obj)
Write an abstract interface |
void |
write_any(Any val)
Add an CORBA any to the stream. |
void |
write_boolean_array(boolean[] val,
int off,
int len)
Write an array of boolean values. |
void |
write_boolean(boolean val)
Append boolean value |
void |
write_char_array(char[] val,
int off,
int len)
Write an array of char values. |
void |
write_char(char val)
Add an IDL char into the steam. |
void |
write_Context(Context ctx,
ContextList contexts)
Write operation context list. |
void |
write_double_array(double[] val,
int off,
int len)
Add an IDL double array into the stream |
void |
write_double(double val)
Add an IDL double into the stream |
void |
write_fixed(java.math.BigDecimal val)
Deprecated. Loses scale and precision, see http://www.omg.org/issues/issue3431.txt |
void |
write_fixed(java.math.BigDecimal val,
short digits,
short scale)
Write fixed value. |
void |
write_fixed(java.math.BigDecimal val,
TypeCode tc)
Write fixed value. |
void |
write_float_array(float[] val,
int off,
int len)
Add an IDL float array into the stream |
void |
write_float(float val)
Add an IDL float into the stream |
void |
write_long_array(int[] val,
int off,
int len)
Add an IDL long array into the stream |
void |
write_long(int val)
Add an IDL long into the stream |
void |
write_longlong_array(long[] val,
int off,
int len)
Add an IDL long long array into the stream |
void |
write_longlong(long val)
Add an IDL long long into the stream |
void |
write_Object(Object val)
Add an CORBA Object reference to the stream. |
void |
write_octet_array(byte[] val,
int off,
int len)
Add an IDL octet array into the stream |
void |
write_octet(byte val)
Add an IDL octet into the stream |
void |
write_Principal(Principal val)
Write principal. |
void |
write_short_array(short[] val,
int off,
int len)
Add an IDL short array |
void |
write_short(short val)
Add an IDL short into the stream |
void |
write_string(java.lang.String val)
Add an IDL string into the stream |
void |
write_TypeCode(TypeCode val)
Add an CORBA TypeCode to the stream. |
void |
write_ulong_array(int[] val,
int off,
int len)
Add an IDL unsigned long array into the stream |
void |
write_ulong(int val)
Add a IDL unsigned long into the stream |
void |
write_ulonglong_array(long[] val,
int off,
int len)
Add an IDL unsigned long long array into the stream |
void |
write_ulonglong(long val)
Add an IDL unsigned long long into the stream |
void |
write_ushort_array(short[] val,
int offset,
int length)
Add an IDL unsigned short array into the stream |
void |
write_ushort(short val)
Add an IDL unsigned short into the stream |
void |
write_value(java.io.Serializable value)
Write a value to a CDR stream |
void |
write_value(java.io.Serializable value,
BoxedValueHelper boxhelp)
Write a value from a CDR stream |
void |
write_value(java.io.Serializable value,
java.lang.Class clz)
Write a value to a CDR stream |
void |
write_value(java.io.Serializable value,
java.lang.String arg_repo_id)
Write a value from a CDR stream |
void |
write_wchar_array(char[] val,
int off,
int len)
Add an IDL wide char array |
void |
write_wchar(char val)
Add an IDL wide char into the stream |
void |
write_wstring(java.lang.String val)
Add an IDL wstring into the stream |
void |
write(byte[] buf)
Write a buffer into the stream |
void |
write(byte[] buf,
int off,
int len)
Write a buffer into the stream |
void |
write(int val)
Write a simple value |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CDROutputStream(ORB orb, Version version, MarshalBuffer buf)
Method Detail |
public void setCodesets(int tcsc, int tcsw)
public ORB orb()
orb
in interface ExtendedOutputStream
orb
in class OutputStream
public Version version()
public void alignment(int align)
public void pending_alignment(int align)
public int index()
public void begin_encapsulation()
public void end_encapsulation()
public void write(int val)
write
in class OutputStream
public void write(byte[] buf)
write
in class java.io.OutputStream
public void write(byte[] buf, int off, int len)
write
in class java.io.OutputStream
public void close()
close
in class java.io.OutputStream
public void flush()
flush
in class java.io.OutputStream
public InputStream create_input_stream()
ListOutputStream
class if typed streaming is
required or read fragments from an underlying marshal buffer for byte
oriented data.create_input_stream
in class OutputStream
public void write_boolean(boolean val)
write_boolean
in class OutputStream
public void write_octet(byte val)
write_octet
in class OutputStream
public void write_char(char val)
write_char
in class OutputStream
public void write_wchar(char val)
write_wchar
in class OutputStream
public void write_short(short val)
write_short
in class OutputStream
public void write_ushort(short val)
write_ushort
in class OutputStream
public void write_long(int val)
write_long
in class OutputStream
public void write_ulong(int val)
write_ulong
in class OutputStream
public void write_longlong(long val)
write_longlong
in class OutputStream
public void write_ulonglong(long val)
write_ulonglong
in class OutputStream
public void write_float(float val)
write_float
in class OutputStream
public void write_double(double val)
write_double
in class OutputStream
public void write_string(java.lang.String val)
write_string
in class OutputStream
public void write_wstring(java.lang.String val)
write_wstring
in class OutputStream
public void write_boolean_array(boolean[] val, int off, int len)
write_boolean_array
in class OutputStream
public void write_char_array(char[] val, int off, int len)
write_char_array
in class OutputStream
public void write_wchar_array(char[] val, int off, int len)
write_wchar_array
in class OutputStream
public void write_octet_array(byte[] val, int off, int len)
write_octet_array
in class OutputStream
public void write_short_array(short[] val, int off, int len)
write_short_array
in class OutputStream
public void write_ushort_array(short[] val, int offset, int length)
write_ushort_array
in class OutputStream
public void write_long_array(int[] val, int off, int len)
write_long_array
in class OutputStream
public void write_ulong_array(int[] val, int off, int len)
write_ulong_array
in class OutputStream
public void write_longlong_array(long[] val, int off, int len)
write_longlong_array
in class OutputStream
public void write_ulonglong_array(long[] val, int off, int len)
write_ulonglong_array
in class OutputStream
public void write_float_array(float[] val, int off, int len)
write_float_array
in class OutputStream
public void write_double_array(double[] val, int off, int len)
write_double_array
in class OutputStream
public void write_Object(Object val)
write_Object
in class OutputStream
public void write_TypeCode(TypeCode val)
write_TypeCode
in class OutputStream
public void write_any(Any val)
write_any
in class OutputStream
public void write_Principal(Principal val)
write_Principal
in class OutputStream
public void write_fixed(java.math.BigDecimal val)
write_fixed
in class OutputStream
public void write_fixed(java.math.BigDecimal val, TypeCode tc)
write_fixed
in interface ExtendedOutputStream
public void write_fixed(java.math.BigDecimal val, short digits, short scale)
write_fixed
in interface ExtendedOutputStream
public void write_Context(Context ctx, ContextList contexts)
write_Context
in class OutputStream
public void write_value(java.io.Serializable value)
write_value
in class OutputStream
public void write_value(java.io.Serializable value, java.lang.String arg_repo_id)
write_value
in class OutputStream
public void write_value(java.io.Serializable value, java.lang.Class clz)
write_value
in class OutputStream
public void write_value(java.io.Serializable value, BoxedValueHelper boxhelp)
write_value
in class OutputStream
public void write_abstract_interface(java.lang.Object obj)
write_abstract_interface
in class OutputStream
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |