public class SubstanceAdministrationInfoQrySCU extends SCU
| Constructor and Description |
|---|
SubstanceAdministrationInfoQrySCU(java.net.InetSocketAddress addr)
The InetAddress and port to which user connects.
|
SubstanceAdministrationInfoQrySCU(SCUSession objSCUSession)
Instantiates the C-Find MWLSCU and sets itself as message listener on SCU Session.
|
SubstanceAdministrationInfoQrySCU(java.lang.String strIP,
int port)
The IP and port to which user connects.
|
| Modifier and Type | Method and Description |
|---|---|
static ISingleCollection<CFindRQ> |
getDefaultRQ(java.lang.String strSOPClassUID,
ISingleCollection<IDataSet> objIDataSetColl)
This method makes CFindRQ RQ's according to the given DataSet Collection.
|
void |
send(AssociateRQ objAssociateRQ,
java.lang.String strSOPClassUID,
ISingleCollection<IDataSet> objDataSetCollection)
Sends the available data sets to the SCP.
|
void |
send(java.lang.String strCallingAETitle,
java.lang.String strCalledAETitle,
java.lang.String strSOPClassUID,
ISingleCollection<IDataSet> objDataSetCollection)
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 of CFind for Substance Administration.
|
void |
sendRequests(ISingleCollection<CFindRQ> objRQCollection)
This method sends multiple CFind RQ.
|
boolean |
validateCFindRQ(IDataSet objIDataSet)
Validates request for C_FIND_RQ for its Compulsory and
Conditional attributes specified by DICOM.
|
getDIMSEAssociation, getDIMSEResponse, receiveMessage, setAssociationStatus, setDIMSEAssociation, setDIMSEResponsepublic SubstanceAdministrationInfoQrySCU(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 SubstanceAdministrationInfoQrySCU(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 SubstanceAdministrationInfoQrySCU(SCUSession objSCUSession)
objSCUSession - object of SCU Session on which the connection accepts.public void send(java.lang.String strCallingAETitle,
java.lang.String strCalledAETitle,
java.lang.String strSOPClassUID,
ISingleCollection<IDataSet> objDataSetCollection)
throws java.io.IOException
strCallingAETitle - value of calling AE TitlestrCalledAETitle - value of called AE TitleobjDataSetCollection - Collection of Data Set containing identifier on which C-Find SUBSTANCEADMINISTRATION operation has to be performed.java.io.IOException - Signals IOException of IO operation fails.public void send(AssociateRQ objAssociateRQ, java.lang.String strSOPClassUID, ISingleCollection<IDataSet> objDataSetCollection) throws java.io.IOException
objAssociateRQ - The association request i.e. to be sent to SCP.objDataSetCollection - Collection of Data Set on which C-Store operation has to be performed.java.io.IOException - Signals IOException if IO operation fails.public boolean sendMessage(DicomMessage objDicomMessage) throws java.io.IOException
sendMessage in interface IMessageListenersendMessage in class SCUobjDicomMessage - The Dicom Message containing Request of CFind for Substance Administration.java.io.IOException - Signals that an I/O exception has occurred.public void sendRequests(ISingleCollection<CFindRQ> objRQCollection) throws java.io.IOException
objRQCollection - Collection of CStoreRQ i.e. to be send.java.io.IOException - Signals that an I/O exception has occurred.public static ISingleCollection<CFindRQ> getDefaultRQ(java.lang.String strSOPClassUID, ISingleCollection<IDataSet> objIDataSetColl)
objIDataSetColl - Collection of DataSet.public boolean validateCFindRQ(IDataSet objIDataSet) throws InvalidDataSetException
objDicomMessage - : The Request Message for validation.InvalidDataSetException - : Exception is raised when the DataSet contents are not in proper order.