org.objectweb.dream.time
Class TimeStampImpl

java.lang.Object
  extended byorg.objectweb.dream.AbstractComponent
      extended byorg.objectweb.dream.time.TimeStampImpl
All Implemented Interfaces:
BindingController, GetTimeStamp, LifeCycleController, Loggable, SetTimeStamp

public class TimeStampImpl
extends AbstractComponent
implements GetTimeStamp, SetTimeStamp

Basic implementation of a time stamp component. Such component implements the SetTimeStamp and GetTimeStamp interfaces.


Field Summary
 
Fields inherited from class org.objectweb.dream.AbstractComponent
bindingLogger, componentDesc, fcState, firstStart, lifeCycleLogger, logger, weaveableC
 
Fields inherited from interface org.objectweb.dream.time.GetTimeStamp
ITF_NAME
 
Fields inherited from interface org.objectweb.dream.time.SetTimeStamp
ITF_NAME
 
Fields inherited from interface org.objectweb.fractal.api.control.LifeCycleController
STARTED, STOPPED
 
Constructor Summary
TimeStampImpl()
           
 
Method Summary
 long getTimeStamp()
          Returns the time stamp.
 String[] listFc()
           
 long setTimeStamp()
          Sets the time stamp.
 
Methods inherited from class org.objectweb.dream.AbstractComponent
beforeFirstStart, bindFc, getFcState, initComponent, lookupFc, setLogger, startFc, stopFc, unbindFc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeStampImpl

public TimeStampImpl()
Method Detail

setTimeStamp

public long setTimeStamp()
Description copied from interface: SetTimeStamp
Sets the time stamp.

Specified by:
setTimeStamp in interface SetTimeStamp
Returns:
the time stamp that has been set.
See Also:
SetTimeStamp.setTimeStamp()

getTimeStamp

public long getTimeStamp()
Description copied from interface: GetTimeStamp
Returns the time stamp.

Specified by:
getTimeStamp in interface GetTimeStamp
Returns:
the time stamp.
See Also:
GetTimeStamp.getTimeStamp()

listFc

public String[] listFc()
Specified by:
listFc in interface BindingController
See Also:
BindingController.listFc()


Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.