org.dcm4che2.net
Class AssociationReaper

java.lang.Object
  extended by org.dcm4che2.net.AssociationReaper

public class AssociationReaper
extends java.lang.Object

The AssociationReaper is responsible for monitoring DICOM associations by testing them periodically for idleness. The Association contains the maximum idle period, so when the reaper tests the association object for idleness, it may release the association if the idle period has been exceeded.

Since:
Dec 10, 2005
Version:
$Revision: 12932 $ $Date: 2010-03-16 11:26:10 +0100 (Tue, 16 Mar 2010) $
Author:
gunter zeilinger(gunterze@gmail.com)

Constructor Summary
AssociationReaper(int period)
          Constructor which sets the max idle test period.
 
Method Summary
 void register(Association a)
          Register an Association with this reaper.
 void unregister(Association a)
          Unregister an Association from this reaper.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssociationReaper

public AssociationReaper(int period)
Constructor which sets the max idle test period.

Parameters:
period - An int signifying the time period in milliseconds in which associations will be tested for idleness..
Method Detail

register

public void register(Association a)
Register an Association with this reaper.

Parameters:
a - The Association to register.

unregister

public void unregister(Association a)
Unregister an Association from this reaper.

Parameters:
a - The Association to unregister.


Copyright © 2011 dcm4che. All Rights Reserved.