|
Servertec Jenie 1.0.1 09/04/2005 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectstec.jenie.Dll
public class Dll
Represents a reference to a native dynamic link library.
| Constructor Summary | |
|---|---|
Dll(long pointer)
Constructs a new native dynamic link library. |
|
Dll(java.lang.String name)
Constructs a new native dynamic link library. |
|
Dll(java.lang.String name,
boolean managed)
Constructs a new native dynamic link library. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object object)
Returns whether this dynamic link library equals the specified dynamic link library. |
Function |
getFunction(java.lang.String name)
Returns a reference to a native function. |
Function |
getFunction(java.lang.String name,
int calling_convention)
Returns a reference to a native function. |
long |
getNativeAddress()
Returns the native address of this dll. |
int |
hashCode()
Returns the hash code of this dynamic link library. |
boolean |
isManaged()
Returns whether this dll is managed. |
void |
release()
Releases the native reference to this dll. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Dll(java.lang.String name)
throws NativeException
name - the name of the native dynamic link library to load.
NativeException - if any exception occurs.
public Dll(java.lang.String name,
boolean managed)
throws NativeException
name - the name of the native dynamic link library to load.managed - whether the native dynamiclink library will be released when nolonger referenced.
NativeException - if any exception occurs.public Dll(long pointer)
pointer - the pointer the the native dynamic link library.| Method Detail |
|---|
public Function getFunction(java.lang.String name)
throws NativeException
Uses the default calling convention.
name - the name of the native function.
NativeException - if any exception occurs.
public Function getFunction(java.lang.String name,
int calling_convention)
throws NativeException,
java.lang.IllegalArgumentException
Uses the default calling convention.
name - the name of the native function.calling_convention - the calling convetion. -1 for the default calling convention.
NativeException - if any exception occurs.
java.lang.IllegalArgumentException - if the calling convention specified is not valid.public long getNativeAddress()
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectobject - the dynamic link library to compare against.
public int hashCode()
hashCode in class java.lang.Objectpublic void release()
public boolean isManaged()
|
Servertec Jenie 1.0.1 09/04/2005 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2004-2005 Servertec. All rights reserved.