org.jboss.test.timer.interfaces
Interface TimerSLSB

All Superinterfaces:
EJBObject (src) , java.rmi.Remote

public interface TimerSLSB
extends EJBObject (src)

Remote interface for test/timer/TimerSLSB.


Method Summary
 java.lang.Object getInfo(byte[] handle)
           
 java.util.Date getNextTimeout(byte[] handle)
           
 int getTimeoutCount(byte[] handle)
           
 long getTimeRemaining(byte[] handle)
           
 byte[] startSingleTimer(long pPeriod)
          Start a single timer (if not already set) with the start date plus the period
 byte[] startTimer(long pPeriod)
          Start a timer (if not already set) with the start date plus the period and an interval of the given period
 void stopTimer(byte[] handle)
           
 
Methods inherited from interface javax.ejb.EJBObject (src)
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

startSingleTimer

public byte[] startSingleTimer(long pPeriod)
                        throws java.rmi.RemoteException
Start a single timer (if not already set) with the start date plus the period

Parameters:
pPeriod - Time that will elapse between now and the timed event in milliseconds
Throws:
java.rmi.RemoteException

startTimer

public byte[] startTimer(long pPeriod)
                  throws java.rmi.RemoteException
Start a timer (if not already set) with the start date plus the period and an interval of the given period

Parameters:
pPeriod - Time that will elapse between two events in milliseconds
Throws:
java.rmi.RemoteException

stopTimer

public void stopTimer(byte[] handle)
               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getTimeoutCount

public int getTimeoutCount(byte[] handle)
                    throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getNextTimeout

public java.util.Date getNextTimeout(byte[] handle)
                              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getTimeRemaining

public long getTimeRemaining(byte[] handle)
                      throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getInfo

public java.lang.Object getInfo(byte[] handle)
                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException