public class CDROutputStream_1_0 extends OutputStream
Modifier and Type | Field and Description |
---|---|
protected int |
blockSizeIndex |
protected int |
blockSizePosition |
protected BufferManagerWrite |
bufferManagerWrite |
protected boolean |
debug |
protected boolean |
inBlock |
protected boolean |
littleEndian |
protected ORB |
orb |
protected CDROutputStream |
parent |
protected byte |
streamFormatVersion |
protected ORBUtilSystemException |
wrapper |
Constructor and Description |
---|
CDROutputStream_1_0() |
Modifier and Type | Method and Description |
---|---|
String[] |
_truncatable_ids() |
protected void |
alignAndReserve(int align,
int n) |
void |
close() |
protected int |
computeAlignment(int align) |
protected void |
dprint(String msg) |
void |
end_block() |
void |
end_value() |
int |
get_offset() |
BufferManagerWrite |
getBufferManager() |
ByteBuffer |
getByteBuffer() |
ByteBufferWithInfo |
getByteBufferWithInfo() |
protected CodeSetConversion.CTBConverter |
getCharConverter() |
GIOPVersion |
getGIOPVersion() |
int |
getIndex() |
int |
getSize() |
protected CodeSetConversion.CTBConverter |
getWCharConverter() |
protected void |
grow(int align,
int n) |
protected void |
handleSpecialChunkBegin(int requiredSize) |
protected void |
handleSpecialChunkEnd() |
void |
init(ORB orb,
boolean littleEndian,
BufferManagerWrite bufferManager,
byte streamFormatVersion) |
void |
init(ORB orb,
boolean littleEndian,
BufferManagerWrite bufferManager,
byte streamFormatVersion,
boolean usePooledByteBuffers) |
void |
init(ORB orb,
BufferManagerWrite bufferManager,
byte streamFormatVersion) |
boolean |
isLittleEndian() |
boolean |
littleEndian() |
ORB |
orb() |
void |
printBuffer() |
static void |
printBuffer(ByteBufferWithInfo bbwi) |
void |
putEndian() |
void |
setByteBuffer(ByteBuffer byteBuffer) |
void |
setByteBufferWithInfo(ByteBufferWithInfo bbwi) |
void |
setIndex(int value) |
void |
setParent(CDROutputStream parent) |
void |
start_block() |
void |
start_value(String rep_id) |
byte[] |
toByteArray() |
void |
write_abstract_interface(Object obj) |
void |
write_Abstract(Object value) |
void |
write_any_array(Any[] value,
int offset,
int length) |
void |
write_any(Any any) |
void |
write_boolean_array(boolean[] value,
int offset,
int length) |
void |
write_boolean(boolean x) |
void |
write_char_array(char[] value,
int offset,
int length) |
void |
write_char(char x) |
void |
write_Context(Context ctx,
ContextList contexts) |
void |
write_double_array(double[] value,
int offset,
int length) |
void |
write_double(double x) |
void |
write_fixed(BigDecimal bigDecimal) |
void |
write_fixed(BigDecimal bigDecimal,
short digits,
short scale) |
void |
write_fixed(String string,
int signum) |
void |
write_float_array(float[] value,
int offset,
int length) |
void |
write_float(float x) |
void |
write_long_array(int[] value,
int offset,
int length) |
void |
write_long(int x) |
void |
write_longdouble(double x) |
void |
write_longlong_array(long[] value,
int offset,
int length) |
void |
write_longlong(long x) |
void |
write_Object(Object ref) |
void |
write_octet_array(byte[] b,
int offset,
int length) |
void |
write_octet(byte x) |
void |
write_Principal(Principal p) |
void |
write_short_array(short[] value,
int offset,
int length) |
void |
write_short(short x) |
void |
write_string_array(String[] value,
int offset,
int length) |
void |
write_string(String value) |
void |
write_TypeCode(TypeCode tc) |
void |
write_ulong_array(int[] value,
int offset,
int length) |
void |
write_ulong(int x) |
void |
write_ulonglong_array(long[] value,
int offset,
int length) |
void |
write_ulonglong(long x) |
void |
write_ushort_array(short[] value,
int offset,
int length) |
void |
write_ushort(short x) |
void |
write_value(Serializable object) |
void |
write_Value(Serializable value) |
void |
write_value(Serializable object,
BoxedValueHelper factory) |
void |
write_value(Serializable object,
Class clz) |
void |
write_value(Serializable object,
String repository_id) |
void |
write_wchar_array(char[] value,
int offset,
int length) |
void |
write_wchar(char x) |
void |
write_wstring_array(String[] value,
int offset,
int length) |
void |
write_wstring(String value) |
void |
write(int b) |
void |
writeIndirection(int tag,
int posIndirectedTo) |
protected void |
writeLongWithoutAlign(int x) |
void |
writeOctetSequenceTo(OutputStream s) |
protected int |
writeString(String value) |
void |
writeTo(OutputStream s) |
flush, write, write
protected boolean littleEndian
protected BufferManagerWrite bufferManagerWrite
protected ORB orb
protected ORBUtilSystemException wrapper
protected boolean debug
protected int blockSizeIndex
protected int blockSizePosition
protected byte streamFormatVersion
protected boolean inBlock
protected CDROutputStream parent
public void init(ORB orb, boolean littleEndian, BufferManagerWrite bufferManager, byte streamFormatVersion, boolean usePooledByteBuffers)
public void init(ORB orb, boolean littleEndian, BufferManagerWrite bufferManager, byte streamFormatVersion)
public BufferManagerWrite getBufferManager()
public byte[] toByteArray()
public GIOPVersion getGIOPVersion()
protected void handleSpecialChunkBegin(int requiredSize)
protected void handleSpecialChunkEnd()
protected final int computeAlignment(int align)
protected void alignAndReserve(int align, int n)
protected void grow(int align, int n)
public final void putEndian() throws SystemException
SystemException
public final boolean littleEndian()
public final void write_longdouble(double x)
public void write_octet(byte x)
public final void write_boolean(boolean x)
public void write_char(char x)
public void write_wchar(char x)
public void write_short(short x)
public final void write_ushort(short x)
public void write_long(int x)
public final void write_ulong(int x)
public void write_longlong(long x)
public final void write_ulonglong(long x)
public final void write_float(float x)
public final void write_double(double x)
public void write_string(String value)
protected int writeString(String value)
public void write_wstring(String value)
public final void write_octet_array(byte[] b, int offset, int length)
public void write_Principal(Principal p)
public void write_any(Any any)
public void write_TypeCode(TypeCode tc)
public void write_Object(Object ref)
public void write_abstract_interface(Object obj)
public void write_value(Serializable object, Class clz)
public void write_value(Serializable object, String repository_id)
public void write_value(Serializable object)
public void write_value(Serializable object, BoxedValueHelper factory)
public int get_offset()
public void start_block()
protected void writeLongWithoutAlign(int x)
public void end_block()
public ORB orb()
public final void write_boolean_array(boolean[] value, int offset, int length)
public final void write_char_array(char[] value, int offset, int length)
public void write_wchar_array(char[] value, int offset, int length)
public final void write_short_array(short[] value, int offset, int length)
public final void write_ushort_array(short[] value, int offset, int length)
public final void write_long_array(int[] value, int offset, int length)
public final void write_ulong_array(int[] value, int offset, int length)
public final void write_longlong_array(long[] value, int offset, int length)
public final void write_ulonglong_array(long[] value, int offset, int length)
public final void write_float_array(float[] value, int offset, int length)
public final void write_double_array(double[] value, int offset, int length)
public void write_string_array(String[] value, int offset, int length)
public void write_wstring_array(String[] value, int offset, int length)
public final void write_any_array(Any[] value, int offset, int length)
public void writeTo(OutputStream s) throws IOException
IOException
public void writeOctetSequenceTo(OutputStream s)
public final int getSize()
public int getIndex()
public boolean isLittleEndian()
public void setIndex(int value)
public ByteBufferWithInfo getByteBufferWithInfo()
public void setByteBufferWithInfo(ByteBufferWithInfo bbwi)
public ByteBuffer getByteBuffer()
public void setByteBuffer(ByteBuffer byteBuffer)
public void write_Abstract(Object value)
public void write_Value(Serializable value)
public void write_fixed(BigDecimal bigDecimal, short digits, short scale)
public void write_fixed(BigDecimal bigDecimal)
public void write_fixed(String string, int signum)
public String[] _truncatable_ids()
public void printBuffer()
public static void printBuffer(ByteBufferWithInfo bbwi)
public void writeIndirection(int tag, int posIndirectedTo)
protected CodeSetConversion.CTBConverter getCharConverter()
protected CodeSetConversion.CTBConverter getWCharConverter()
protected void dprint(String msg)
public void start_value(String rep_id)
public void end_value()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
public void setParent(CDROutputStream parent)
public void init(ORB orb, BufferManagerWrite bufferManager, byte streamFormatVersion)
public void write(int b) throws IOException
write
in class OutputStream
IOException
public void write_Context(Context ctx, ContextList contexts)
Copyright © 2017 JBoss by Red Hat. All rights reserved.