public class NEventReportSCP extends SCP
objClientSession| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes all the currently executing sessions gracefully.
|
static NEventReportSCP |
createInstance()
Instantiates a new NEventReport SCP.
|
static NEventReportSCP |
createInstance(ClientSession objClientSession)
This method returns new object of NEventReport SCP.
|
IPairedCollection<EnumDataSink,IDataSink> |
getDataSinkList()
Retrieves the DataSink List
|
IPairedCollection<EnumDataSource,IDataSource> |
getDataSourceList()
Retrieves the Data Source List.
|
void |
onAssociateReceive(ClientSession objClientSession)
This method notifies when Association Request, Associate Release Request or Abort is received from one of the
SCUs.
|
void |
onClose(ClientSession objClientSession)
Closes client Session.
|
void |
onConnect(ClientSession objClientSession)
This method notifies when a new client connection is requested.
|
void |
onServiceRequest(ClientSession objClientSession)
This method notifies when a service related request is received.
|
DIMSEResponse |
processRequest(DicomMessage objDicomMessage)
This will give the response of NEventReport Request.
|
void |
setDataSinkList(IPairedCollection<EnumDataSink,IDataSink> objSinkCollection)
Sets the Data Sink List.
|
void |
setDataSourceList(IPairedCollection<EnumDataSource,IDataSource> objSourceList)
Sets the Data Source List.
|
void |
start(java.lang.String strAETitle,
int port)
This method will Start the Server on the local host at the port specified.
|
void |
start(java.lang.String strAETitle,
java.lang.String strIP,
int port) |
void |
stopListening()
Stops accepting new connection's from SCU's and continue to process
already connected clients.
|
onExceptionpublic static NEventReportSCP createInstance(ClientSession objClientSession)
objClientSession - object of Client session.public static NEventReportSCP createInstance()
public void start(java.lang.String strAETitle,
java.lang.String strIP,
int port)
throws java.io.IOException
strIP - IP at which Server has to be started.strAETitle - value of AE Title for service provider.port - at which Server has to be started.java.io.IOException - throws IOException if IO operation fails.public void start(java.lang.String strAETitle,
int port)
throws java.io.IOException
strAETitle - value of AE Title for service provider.port - port at which Server has to be started at local host.java.io.IOException - throws IOException if IO operation fails.public IPairedCollection<EnumDataSink,IDataSink> getDataSinkList()
public void setDataSinkList(IPairedCollection<EnumDataSink,IDataSink> objSinkCollection)
objSinkCollection - collection of Data Sink.public IPairedCollection<EnumDataSource,IDataSource> getDataSourceList()
public void setDataSourceList(IPairedCollection<EnumDataSource,IDataSource> objSourceList)
objSourceList - collection of Data Source.public DIMSEResponse processRequest(DicomMessage objDicomMessage)
processRequest in class SCPobjDicomMessage - object of DIMSE request.java.io.IOException - if IO operation fails.public void onAssociateReceive(ClientSession objClientSession)
objClientSession - instance of Client Session.public void onClose(ClientSession objClientSession)
objClientSession - Object of Client Session.public void onConnect(ClientSession objClientSession)
objClientSession - object of client session.public void onServiceRequest(ClientSession objClientSession)
objClientSession - object of Client Session.Object of Client Session.public void stopListening()
public void close()