org.openorb.time
Class TimerEventHandlerImpl

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.CosTimerEvent.TimerEventHandlerPOA
          extended by org.openorb.time.TimerEventHandlerImpl
All Implemented Interfaces:
java.lang.Runnable, org.omg.CORBA.portable.InvokeHandler, TimerEventHandlerOperations

public class TimerEventHandlerImpl
extends TimerEventHandlerPOA
implements java.lang.Runnable

Author:
Olivier Modica, Nicolas Charpentier

Constructor Summary
TimerEventHandlerImpl(TimerEventServiceImpl parent, org.omg.CORBA.ORB orb, org.omg.CosEventComm.PushConsumer eventChannel, long currentTime)
           
 
Method Summary
 boolean cancel_timer()
          Operation cancel_timer
 void run()
           
 void set_data(org.omg.CORBA.Any event_data)
          Operation set_data
 void SetTimer(TimeType time_type, UTO trigger_time)
          Operation SetTimer
 EventStatus status()
          status read attribute
 boolean time_set(UTOHolder uto)
          Operation time_set
 
Methods inherited from class org.omg.CosTimerEvent.TimerEventHandlerPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimerEventHandlerImpl

public TimerEventHandlerImpl(TimerEventServiceImpl parent,
                             org.omg.CORBA.ORB orb,
                             org.omg.CosEventComm.PushConsumer eventChannel,
                             long currentTime)
Method Detail

status

public EventStatus status()
status read attribute

Specified by:
status in interface TimerEventHandlerOperations
Returns:
the attribute value

time_set

public boolean time_set(UTOHolder uto)
Operation time_set

Specified by:
time_set in interface TimerEventHandlerOperations

SetTimer

public void SetTimer(TimeType time_type,
                     UTO trigger_time)
Operation SetTimer

Specified by:
SetTimer in interface TimerEventHandlerOperations

cancel_timer

public boolean cancel_timer()
Operation cancel_timer

Specified by:
cancel_timer in interface TimerEventHandlerOperations

set_data

public void set_data(org.omg.CORBA.Any event_data)
Operation set_data

Specified by:
set_data in interface TimerEventHandlerOperations

run

public void run()
Specified by:
run in interface java.lang.Runnable