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 releases the context if reference counter reaches 0.
|
public ZtexContext() throws UsbException
UsbException
- if USB context can be initializedpublic final org.usb4java.Context context()
public ZtexContext ref() throws UsbException
UsbException
- if USB context can be initializedpublic void unref()
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable