de.tum.in.DWARF.event
Class InputDataSender
java.lang.Object
SvcProtPushSupplierPOA
de.tum.in.DWARF.event.EventSender
de.tum.in.DWARF.event.InputDataSender
public class InputDataSender
- extends EventSender
A class to send and create InputDataEvents of all types.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_BOOL
public static final int TYPE_BOOL
- See Also:
- Constant Field Values
TYPE_STRING
public static final int TYPE_STRING
- See Also:
- Constant Field Values
TYPE_ANALOG_UNLIMITED
public static final int TYPE_ANALOG_UNLIMITED
- See Also:
- Constant Field Values
TYPE_ANALOG_LIMITED
public static final int TYPE_ANALOG_LIMITED
- See Also:
- Constant Field Values
InputDataSender
public InputDataSender(org.omg.CORBA.ORB orb)
InputDataSender
public InputDataSender(int repeatAmount,
org.omg.CORBA.ORB orb)
- Parameters:
repeatAmount - Each event is sent as often as repeatAmount indicates
lostEventChannel
protected void lostEventChannel()
- Description copied from class:
EventSender
- This mothod is called when
disconnect_structured_push_supplier is called. Place code that needs to react on this fact here (e.g. to notify other objects).
- Specified by:
lostEventChannel in class EventSender
- See Also:
EventSender.lostEventChannel()
send
public SendResult send(int type,
java.lang.String eventName)
- Parameters:
type - The static final ints defined in this class. They indicate, which object to send.
send
public SendResult send(int type)
setState
public void setState(int type,
InputDataEventType inputDataEventType)
setBool
public void setBool(boolean flag)
setString
public void setString(java.lang.String value)
setAnalogLimitedValue
public void setAnalogLimitedValue(double value)
setAnalogUnlimitedValue
public void setAnalogUnlimitedValue(double value)
| DWARF Java documentation | generated by Javadoc |