org.dcm4che2.net.service
Class DicomService

java.lang.Object
  extended by org.dcm4che2.net.service.DicomService
Direct Known Subclasses:
CFindService, NCreateService, NSetService, StorageCommitmentService, StorageService, VerificationService

public abstract class DicomService
extends java.lang.Object

Base class for DICOM services.

Since:
Oct 3, 2005
Version:
$Reversion$ $Date: 2007-11-23 13:23:46 +0100 (Fri, 23 Nov 2007) $
Author:
gunter zeilinger(gunterze@gmail.com)

Constructor Summary
protected DicomService(java.lang.String sopClass)
          Constructor.
protected DicomService(java.lang.String[] sopClasses)
          Constructor.
protected DicomService(java.lang.String[] sopClasses, java.lang.String serviceClass)
          Constructor.
 
Method Summary
 java.lang.String getServiceClass()
          Get the service class that this service belongs to.
 java.lang.String getSopClass()
          Get the SOP class that this service responds to.
 java.lang.String[] getSopClasses()
          Get the SOP classes that this service responds to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DicomService

protected DicomService(java.lang.String[] sopClasses,
                       java.lang.String serviceClass)
Constructor. The parameters of this constructor define the manner in which the service will be looked up from the DicomServiceRegistry. The sopClasses array defines the specific SOP class UIDs that this DicomService will respond to, while the serviceClass can define a higher level SOP class UID that the service will respond to. The serviceClass may be null.

Parameters:
sopClasses - A String array containing the SOP class UIDs that this service responds to.
serviceClass - The service class of the DicomDevice. For example, UID.StorageServiceClass. May be null.

DicomService

protected DicomService(java.lang.String[] sopClasses)
Constructor. The parameter of this constructor defines the manner in which the service will be looked up from the DicomServiceRegistry. The sopClasses array defines the specific SOP class UIDs that this DicomService will respond to.

Parameters:
sopClasses - A String array containing the SOP class UIDs that this service responds to.

DicomService

protected DicomService(java.lang.String sopClass)
Constructor. The parameter of this constructor defines the manner in which the service will be looked up from the DicomServiceRegistry. The sopClass defines the specific SOP class UID that this DicomService will respond to.

Parameters:
sopClasses - A String array containing the SOP class UIDs that this service responds to.
Method Detail

getSopClasses

public final java.lang.String[] getSopClasses()
Get the SOP classes that this service responds to.

Returns:
String array containing the SOP Class UIDs.

getSopClass

public final java.lang.String getSopClass()
Get the SOP class that this service responds to. If there are multiple SOP classes, the first one is returned.

Returns:
String containing the SOP Class UID.

getServiceClass

public final java.lang.String getServiceClass()
Get the service class that this service belongs to.

Returns:
String containing the SOP Class UID.


Copyright © 2011 dcm4che. All Rights Reserved.