org.dicom4j.network.association.support
Class ARTIMTimer

java.lang.Object
  extended by org.dicom4j.network.association.support.ARTIMTimer

public class ARTIMTimer
extends Object

To manage ARTIM time out

Since:
0.0.4
Author:
Laurent Lecomte

Constructor Summary
ARTIMTimer(Association aAssociation, int aTimeOut)
           
 
Method Summary
 int getTimeOut()
           
 boolean isStarted()
          check is the timer is started
 void setTimeOut(int atimeOut)
           
 void start()
          start the timer
 void stop()
          stop the timer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ARTIMTimer

public ARTIMTimer(Association aAssociation,
                  int aTimeOut)
Method Detail

getTimeOut

public int getTimeOut()
Returns:
Returns the aTimeOut.

isStarted

public boolean isStarted()
check is the timer is started

Returns:
true is started

setTimeOut

public void setTimeOut(int atimeOut)
Parameters:
timeOut - The aTimeOut to set.

start

public void start()
start the timer


stop

public void stop()
stop the timer



Copyright © 2009 dicom4j. All Rights Reserved.