public class IAN_SCU extends SCU
| Constructor and Description |
|---|
IAN_SCU(java.net.InetSocketAddress addr)
The InetAddress and port to which user connects.
|
IAN_SCU(SCUSession objSCUSession)
Instantiates a new IAN_SCU on the SCU session provided by user.
|
IAN_SCU(java.lang.String strIP,
int port)
The IP and port to which user connects.
|
| Modifier and Type | Method and Description |
|---|---|
void |
send(AssociateRQ objAssociateRQ,
java.lang.String strSOPInstanceUID,
IDataSet objIDataSet)
Sends the available data sets to the SCP.
|
void |
send(java.lang.String strcallingAETitle,
java.lang.String strCalledAETitle,
java.lang.String strSOPInstanceUID,
IDataSet objIDataSet)
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 IAN.
|
getDIMSEAssociation, getDIMSEResponse, receiveMessage, setAssociationStatus, setDIMSEAssociation, setDIMSEResponsepublic IAN_SCU(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 IAN_SCU(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 IAN_SCU(SCUSession objSCUSession)
objSCUSession - the object of SCU session on which IAN_SCU is to be initiated.public void send(java.lang.String strcallingAETitle,
java.lang.String strCalledAETitle,
java.lang.String strSOPInstanceUID,
IDataSet objIDataSet)
throws java.io.IOException
strcallingAETitle - value of Calling AE TitlestrCalledAETitle - value of Called AE TitleobjAssociateRQ - The association request i.e. to be sent to SCP.strSOPInstanceUID - SOP Instance UID.objIDataSet - Object of IDataSetjava.io.IOException - Signals IOException if IO operation fails.public void send(AssociateRQ objAssociateRQ, java.lang.String strSOPInstanceUID, IDataSet objIDataSet) throws java.io.IOException
objAssociateRQ - The association request i.e. to be sent to SCP.strSOPInstanceUID - SOP Instance UID.objIDataSet - Object of IDataSetjava.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 for IAN.java.io.IOException - Signals that an I/O exception has occurred.