org.usb4java.javax.adapter.UsbServicesAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of usb4java-javax Show documentation
Show all versions of usb4java-javax Show documentation
Extension for usb4java which implements javax.usb (JSR-80).
The newest version!
/*
* Copyright (C) 2013 Klaus Reimer
* See LICENSE.md for licensing information.
*/
package org.usb4java.javax.adapter;
import javax.usb.event.UsbServicesEvent;
import javax.usb.event.UsbServicesListener;
/**
* An abstract adapter class for receiving USB service events. The methods in
* this class are empty. This class exists as convenience for creating listener
* objects.
*
* @author Klaus Reimer ([email protected])
*/
public abstract class UsbServicesAdapter implements UsbServicesListener
{
@Override
public void usbDeviceAttached(final UsbServicesEvent event)
{
// Empty
}
@Override
public void usbDeviceDetached(final UsbServicesEvent event)
{
// Empty
}
}