public class ZtexContext
extends java.lang.Object
| Constructor and Description |
|---|
ZtexContext()
Constructs an new USB context and initializes it.
|
| Modifier and Type | Method and Description |
|---|---|
org.usb4java.Context |
context()
Returns the USB context.
|
protected void |
finalize()
Releases all resources.
|
ZtexContext |
ref()
Increases the reference count.
|
void |
unref()
Decreases the reference count and deinitializes the context if reference counter reaches 0.
|
public ZtexContext()
throws UsbException
UsbExceptionpublic final org.usb4java.Context context()
public ZtexContext ref() throws UsbException
UsbExceptionpublic void unref()
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable