public static class

ReferenceDriver.ReferenceFactory

extends Object
implements Driver.Factory
java.lang.Object
   ↳ org.ocast.referencedriver.ReferenceDriver.ReferenceFactory

Class Overview

A Driver.Factory for driver creation

Summary

Public Constructors
ReferenceFactory()
Public Methods
Driver createDriver(Device device, Driver.DriverListener listener, SSLConfig sslConfig)
Create a driver for the given Device device
ReferenceDriver createDriver(Device device, Driver.DriverListener listener)
Create a driver for the given Device device
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.ocast.core.Driver.Factory

Public Constructors

public ReferenceFactory ()

Public Methods

public 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 ReferenceDriver 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