Package org.aoju.bus.image.plugin
Class StoreSCP
java.lang.Object
org.aoju.bus.image.metric.service.AbstractService
org.aoju.bus.image.metric.service.BasicCStoreSCP
org.aoju.bus.image.plugin.StoreSCP
- All Implemented Interfaces:
DimseRQHandler,ImageService
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ApplicationEntityfinal Connectionfinal Devicefinal String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsetEfforts(Efforts efforts) voidsetStatus(int status) protected voidstore(Association as, Presentation pc, Attributes rq, PDVInputStream data, Attributes rsp) Methods inherited from class org.aoju.bus.image.metric.service.BasicCStoreSCP
onDimse, onDimseMethods inherited from class org.aoju.bus.image.metric.service.AbstractService
getSOPClasses, onClose
-
Field Details
-
device
-
ae
-
conn
-
storageDir
-
authorizedCallingNodes
-
efforts
-
-
Constructor Details
-
StoreSCP
- Parameters:
storageDir- 存储文件夹的基本路径
-
StoreSCP
- Parameters:
storageDir- the base path of storage folderauthorizedCallingNodes- the list of authorized nodes to call store files (authorizedCallingNodes allow to check hostname unlike acceptedCallingAETitles)
-
-
Method Details
-
store
protected void store(Association as, Presentation pc, Attributes rq, PDVInputStream data, Attributes rsp) throws IOException - Overrides:
storein classBasicCStoreSCP- Throws:
IOException
-
setStatus
public void setStatus(int status) -
loadDefaultTransferCapability
-
getApplicationEntity
-
getConnection
-
getDevice
-
getEfforts
-
setEfforts
-