public class MediaCreationSCU extends SCU
| Constructor and Description |
|---|
MediaCreationSCU(java.net.InetSocketAddress addr)
The InetAddress and port to which user connects.
|
MediaCreationSCU(SCUSession objSCUSession)
Instantiates a new Print_SCU on the SCU session provided by user.
|
MediaCreationSCU(java.lang.String strIP,
int port)
The IP and port to which user connects.
|
| Modifier and Type | Method and Description |
|---|---|
void |
send(AssociateRQ objAssociateRQ,
EnumCommandField enumCommandField,
java.lang.String strSOPInstanceUID,
EnumActionTypeID enumActionTypeID,
IDataSet objIDataSet,
ISingleCollection<ITag> objITagCollection)
Sends the available datasets to the SCP.
|
void |
send(java.lang.String strcallingAETitle,
java.lang.String strCalledAETitle,
java.lang.String strSOPInstanceUID,
EnumCommandField enumCommandField,
EnumActionTypeID enumActionTypeID,
IDataSet objIDataSet,
ISingleCollection<ITag> objITagCollection)
This method creates association request according to the DataSet collection provided by the user and the Default association.
|
boolean |
sendMessage(DicomMessage objDicomMessage)
This method sends the Request for Media Creation Management Service Class.
|
boolean |
validateNActionRQ(IDataSet objIDataSet)
Validates request for N_ACTION for its Compulsory and
Conditional attributes specified by DICOM.
|
boolean |
validateNCreateRQ(IDataSet objIDataSet)
Validates request for N_CREATE for its Compulsory and
Conditional attributes specified by DICOM.
|
boolean |
validateNGetRQ(IDataSet objIDataSet)
Validates request for N_Get for its Compulsory and
Conditional attributes specified by DICOM.
|
getDIMSEAssociation, getDIMSEResponse, receiveMessage, setAssociationStatus, setDIMSEAssociation, setDIMSEResponsepublic MediaCreationSCU(java.lang.String strIP,
int port)
throws java.io.IOException
strIP - String value of IP to which user connects.port - Port to which user connects.java.io.IOException - Signals IO Exception if IO operation fails.public MediaCreationSCU(java.net.InetSocketAddress addr)
throws java.io.IOException
addr - InetAddress to which user connects.java.io.IOException - Signals IO Exception if IO operation fails.public MediaCreationSCU(SCUSession objSCUSession)
objSCUSession - the object of SCU session on which Print_SCU is to be initiated.public void send(java.lang.String strcallingAETitle,
java.lang.String strCalledAETitle,
java.lang.String strSOPInstanceUID,
EnumCommandField enumCommandField,
EnumActionTypeID enumActionTypeID,
IDataSet objIDataSet,
ISingleCollection<ITag> objITagCollection)
throws java.io.IOException
strcallingAETitle - value of Calling AE TitlestrCalledAETitle - value of Called AE TitlestrSOPInstanceUID - Affected SOP Instance UID in the command Set.enumCommandField - Enum Represents Element Command Field i.e. the type of service.enumActionTypeID - Enum represents Action Type IDobjIDataSet - instance of dataset which is to be sent.objITagCollection - list of requested attributesjava.io.IOException - Signals that an I/O exception has occurred.public void send(AssociateRQ objAssociateRQ, EnumCommandField enumCommandField, java.lang.String strSOPInstanceUID, EnumActionTypeID enumActionTypeID, IDataSet objIDataSet, ISingleCollection<ITag> objITagCollection) throws java.io.IOException
objAssociateRQ - The association request i.e. to be sent to SCP.enumCommandField - Enum Represents Element Command Field i.e. the type of service.strSOPInstanceUID - Affected SOP Instance UID in the command Set.enumActionTypeID - Enum represents Action Type IDobjIDataSet - instance of dataset which is to be sent.objITagCollection - list of requested attributesjava.io.IOException - Signals that an I/O exception has occurred.public boolean sendMessage(DicomMessage objDicomMessage) throws java.io.IOException
sendMessage in interface IMessageListenersendMessage in class SCUobjDicomMessage - The Dicom Message containing Request for MediaCreationManagement.java.io.IOException - Signals that an I/O exception has occurred.public boolean validateNCreateRQ(IDataSet objIDataSet) throws InvalidDataSetException
objDicomMessage - : The Request Message for validation.InvalidDataSetException - : Exception is raised when the DataSet contents are not in proper order.public boolean validateNGetRQ(IDataSet objIDataSet)
objDicomMessage - : The Request Message for validation.InvalidDataSetException - : Exception is raised when the DataSet contents are not in proper order.public boolean validateNActionRQ(IDataSet objIDataSet)
objDicomMessage - : The Request Message for validation.InvalidDataSetException - : Exception is raised when the DataSet contents are not in proper order.