com.smardec.j2native
Class Pointer.OutOnly

java.lang.Object
  |
  +--com.smardec.j2native.Argument
        |
        +--com.smardec.j2native.PointerArgument
              |
              +--com.smardec.j2native.TypedPointer
                    |
                    +--com.smardec.j2native.Pointer.OutOnly
All Implemented Interfaces:
java.lang.Cloneable, PointerType
Enclosing class:
Pointer

public static final class Pointer.OutOnly
extends TypedPointer

Class Pointer.OutOnly represents a pointer to out only object.


Field Summary
 
Fields inherited from class com.smardec.j2native.Argument
JAVA_SIDE, NATIVE_SIDE
 
Constructor Summary
Pointer.OutOnly(Argument refArgument)
          Constructs a new pointer to the given out only object.
 
Method Summary
protected  void update(byte side)
          This method is used to synchronize Java side and native part.
protected  void write(long handle, int offset)
          do nothing
protected  void writeToStack(byte[] stack, int offset)
          do nothing
 
Methods inherited from class com.smardec.j2native.TypedPointer
getAt, getAt, getReferencedArgument, getValue, isNull, read, readFromStack, setReferencedArgument, setValue
 
Methods inherited from class com.smardec.j2native.PointerArgument
fromBytesValue, getLength, isFixedLength, toBytesValue, toBytesValue
 
Methods inherited from class com.smardec.j2native.Argument
clone, finalize, free, getAlignedLength, getResultFlags, readFromRAM, restoreFromRAM, storeToRAM, writeToRAM
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pointer.OutOnly

public Pointer.OutOnly(Argument refArgument)
Constructs a new pointer to the given out only object. The constructed pointer is a non-null pointer parameter that points to the given object

Parameters:
refArgument - referenced out object
Method Detail

writeToStack

protected void writeToStack(byte[] stack,
                            int offset)
do nothing

Overrides:
writeToStack in class TypedPointer
Parameters:
stack - it's byte array, where Argument will be written
offset - offset in stack

write

protected void write(long handle,
                     int offset)
do nothing

Overrides:
write in class TypedPointer
Parameters:
handle - identifies location in memory where Argument will be written
offset - memory address offset

update

protected void update(byte side)
Description copied from class: Argument
This method is used to synchronize Java side and native part.

Overrides:
update in class TypedPointer
Parameters:
side - identifies part that should be updated


Copyright © 2004-2006 Smardec. All Rights Reserved.