public class MWLSCU extends SCU
| Constructor and Description |
|---|
MWLSCU(java.net.InetSocketAddress addr)
The InetAddress and port to which user connects.
|
MWLSCU(SCUSession objSCUSession)
Instantiates the C-Find MWLSCU and sets itself as message listener on SCU Session.
|
MWLSCU(java.lang.String strIP,
int port)
The IP and port to which user connects.
|
| Modifier and Type | Method and Description |
|---|---|
ISingleCollection<CFindRQ> |
getDefaultRQ(ISingleCollection<IDataSet> objIDataSetColl)
This method makes CFind RQ's according to the given DataSet Collection.
|
void |
send(AssociateRQ objAssociateRQ,
ISingleCollection<IDataSet> objDataSetCollection)
Sends the available data sets to the SCP.
|
void |
send(java.lang.String strCallingAETitle,
java.lang.String strCalledAETitle,
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 MWL.
|
void |
sendRequests(ISingleCollection<CFindRQ> objRQCollection)
This method sends multiple CFind RQ.
|
getDIMSEAssociation, getDIMSEResponse, receiveMessage, setAssociationStatus, setDIMSEAssociation, setDIMSEResponsepublic MWLSCU(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 MWLSCU(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 MWLSCU(SCUSession objSCUSession)
objSCUSession - object of SCU Session on which the connection accepts.public void send(java.lang.String strCallingAETitle,
java.lang.String strCalledAETitle,
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 GPWL operation has to be performed.java.io.IOException - Signals IOException of IO operation fails.public void send(AssociateRQ objAssociateRQ, 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 MWL.java.io.IOException - Signals that an I/O exception has occurred.public ISingleCollection<CFindRQ> getDefaultRQ(ISingleCollection<IDataSet> objIDataSetColl)
objIDataSetColl - Collection of DataSetstrAffectedSOPClassUID - String value of Affected SOP Class UID.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.