class DeviceEvent extends AbstractEvent<DeviceEvent.Type, Device> {

    public Port port() {
        return port;
    }

    public  DeviceEvent(Type type, Device device);
    public  DeviceEvent(Type type, Device device, Port port);
    public  DeviceEvent(Device device, boolean isAvailable);
    public  DeviceEvent(Type type, Device device, Port port, long time);

}