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.
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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 writtenoffset
- 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 writtenoffset
- 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.