public class PluginGateWay extends Observable
Modifier and Type | Field and Description |
---|---|
private String |
default_pin |
private static PluginGateWay |
instance |
private org.apache.log4j.Logger |
log |
private SimpleDevice |
simpleDevice |
private String |
source_name |
private ConcurrentHashMap<String,Source> |
sources |
Modifier | Constructor and Description |
---|---|
protected |
PluginGateWay() |
Modifier and Type | Method and Description |
---|---|
void |
AddSource(String type,
String name,
boolean visible)
Add a Source to the Product Provider
|
private void |
fireEvent(EventBase ev) |
String |
getDefaultSourcePin() |
static PluginGateWay |
getInstance() |
String |
getSourceName() |
ConcurrentHashMap<String,Source> |
getSources()
Get the Input Sources
|
void |
setDefaultSourcePin(String default_pin) |
void |
setSimpleDevice(SimpleDevice simpleDevice) |
void |
setSourceId(String name)
The Product Source has Changed
|
private void |
setSourceName(String source_name) |
void |
setSources(ConcurrentHashMap<String,Source> sources)
Set the Input Sources
|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
private static PluginGateWay instance
private org.apache.log4j.Logger log
private ConcurrentHashMap<String,Source> sources
private String source_name
private SimpleDevice simpleDevice
private String default_pin
public static PluginGateWay getInstance()
public void setSimpleDevice(SimpleDevice simpleDevice)
public void AddSource(String type, String name, boolean visible)
name
- type
- visible
- public void setSourceId(String name)
name
- private void fireEvent(EventBase ev)
public ConcurrentHashMap<String,Source> getSources()
public void setSources(ConcurrentHashMap<String,Source> sources)
sources
- public String getSourceName()
private void setSourceName(String source_name)
public void setDefaultSourcePin(String default_pin)
public String getDefaultSourcePin()
Copyright © 2013–2014. All rights reserved.