|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ca.idms.io.TraceObject ca.idms.io.NativeObject ca.idms.io.NativeBuffer
public class NativeBuffer
A NativeBuffer is used to pass a data buffer between NativeDataInput and NativeDataOutput streams. The readNative and writeNative methods pass a reference to buffer instead of copying its contents. When the object is read it is linked to the buffer in the input stream. When it is written it links itself to the output stream.
NativeObject
,
NativeDataInputStream
,
NativeDataOutputStream
Field Summary |
---|
Fields inherited from class ca.idms.io.NativeObject |
---|
buffer, length, offset |
Fields inherited from class ca.idms.io.TraceObject |
---|
exclude, EXCLUDE, FALSE, include, INCLUDE, logWriter, PREFIX, PROPERTIES_FILE, PROPERTIES_KEY, snap, SNAP, SNAP_BYTES, SNAP_NATIVE, SNAP_OBJECT, SNAP_SQL, snapBytes, snapNative, snapObject, snapSql, stub, trace, TRACE, TRACE_FILE, TRACE_LIFE, TRACE_NATIVE, TRACE_PRODUCT, traceLife, traceNative, traceStream, TRUE |
Constructor Summary | |
---|---|
NativeBuffer()
|
Method Summary | |
---|---|
void |
readNative(NativeDataInputStream in)
Gets the internal buffer from the input stream buffer. |
void |
writeNative(NativeDataOutputStream out)
Sets the output stream buffer from the internal buffer. |
Methods inherited from class ca.idms.io.NativeObject |
---|
get, getBuffer, getClient, getOffset, length, length, readBuffer, snap, writeBuffer |
Methods inherited from class ca.idms.io.TraceObject |
---|
finalize, getBoolean, getClasses, getInteger, getProperty, listProperties, message, parseList, print, print, print, println, println, snap, snap, snap, snap, snap, snap, toHex, toHex, toHex, toHex, toHex, toString, trace, trace, trace, trace, trace, trace, traceEntry, unloadProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NativeBuffer()
Method Detail |
---|
public void readNative(NativeDataInputStream in) throws java.io.IOException
readNative
in interface Native
readNative
in class NativeObject
in
- the native buffered input stream
java.io.IOException
- not!public void writeNative(NativeDataOutputStream out) throws java.io.IOException
writeNative
in interface Native
writeNative
in class NativeObject
out
- the native buffered output stream.
java.io.IOException
- not!
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |