Top Description Methods
javax.usb

public Interface UsbEndpoint


Interface for a USB endpoint.
Author
Dan Streetman

Method Summary

Modifier and TypeMethod and Description
public byte

Returns:

This endpoint's direction.
getDirection
()

Get this endpoint's direction.

public byte

Returns:

This endpoint's type.
getType
()

Get this endpoint's type.

public UsbEndpointDescriptor

Returns:

The descriptor for this UsbEndpoint.
getUsbEndpointDescriptor
()

Get the descriptor for this UsbEndpoint.

public UsbInterface

Returns:

The parent interface.
getUsbInterface
()

Get the parent UsbInterface that this UsbEndpoint belongs to.

public UsbPipe

Returns:

This UsbEndpoint's UsbPipe.
getUsbPipe
()

Get the UsbPipe for this UsbEndpoint.

Method Detail

getDirectionback to summary
public byte getDirection()

Get this endpoint's direction.

This is the logical AND of the direction mask and the endpoint descriptor's address.

Returns:byte

This endpoint's direction.

See Also
javax.usb.UsbConst#ENDPOINT_DIRECTION_IN, javax.usb.UsbConst#ENDPOINT_DIRECTION_OUT
getTypeback to summary
public byte getType()

Get this endpoint's type.

This is the logical AND of the type mask and the endpoint descriptor's attributes.

Returns:byte

This endpoint's type.

See Also
javax.usb.UsbConst#ENDPOINT_TYPE_CONTROL, javax.usb.UsbConst#ENDPOINT_TYPE_BULK, javax.usb.UsbConst#ENDPOINT_TYPE_INTERRUPT, javax.usb.UsbConst#ENDPOINT_TYPE_ISOCHRONOUS
getUsbEndpointDescriptorback to summary
public UsbEndpointDescriptor getUsbEndpointDescriptor()

Get the descriptor for this UsbEndpoint.

The descriptor may be cached.

Returns:UsbEndpointDescriptor

The descriptor for this UsbEndpoint.

getUsbInterfaceback to summary
public UsbInterface getUsbInterface()

Get the parent UsbInterface that this UsbEndpoint belongs to.

Returns:UsbInterface

The parent interface.

getUsbPipeback to summary
public UsbPipe getUsbPipe()

Get the UsbPipe for this UsbEndpoint.

This is the only method of communication to this endpoint.

Returns:UsbPipe

This UsbEndpoint's UsbPipe.