org.dcm4che2.net.service
Class StorageService

java.lang.Object
  extended by org.dcm4che2.net.service.DicomService
      extended by org.dcm4che2.net.service.StorageService
All Implemented Interfaces:
CStoreSCP

public class StorageService
extends DicomService
implements CStoreSCP

Since:
Nov 14, 2005
Version:
$Revision: 5516 $ $Date: 2007-11-23 12:42:30 +0100 (Fri, 23 Nov 2007) $
Author:
gunter zeilinger(gunterze@gmail.com)

Constructor Summary
protected StorageService(java.lang.String sopClass)
           
protected StorageService(java.lang.String[] sopClasses)
           
 
Method Summary
 void cstore(Association as, int pcid, DicomObject rq, PDVInputStream dataStream, java.lang.String tsuid)
           
protected  void doCStore(Association as, int pcid, DicomObject rq, PDVInputStream dataStream, java.lang.String tsuid, DicomObject rsp)
          Deprecated. use/overwrite onCStoreRQ(org.dcm4che2.net.Association, int, org.dcm4che2.data.DicomObject, org.dcm4che2.net.PDVInputStream, java.lang.String, org.dcm4che2.data.DicomObject)
protected  void onCStoreRQ(Association as, int pcid, DicomObject rq, PDVInputStream dataStream, java.lang.String tsuid, DicomObject rsp)
           
protected  void onCStoreRSP(Association as, int pcid, DicomObject rq, PDVInputStream dataStream, java.lang.String tsuid, DicomObject rsp)
           
 
Methods inherited from class org.dcm4che2.net.service.DicomService
getServiceClass, getSopClass, getSopClasses
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StorageService

protected StorageService(java.lang.String sopClass)

StorageService

protected StorageService(java.lang.String[] sopClasses)
Method Detail

cstore

public void cstore(Association as,
                   int pcid,
                   DicomObject rq,
                   PDVInputStream dataStream,
                   java.lang.String tsuid)
            throws DicomServiceException,
                   java.io.IOException
Specified by:
cstore in interface CStoreSCP
Throws:
DicomServiceException
java.io.IOException

onCStoreRQ

protected void onCStoreRQ(Association as,
                          int pcid,
                          DicomObject rq,
                          PDVInputStream dataStream,
                          java.lang.String tsuid,
                          DicomObject rsp)
                   throws DicomServiceException,
                          java.io.IOException
Throws:
DicomServiceException
java.io.IOException

doCStore

@Deprecated
protected void doCStore(Association as,
                                   int pcid,
                                   DicomObject rq,
                                   PDVInputStream dataStream,
                                   java.lang.String tsuid,
                                   DicomObject rsp)
                 throws DicomServiceException,
                        java.io.IOException
Deprecated. use/overwrite onCStoreRQ(org.dcm4che2.net.Association, int, org.dcm4che2.data.DicomObject, org.dcm4che2.net.PDVInputStream, java.lang.String, org.dcm4che2.data.DicomObject)

Throws:
DicomServiceException
java.io.IOException

onCStoreRSP

protected void onCStoreRSP(Association as,
                           int pcid,
                           DicomObject rq,
                           PDVInputStream dataStream,
                           java.lang.String tsuid,
                           DicomObject rsp)
                    throws DicomServiceException,
                           java.io.IOException
Throws:
DicomServiceException
java.io.IOException


Copyright © 2011 dcm4che. All Rights Reserved.