public abstract class ProcessHandler extends java.lang.Object implements IProcessHandler
| Constructor and Description |
|---|
ProcessHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDataSink(EnumDataSink enumDataSink,
IDataSink objIDataSink)
Add DataSink to Paired Collection
|
void |
addDataSource(EnumDataSource enumDataSource,
IDataSource objIDataSource)
Add DataSource to Paired Collection
|
void |
addNEventReportSCPInformation(java.lang.String strAETile,
java.lang.String strIP,
int port)
Add N-Event Report SCP IP and Port information for recieving N-Event Report Request.
|
void |
addSupportedAETitles(java.lang.String strAETitle,
java.lang.String strIP,
int iPort)
This function will add the AE Title info for third party.
|
void |
addSupportedAETitles(java.lang.String strAETitle,
java.lang.String strIP,
int iPort,
java.lang.Object objTlsClientConfig)
This function will add the AE Title info for third party.
|
IDataSink |
getDataSink(EnumDataSink enumDataSink)
Returns the object of IDataSink from Paired Collection
|
IPairedCollection<EnumDataSink,IDataSink> |
getDataSinkList()
Retrieves DataSinkList
|
IDataSource |
getDataSource(EnumDataSource enumDataSource)
Returns the object of IDataSource from Paired Collection
|
IPairedCollection<EnumDataSource,IDataSource> |
getDataSourceList()
Retrieves DataSourceList
|
ISingleCollection<EnumCommandField> |
getEnumCommandField()
Gets the enum command field.
|
java.lang.String |
getStorageCommitmentPath()
Get the path where the files for whcih Storage Commitment is provided is stored.
|
java.lang.String |
getStoragePath()
This function gets the Storage Path for C-Store Operation
|
IPairedCollection<java.lang.String,java.lang.String> |
getSupportedAETitles()
Gets the supported ae titles.
|
IPairedCollection<java.lang.String,java.lang.Object> |
getSupportedAETitlesWithTLSClientConfig()
Gets the supported AE titles having TLS Client Configuration with it.
|
void |
onAssociateReceive(ClientSession objClientSession)
Process association.
|
void |
onClose(ClientSession objClientSession)
Closes the Client Session,
|
void |
onConnect(ClientSession objClientSession)
Accept connection.
|
void |
onException(ClientSession objClientSession,
DicomException ex,
EnumErrorCode ErrorCode)
Gets automatically invoked when exception occur while processing data received
|
void |
onServiceRequest(ClientSession objClientSession)
Process service request.
|
void |
setDataSinkList(IPairedCollection<EnumDataSink,IDataSink> objDataSinkList)
Sets DataSinkList.
|
void |
setDataSourceList(IPairedCollection<EnumDataSource,IDataSource> objDataSourceList)
Sets DataSourceList.
|
void |
setEnumCommandField(ISingleCollection<EnumCommandField> objEnumCommandField)
Sets the enum command field.
|
void |
setStorageCommitmentPath(java.lang.String strStorageCommitmentPath)
Sets the path where the files for which storage commitment is provided is stored.
|
void |
setStoragePath(java.lang.String strStoragePath)
This function sets the Storage Path for C-Store Operation
|
public void addDataSink(EnumDataSink enumDataSink, IDataSink objIDataSink)
enumDataSink - objIDataSink - public void addDataSource(EnumDataSource enumDataSource, IDataSource objIDataSource)
enumDataSource - objIDataSink - public IDataSource getDataSource(EnumDataSource enumDataSource)
enumDataSource - EnumDataSourcepublic IDataSink getDataSink(EnumDataSink enumDataSink)
enumDataSink - EnumDataSinkpublic void setDataSourceList(IPairedCollection<EnumDataSource,IDataSource> objDataSourceList)
objDataSourceList - collection of DataSourcepublic IPairedCollection<EnumDataSource,IDataSource> getDataSourceList()
public void setDataSinkList(IPairedCollection<EnumDataSink,IDataSink> objDataSinkList)
objDataSinkList - collection of DataSinkpublic IPairedCollection<EnumDataSink,IDataSink> getDataSinkList()
public ISingleCollection<EnumCommandField> getEnumCommandField()
public void setEnumCommandField(ISingleCollection<EnumCommandField> objEnumCommandField)
objEnumCommandField - the new enum command fieldpublic IPairedCollection<java.lang.String,java.lang.String> getSupportedAETitles()
public IPairedCollection<java.lang.String,java.lang.Object> getSupportedAETitlesWithTLSClientConfig()
public void onConnect(ClientSession objClientSession)
onConnect in interface IProcessHandlerobjClientSession - object of Client Session.public void onAssociateReceive(ClientSession objClientSession)
onAssociateReceive in interface IProcessHandlerobjClientSession - object of Client Session.java.io.IOException - Signals that an I/O exception has occurred.public void onException(ClientSession objClientSession, DicomException ex, EnumErrorCode ErrorCode)
onException in interface IProcessHandlerobjClientSession - - object of Client Session.ex - - the exception objectErrorCode - - the reason of the DicomExceptionpublic void onServiceRequest(ClientSession objClientSession) throws java.io.IOException
onServiceRequest in interface IProcessHandlerobjClientSession - object of Client Session.java.io.IOException - Signals that an I/O exception has occurred.public void addSupportedAETitles(java.lang.String strAETitle,
java.lang.String strIP,
int iPort)
strAETitle - Name of AE Title.strIP - IP where Server is running.iPort - Port on which server is running.public void addSupportedAETitles(java.lang.String strAETitle,
java.lang.String strIP,
int iPort,
java.lang.Object objTlsClientConfig)
strAETitle - Name of AE Title.strIP - IP where Server is running.iPort - Port on which server is running.objTlsServerConfig - Object of TLSServerConfigpublic void setStoragePath(java.lang.String strStoragePath)
strStoragePath - String value of Storage Path.public void onClose(ClientSession objClientSession)
onClose in interface IProcessHandlerobjClientSession - object of Client Session.public void setStorageCommitmentPath(java.lang.String strStorageCommitmentPath)
strStorageCommitmentPath - path where the files for which storage commitment is provided is stored.public java.lang.String getStorageCommitmentPath()
public void addNEventReportSCPInformation(java.lang.String strAETile,
java.lang.String strIP,
int port)
strAETile - AE Title name.strIP - String value of IP.port - Port on whcih AETitle Server is started.public java.lang.String getStoragePath()