Modifier and Type | Method and Description |
---|---|
TransferCallback |
Transfer.callback()
Returns the current callback object.
|
Modifier and Type | Method and Description |
---|---|
static void |
LibUsb.fillBulkStreamTransfer(Transfer transfer,
DeviceHandle handle,
byte endpoint,
int streamId,
ByteBuffer buffer,
TransferCallback callback,
Object userData,
long timeout)
Helper function to populate the required
Transfer fields
for a bulk transfer using bulk streams. |
static void |
LibUsb.fillBulkTransfer(Transfer transfer,
DeviceHandle handle,
byte endpoint,
ByteBuffer buffer,
TransferCallback callback,
Object userData,
long timeout)
Helper function to populate the required
Transfer fields for a
bulk transfer. |
static void |
LibUsb.fillControlTransfer(Transfer transfer,
DeviceHandle handle,
ByteBuffer buffer,
TransferCallback callback,
Object userData,
long timeout)
Helper function to populate the required
Transfer fields for a
control transfer. |
static void |
LibUsb.fillInterruptTransfer(Transfer transfer,
DeviceHandle handle,
byte endpoint,
ByteBuffer buffer,
TransferCallback callback,
Object userData,
long timeout)
Helper function to populate the required
Transfer fields for an
interrupt transfer. |
static void |
LibUsb.fillIsoTransfer(Transfer transfer,
DeviceHandle handle,
byte endpoint,
ByteBuffer buffer,
int numIsoPackets,
TransferCallback callback,
Object userData,
long timeout)
Helper function to populate the required
Transfer fields for an
isochronous transfer. |
void |
Transfer.setCallback(TransferCallback callback)
Sets the callback object.
|
Copyright © 2011–2018 usb4java Team. All rights reserved.