org.mobicents.media.server.impl.clock
Class LocalTask

java.lang.Object
  extended by org.mobicents.media.server.impl.clock.LocalTask
All Implemented Interfaces:
org.mobicents.media.server.spi.clock.TimerTask

public class LocalTask
extends java.lang.Object
implements org.mobicents.media.server.spi.clock.TimerTask

Author:
kulikov

Field Summary
protected  long seconds
           
 
Constructor Summary
protected LocalTask(org.mobicents.media.server.spi.clock.Task task)
          Wraps spacified task.
 
Method Summary
 void cancel()
           
 boolean isActive()
           
 int perform()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

seconds

protected long seconds
Constructor Detail

LocalTask

protected LocalTask(org.mobicents.media.server.spi.clock.Task task)
Wraps spacified task.

Parameters:
task - the task to wrap.
Method Detail

isActive

public boolean isActive()
Specified by:
isActive in interface org.mobicents.media.server.spi.clock.TimerTask

cancel

public void cancel()
Specified by:
cancel in interface org.mobicents.media.server.spi.clock.TimerTask

perform

public int perform()


Copyright © 2010. All Rights Reserved.