public static interface

Driver.Factory

org.ocast.core.Driver.Factory
Known Indirect Subclasses

Class Overview

Factory to create a Driver

Summary

Public Methods
abstract Driver createDriver(Device device, Driver.DriverListener listener, SSLConfig sslConfig)
Create a driver for the given Device device
abstract Driver createDriver(Device device, Driver.DriverListener listener)
Create a driver for the given Device device

Public Methods

public abstract Driver createDriver (Device device, Driver.DriverListener listener, SSLConfig sslConfig)

Create a driver for the given Device device

Parameters
device the device to be controlled by the driver
listener a listener that will be notified of driver failures
sslConfig additionnal SSL related configuration if needed

public abstract Driver createDriver (Device device, Driver.DriverListener listener)

Create a driver for the given Device device

Parameters
device the device to be controlled by the driver
listener a listener that will be notified of driver failures