public class CMoveSCU extends SCU
| Constructor and Description |
|---|
CMoveSCU(java.net.InetSocketAddress addr)
The InetAddress and port to which user connects.
|
CMoveSCU(SCUSession objSCUSession)
Instantiates the C-Move SCU and sets itself as message listener on SCU Session.
|
CMoveSCU(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,
java.lang.String strMoveDestination,
AssociateRQ objAssociateRQ,
ISingleCollection<IDataSet> objDataSetCollection)
Sends the available datasets to the SCP.
|
void |
send(java.lang.String strCalledAETitle,
java.lang.String strCallingAETitle,
java.lang.String strAffectedSOPClassUID,
java.lang.String strMoveDestination,
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<CMoveRQ> objRQCollection)
This method sends multiple CStore RQ.
|
getDIMSEAssociation, getDIMSEResponse, setAssociationStatus, setDIMSEAssociation, setDIMSEResponsepublic CMoveSCU(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 CMoveSCU(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 CMoveSCU(SCUSession objSCUSession)
objSCUSession - object of SCU Session on which the connection accepts.public void send(java.lang.String strCalledAETitle,
java.lang.String strCallingAETitle,
java.lang.String strAffectedSOPClassUID,
java.lang.String strMoveDestination,
ISingleCollection<IDataSet> objDataSetCollection)
throws java.io.IOException
strcallingAETitle - calling AE title for this service providerstrCalledAETitle - called AE title for userstrAffectedSOPClassUID - String value of Affected SOP Class UID.strMoveDestination - String value of Move Destination.objDataSetCollection - Collection of Data Set containing identifier on which C-Move operation has to be performed.java.io.IOException - Signals IOException of IO operation fails.public void send(java.lang.String strAffectedSOPClassUID,
java.lang.String strMoveDestination,
AssociateRQ objAssociateRQ,
ISingleCollection<IDataSet> objDataSetCollection)
throws java.io.IOException
objAssociateRQ - The association request i.e. to be sent to SCP.strAffectedSOPClassUID - String value of Affected SOP Class UID.strMoveDestination - String value of Move Destination.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 obj service message eventjava.io.IOException - Signals that an I/O exception has occurred.public void sendRequests(ISingleCollection<CMoveRQ> 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.