public class CFindSCU extends SCU
| Constructor and Description |
|---|
CFindSCU(java.net.InetSocketAddress addr)
The InetAddress and port to which user connects.
|
CFindSCU(SCUSession objSCUSession)
Instantiates the C-FIND SCU and sets itself as message listener on SCU Session.
|
CFindSCU(java.lang.String strIP,
int port)
The IP and port to which user connects.
|
| Modifier and Type | Method and Description |
|---|---|
void |
receiveMessage(ServiceMessageEvent objServiceMessageEvent)
Receives response.
|
void |
send(java.lang.String strAffectedSOPClassUID,
AssociateRQ objAssociateRQ,
ISingleCollection<IDataSet> objDataSetCollection)
Sends the available datasets to the SCP.
|
void |
send(java.lang.String strcallingAETitle,
java.lang.String strCalledAETitle,
java.lang.String strAffectedSOPClassUID,
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)
Sends the Dicom Message provided by the user.
|
void |
sendRequests(ISingleCollection<CFindRQ> objRQCollection)
This method sends multiple CFind RQ.
|
getDIMSEAssociation, getDIMSEResponse, setAssociationStatus, setDIMSEAssociation, setDIMSEResponsepublic CFindSCU(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 CFindSCU(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 CFindSCU(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 strAffectedSOPClassUID,
ISingleCollection<IDataSet> objDataSetCollection)
throws java.io.IOException
strcallingAETitle - calling AE title for this service provider.strCalledAETitle - called AE title for of user .strAffectedSOPClassUID - String value of Affected SOP Class UID.objDataSetCollection - Collection of Data Set containing identifier on which C-Find operation has to be performed.java.io.IOException - Signals IOException of IO operation fails.public void send(java.lang.String strAffectedSOPClassUID,
AssociateRQ objAssociateRQ,
ISingleCollection<IDataSet> objDataSetCollection)
throws java.io.IOException
strAffectedSOPClassUID - String value of Affected SOP Class UID.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 - object of Dicom Message to be sent to peer entity.java.io.IOException - Signals that an I/O exception has occurred.public void receiveMessage(ServiceMessageEvent objServiceMessageEvent) throws java.io.IOException
receiveMessage in interface IMessageListenerreceiveMessage in class SCUobjServiceMessageEvent - the object service message eventjava.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.