2009-01-09 1.2.0

org.eclipse.soda.dk.device.awt
Class SignalBridge

java.lang.Object
  extended by org.eclipse.soda.dk.device.awt.SignalBridge
All Implemented Interfaces:
SignalListener, ErrorListener

public class SignalBridge
extends java.lang.Object
implements SignalListener

Since:
1.0
Version:
1.2.0

Field Summary
protected  DeviceAwt deviceAwt
          Define the device awt (DeviceAwt) field.
protected  int index
          Define the index (int) field.
protected  java.awt.List list
          Define the list (List) field.
protected  SignalService signal
          Define the signal (SignalService) field.
 
Constructor Summary
SignalBridge()
          Constructs an instance of this class.
SignalBridge(DeviceAwt deviceAwt, java.awt.List list, int index, SignalService signal)
          Constructs an instance of this class from the specified device awt, list, index and signal parameters.
 
Method Summary
 void errorOccurred(java.lang.Object source, java.lang.Object timestamp, java.lang.Object data)
          Error occurred with the specified source, timestamp and data parameters.
 DeviceAwt getDeviceAwt()
          Gets the device AWT value.
 int getIndex()
          Gets the index (int) value.
 java.awt.List getList()
          Gets the list value.
 SignalService getSignal()
          Gets the signal (SignalService) value.
 void setDeviceAwt(DeviceAwt deviceAwt)
          Sets the device AWT value.
 void setIndex(int index)
          Sets the index value.
 void setList(java.awt.List list)
          Sets the list value.
 void setSignal(SignalService signal)
          Sets the signal value.
 void signalOccurred(SignalService source, java.lang.Object timestamp, java.lang.Object data)
          Signal occurred with the specified source, timestamp and data parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

signal

protected SignalService signal
Define the signal (SignalService) field.


list

protected java.awt.List list
Define the list (List) field.


index

protected int index
Define the index (int) field.


deviceAwt

protected DeviceAwt deviceAwt
Define the device awt (DeviceAwt) field.

Constructor Detail

SignalBridge

public SignalBridge()
Constructs an instance of this class.

See Also:
SignalBridge(DeviceAwt,List,int,SignalService)

SignalBridge

public SignalBridge(DeviceAwt deviceAwt,
                    java.awt.List list,
                    int index,
                    SignalService signal)
Constructs an instance of this class from the specified device awt, list, index and signal parameters.

Parameters:
deviceAwt - The device awt (DeviceAwt) parameter.
list - The list (List) parameter.
index - The index (int) parameter.
signal - The signal (SignalService) parameter.
See Also:
SignalBridge()
Method Detail

errorOccurred

public void errorOccurred(java.lang.Object source,
                          java.lang.Object timestamp,
                          java.lang.Object data)
Error occurred with the specified source, timestamp and data parameters.

Specified by:
errorOccurred in interface ErrorListener
Parameters:
source - The source (Object) parameter.
timestamp - The timestamp (Object) parameter.
data - The data (Object) parameter.
See Also:
signalOccurred(SignalService,Object,Object)

getDeviceAwt

public DeviceAwt getDeviceAwt()
Gets the device AWT value.

Returns:
The device awt (DeviceAwt) value.
See Also:
setDeviceAwt(DeviceAwt)

getIndex

public int getIndex()
Gets the index (int) value.

Returns:
The index (int) value.
See Also:
setIndex(int)

getList

public java.awt.List getList()
Gets the list value.

Returns:
The list (List) value.
See Also:
setList(List)

getSignal

public SignalService getSignal()
Gets the signal (SignalService) value.

Returns:
The signal (SignalService) value.
See Also:
setSignal(SignalService)

setDeviceAwt

public void setDeviceAwt(DeviceAwt deviceAwt)
Sets the device AWT value.

Parameters:
deviceAwt - The device awt (DeviceAwt) parameter.
See Also:
getDeviceAwt()

setIndex

public void setIndex(int index)
Sets the index value.

Parameters:
index - The index (int) parameter.
See Also:
getIndex()

setList

public void setList(java.awt.List list)
Sets the list value.

Parameters:
list - The list (List) parameter.
See Also:
getList()

setSignal

public void setSignal(SignalService signal)
Sets the signal value.

Parameters:
signal - The signal (SignalService) parameter.
See Also:
getSignal()

signalOccurred

public void signalOccurred(SignalService source,
                           java.lang.Object timestamp,
                           java.lang.Object data)
Signal occurred with the specified source, timestamp and data parameters.

Specified by:
signalOccurred in interface SignalListener
Parameters:
source - The source (SignalService) parameter.
timestamp - The timestamp (Object) parameter.
data - The data (Object) parameter.
See Also:
errorOccurred(Object,Object,Object)

2009-01-09 1.2.0

Copyright (c) 2009 IBM. See license in Legal section.