Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
Field Summary | |
AligningInput |
|
Fields inherited from class gnu.CORBA.CDR.AbstractCdrInput | |
UNEXP_EOF , actual_stream , b , codeset , giop , orb , runtime |
Constructor Summary | |
|
Method Summary | |
void |
|
int |
|
gnuRuntime |
|
void |
|
boolean |
|
void |
|
void |
|
void |
|
void |
|
Methods inherited from class org.omg.CORBA_2_3.portable.InputStream | |
read_abstract_interface , read_value , read_value , read_value , read_value |
Methods inherited from class org.omg.CORBA.portable.InputStream | |
orb , read , read_Context , read_Object , read_Principal , read_TypeCode , read_any , read_boolean , read_boolean_array , read_char , read_char_array , read_double , read_double_array , read_fixed , read_float , read_float_array , read_long , read_long_array , read_longlong , read_longlong_array , read_octet , read_octet_array , read_short , read_short_array , read_string , read_ulong , read_ulong_array , read_ulonglong , read_ulonglong_array , read_ushort , read_ushort_array , read_wchar , read_wchar_array , read_wstring |
Methods inherited from class java.io.InputStream | |
available , close , mark , markSupported , read , read , read , reset , skip |
Methods inherited from class java.lang.Object | |
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
public BufferredCdrInput(byte[] a_buffer)
Creates the CDR input stream that reads from the given buffer array.
- Parameters:
a_buffer
- an array to read from.
public void align(int alignment)
Skip several bytes, aligning the internal pointer on the selected boundary.
- Overrides:
- align in interface AbstractCdrInput
public int getPosition()
Get the current position in the buffer.
- Specified by:
- getPosition in interface gnuValueStream
- Returns:
- The position in the buffer, taking offset into consideration.
public gnuRuntime getRunTime()
Get the associated RunTime.
- Specified by:
- getRunTime in interface gnuValueStream
public void mark(int ahead)
Mark the current position.
- Overrides:
- mark in interface InputStream
- Parameters:
ahead
-
public boolean markSupported()
Checks if marking is supported.
- Overrides:
- markSupported in interface InputStream
- Returns:
public void reset()
Resets the stream to the previously marked position.
- Overrides:
- reset in interface InputStream
public void seek(int position)
Jump to the given position, taking offset into consideration.
- Specified by:
- seek in interface gnuValueStream
public void setOffset(int offset)
Set the alignment offset, if the index of the first byte in the stream is different from 0.
- Overrides:
- setOffset in interface AbstractCdrInput
public void setRunTime(gnuRuntime a_runtime)
Replace the instance of RunTime.
- Specified by:
- setRunTime in interface gnuValueStream