public class CDROutputObject extends OutputStream implements MarshalOutputStream, DataOutputStream, ValueOutputStream
| Modifier and Type | Class and Description |
|---|---|
protected static interface |
CDROutputObject.InputObjectFactory |
| Modifier and Type | Field and Description |
|---|---|
protected static ORBUtilSystemException |
wrapper |
| Constructor and Description |
|---|
CDROutputObject(ORB orb,
GIOPVersion version,
BufferManagerWrite bufferManager,
byte streamFormatVersion,
boolean usePooledByteBuffers) |
CDROutputObject(ORB orb,
MessageMediator mediator,
GIOPVersion giopVersion,
Connection connection,
Message header,
byte streamFormatVersion) |
CDROutputObject(ORB orb,
MessageMediator messageMediator,
Message header,
byte streamFormatVersion) |
CDROutputObject(ORB orb,
MessageMediator messageMediator,
Message header,
byte streamFormatVersion,
int strategy) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
_truncatable_ids() |
void |
close() |
InputStream |
create_input_stream()
overrides create_input_stream from CDROutputStream
|
protected CodeSetConversion.CTBConverter |
createCharCTBConverter() |
CDRInputObject |
createInputObject(ORB orb) |
protected CDRInputObject |
createInputObject(ORB orb,
CDROutputObject.InputObjectFactory factory) |
protected CodeSetConversion.CTBConverter |
createWCharCTBConverter() |
protected void |
dprint(String msg) |
void |
end_block() |
void |
end_value() |
void |
finishSendingMessage() |
void |
flush() |
protected void |
freeInternalCaches() |
BufferManagerWrite |
getBufferManager() |
int |
getBufferPosition() |
Connection |
getConnection() |
GIOPVersion |
getGIOPVersion() |
protected int |
getIndex() |
Message |
getMessageHeader() |
MessageMediator |
getMessageMediator() |
protected int |
getRealIndex(int index) |
protected int |
getSize() |
ORB |
orb() |
void |
putEndian() |
void |
sendFirstFragment() |
void |
setHeaderPadding(boolean headerPadding) |
protected void |
setIndex(int value) |
void |
setMessageMediator(MessageMediator messageMediator) |
protected void |
setPrivateFieldValue(Object obj,
String fieldName,
Object value) |
void |
start_block() |
void |
start_value(String rep_id) |
byte[] |
toByteArray() |
byte[] |
toByteArray(int start)
Returns the contents of this stream, from the specified start index to the current output position.
|
void |
write_abstract_interface(Object obj) |
void |
write_Abstract(Object value) |
void |
write_any_array(Any[] seq,
int offset,
int length) |
void |
write_any(Any value) |
void |
write_boolean_array(boolean[] value,
int offset,
int length) |
void |
write_boolean(boolean value) |
void |
write_char_array(char[] value,
int offset,
int length) |
void |
write_char(char value) |
void |
write_Context(Context ctx,
ContextList contexts) |
void |
write_double_array(double[] value,
int offset,
int length) |
void |
write_double(double value) |
void |
write_fixed(BigDecimal value) |
void |
write_fixed(BigDecimal bigDecimal,
short digits,
short scale) |
void |
write_float_array(float[] value,
int offset,
int length) |
void |
write_float(float value) |
void |
write_long_array(int[] value,
int offset,
int length) |
void |
write_long(int value) |
void |
write_longlong_array(long[] value,
int offset,
int length) |
void |
write_longlong(long value) |
void |
write_Object(Object value) |
void |
write_octet_array(byte[] value,
int offset,
int length) |
void |
write_octet(byte value) |
void |
write_Principal(Principal value) |
void |
write_short_array(short[] value,
int offset,
int length) |
void |
write_short(short value) |
void |
write_string(String value) |
void |
write_TypeCode(TypeCode value) |
void |
write_ulong_array(int[] value,
int offset,
int length) |
void |
write_ulong(int value) |
void |
write_ulonglong_array(long[] value,
int offset,
int length) |
void |
write_ulonglong(long value) |
void |
write_ushort_array(short[] value,
int offset,
int length) |
void |
write_ushort(short value) |
void |
write_value(Serializable value) |
void |
write_Value(Serializable value) |
void |
write_value(Serializable value,
BoxedValueHelper factory) |
void |
write_value(Serializable value,
Class clz) |
void |
write_value(Serializable value,
String repository_id) |
void |
write_wchar_array(char[] value,
int offset,
int length) |
void |
write_wchar(char value) |
void |
write_wstring(String value) |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
void |
writeIndirection(int tag,
int posIndirectedTo) |
void |
writeOctetSequenceTo(OutputStream s) |
void |
writeTo(Connection connection) |
void |
writeTo(OutputStream s) |
protected static final ORBUtilSystemException wrapper
public CDROutputObject(ORB orb, GIOPVersion version, BufferManagerWrite bufferManager, byte streamFormatVersion, boolean usePooledByteBuffers)
public CDROutputObject(ORB orb, MessageMediator messageMediator, Message header, byte streamFormatVersion)
public CDROutputObject(ORB orb, MessageMediator messageMediator, Message header, byte streamFormatVersion, int strategy)
public CDROutputObject(ORB orb, MessageMediator mediator, GIOPVersion giopVersion, Connection connection, Message header, byte streamFormatVersion)
public void sendFirstFragment()
protected void setPrivateFieldValue(Object obj, String fieldName, Object value)
public Message getMessageHeader()
public final void finishSendingMessage()
public void writeTo(Connection connection) throws IOException
IOExceptionpublic InputStream create_input_stream()
create_input_stream in interface MarshalOutputStreamcreate_input_stream in class OutputStreampublic Connection getConnection()
public final int getBufferPosition()
protected CodeSetConversion.CTBConverter createCharCTBConverter()
protected CodeSetConversion.CTBConverter createWCharCTBConverter()
protected void dprint(String msg)
public void setMessageMediator(MessageMediator messageMediator)
public MessageMediator getMessageMediator()
public CDRInputObject createInputObject(ORB orb)
protected CDRInputObject createInputObject(ORB orb, CDROutputObject.InputObjectFactory factory)
public final void write_boolean(boolean value)
write_boolean in interface MarshalOutputStreamwrite_boolean in interface DataOutputStreamwrite_boolean in class OutputStreampublic final void write_char(char value)
write_char in interface MarshalOutputStreamwrite_char in interface DataOutputStreamwrite_char in class OutputStreampublic final void write_wchar(char value)
write_wchar in interface MarshalOutputStreamwrite_wchar in interface DataOutputStreamwrite_wchar in class OutputStreampublic final void write_octet(byte value)
write_octet in interface MarshalOutputStreamwrite_octet in interface DataOutputStreamwrite_octet in class OutputStreampublic final void write_short(short value)
write_short in interface MarshalOutputStreamwrite_short in interface DataOutputStreamwrite_short in class OutputStreampublic final void write_ushort(short value)
write_ushort in interface MarshalOutputStreamwrite_ushort in interface DataOutputStreamwrite_ushort in class OutputStreampublic final void write_long(int value)
write_long in interface MarshalOutputStreamwrite_long in interface DataOutputStreamwrite_long in class OutputStreampublic final void write_ulong(int value)
write_ulong in interface MarshalOutputStreamwrite_ulong in interface DataOutputStreamwrite_ulong in class OutputStreampublic final void write_longlong(long value)
write_longlong in interface MarshalOutputStreamwrite_longlong in interface DataOutputStreamwrite_longlong in class OutputStreampublic final void write_ulonglong(long value)
write_ulonglong in interface MarshalOutputStreamwrite_ulonglong in interface DataOutputStreamwrite_ulonglong in class OutputStreampublic final void write_float(float value)
write_float in interface MarshalOutputStreamwrite_float in interface DataOutputStreamwrite_float in class OutputStreampublic final void write_double(double value)
write_double in interface MarshalOutputStreamwrite_double in interface DataOutputStreamwrite_double in class OutputStreampublic final void write_string(String value)
write_string in interface MarshalOutputStreamwrite_string in interface DataOutputStreamwrite_string in class OutputStreampublic final void write_wstring(String value)
write_wstring in interface MarshalOutputStreamwrite_wstring in interface DataOutputStreamwrite_wstring in class OutputStreampublic final void write_boolean_array(boolean[] value,
int offset,
int length)
write_boolean_array in interface MarshalOutputStreamwrite_boolean_array in interface DataOutputStreamwrite_boolean_array in class OutputStreampublic final void write_char_array(char[] value,
int offset,
int length)
write_char_array in interface MarshalOutputStreamwrite_char_array in interface DataOutputStreamwrite_char_array in class OutputStreampublic final void write_wchar_array(char[] value,
int offset,
int length)
write_wchar_array in interface MarshalOutputStreamwrite_wchar_array in interface DataOutputStreamwrite_wchar_array in class OutputStreampublic final void write_octet_array(byte[] value,
int offset,
int length)
write_octet_array in interface MarshalOutputStreamwrite_octet_array in interface DataOutputStreamwrite_octet_array in class OutputStreampublic final void write_short_array(short[] value,
int offset,
int length)
write_short_array in interface MarshalOutputStreamwrite_short_array in interface DataOutputStreamwrite_short_array in class OutputStreampublic final void write_ushort_array(short[] value,
int offset,
int length)
write_ushort_array in interface MarshalOutputStreamwrite_ushort_array in interface DataOutputStreamwrite_ushort_array in class OutputStreampublic final void write_long_array(int[] value,
int offset,
int length)
write_long_array in interface MarshalOutputStreamwrite_long_array in interface DataOutputStreamwrite_long_array in class OutputStreampublic final void write_ulong_array(int[] value,
int offset,
int length)
write_ulong_array in interface MarshalOutputStreamwrite_ulong_array in interface DataOutputStreamwrite_ulong_array in class OutputStreampublic final void write_longlong_array(long[] value,
int offset,
int length)
write_longlong_array in interface MarshalOutputStreamwrite_longlong_array in interface DataOutputStreamwrite_longlong_array in class OutputStreampublic final void write_ulonglong_array(long[] value,
int offset,
int length)
write_ulonglong_array in interface MarshalOutputStreamwrite_ulonglong_array in interface DataOutputStreamwrite_ulonglong_array in class OutputStreampublic final void write_float_array(float[] value,
int offset,
int length)
write_float_array in interface MarshalOutputStreamwrite_float_array in interface DataOutputStreamwrite_float_array in class OutputStreampublic final void write_double_array(double[] value,
int offset,
int length)
write_double_array in interface MarshalOutputStreamwrite_double_array in interface DataOutputStreamwrite_double_array in class OutputStreampublic final void write_Object(Object value)
write_Object in interface MarshalOutputStreamwrite_Object in interface DataOutputStreamwrite_Object in class OutputStreampublic final void write_TypeCode(TypeCode value)
write_TypeCode in interface MarshalOutputStreamwrite_TypeCode in interface DataOutputStreamwrite_TypeCode in class OutputStreampublic final void write_any(Any value)
write_any in interface MarshalOutputStreamwrite_any in interface DataOutputStreamwrite_any in class OutputStreampublic final void write_Principal(Principal value)
write_Principal in interface MarshalOutputStreamwrite_Principal in class OutputStreampublic final void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic final void write_fixed(BigDecimal value)
write_fixed in class OutputStreampublic final void write_Context(Context ctx, ContextList contexts)
write_Context in class OutputStreampublic final ORB orb()
orb in class OutputStreampublic final void write_value(Serializable value)
write_value in interface MarshalOutputStreamwrite_value in class OutputStreampublic final void write_value(Serializable value, Class clz)
write_value in class OutputStreampublic final void write_value(Serializable value, String repository_id)
write_value in class OutputStreampublic final void write_value(Serializable value, BoxedValueHelper factory)
write_value in class OutputStreampublic final void write_abstract_interface(Object obj)
write_abstract_interface in class OutputStreampublic final void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionpublic final void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic final void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic final void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic final void start_block()
start_block in interface MarshalOutputStreampublic final void end_block()
end_block in interface MarshalOutputStreampublic final void putEndian()
putEndian in interface MarshalOutputStreampublic void writeTo(OutputStream s) throws IOException
writeTo in interface MarshalOutputStreamIOExceptionpublic final byte[] toByteArray()
toByteArray in interface MarshalOutputStreampublic final byte[] toByteArray(int start)
start - the index at which to start copying the data.public final void write_Abstract(Object value)
write_Abstract in interface DataOutputStreampublic final void write_Value(Serializable value)
write_Value in interface DataOutputStreampublic final void write_any_array(Any[] seq, int offset, int length)
write_any_array in interface DataOutputStreampublic final String[] _truncatable_ids()
_truncatable_ids in interface ValueBaseprotected final int getSize()
protected final int getIndex()
protected int getRealIndex(int index)
protected final void setIndex(int value)
public final BufferManagerWrite getBufferManager()
public final void write_fixed(BigDecimal bigDecimal, short digits, short scale)
public final void writeOctetSequenceTo(OutputStream s)
public final GIOPVersion getGIOPVersion()
public final void writeIndirection(int tag,
int posIndirectedTo)
protected final void freeInternalCaches()
public void setHeaderPadding(boolean headerPadding)
public void start_value(String rep_id)
start_value in interface ValueOutputStreampublic void end_value()
end_value in interface ValueOutputStreamCopyright © 2017–2019 Eclipse Foundation. All rights reserved.