public class TLSSCPSession extends SCPSession
DefaultAssociation
Before the SCPSession is started to listen for accepting connections, it is necessary to configure the SCPSession.
This configuration involves adding the ProcessHandler,DefaultAssociation onto the SCPSession.| Constructor and Description |
|---|
TLSSCPSession() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the TLS SCP Session.
|
void |
start(java.lang.String strAETitle,
java.net.InetAddress ip,
int iunsecurePort,
int isecurePort,
TLSServerConfig objTLSServerConfig)
This method starts the SCP session for both secured and unsecured communication on specified IP and ports.
|
void |
start(java.lang.String strAETitle,
java.net.InetAddress ip,
int isecurePort,
TLSServerConfig objTLSServerConfig)
This method starts the SCP session for secured communication on specified IP and ports.
|
void |
start(java.lang.String strAETitle,
int iunsecurePort,
int isecurePort,
TLSServerConfig objTLSServerConfig)
This method starts the SCP session for both secured and unsecured communication on specified IP and ports.
|
void |
start(java.lang.String strAETitle,
int isecurePort,
TLSServerConfig objTLSServerConfig)
This method starts the SCP session for secured communication on specified IP and ports.
|
void |
start(java.lang.String strAETitle,
java.lang.String strIP,
int iunsecurePort,
int isecurePort,
TLSServerConfig objTLSServerConfig)
This method starts the SCP session for both secured and unsecured communication on specified IP and ports.
|
void |
start(java.lang.String strAETitle,
java.lang.String strIP,
int isecurePort,
TLSServerConfig objTLSServerConfig)
This method starts the SCP session for secured communication on specified IP and ports.
|
void |
stopListening(EnumSCPSessionStopListeningOptions enumSCPSessionStopListeningOptions)
Stops listening on this SCPSession so that new client connection
not accepted and continue to process already connected clients.
|
getClientsConnectionInfo, getDefaultAssociation, getIProcessHandler, getTimeOut, isClientConnected, noOfClientsConnected, selectServices, setDefaultAssociation, setIProcessHandler, setTimeOut, start, start, start, start, stopListeningpublic void start(java.lang.String strAETitle,
java.lang.String strIP,
int iunsecurePort,
int isecurePort,
TLSServerConfig objTLSServerConfig)
throws java.io.IOException,
AssociationLoadFailedException
strAETitle - Application Entity Title representation used to identify the DICOM nodes communicating between each other.strIP - String value of IP.iunsecurePort - int value of port for unsecured communication.isecurePort - int value of port for secured communication.objTLSServerConfig - SCP configuration for secure communication.java.io.IOException - Signals that an I/O exception has occurred.AssociationLoadFailedExceptionpublic void start(java.lang.String strAETitle,
java.lang.String strIP,
int isecurePort,
TLSServerConfig objTLSServerConfig)
throws java.io.IOException,
AssociationLoadFailedException
strAETitle - Application Entity Title representation used to identify the DICOM nodes communicating between each other.strIP - String value of IP.isecurePort - int value of port for secured communication.objTLSServerConfig - SCP configuration for secure communication.java.io.IOException - Signals that an I/O exception has occurred.AssociationLoadFailedExceptionpublic void start(java.lang.String strAETitle,
int iunsecurePort,
int isecurePort,
TLSServerConfig objTLSServerConfig)
throws java.io.IOException
strAETitle - Application Entity Title representation used to identify the DICOM nodes communicating between each other.iunsecurePort - int value of port for unsecured communication.isecurePort - int value of port for secured communication.objTLSServerConfig - SCP configuration for secure communication.java.io.IOException - Signals that an I/O exception has occurred.public void start(java.lang.String strAETitle,
int isecurePort,
TLSServerConfig objTLSServerConfig)
throws java.io.IOException
strAETitle - Application Entity Title representation used to identify the DICOM nodes communicating between each other.isecurePort - int value of port for secured communication.objTLSServerConfig - SCP configuration for secure communication.java.io.IOException - Signals that an I/O exception has occurred.public void start(java.lang.String strAETitle,
java.net.InetAddress ip,
int iunsecurePort,
int isecurePort,
TLSServerConfig objTLSServerConfig)
throws java.io.IOException
strAETitle - Application Entity Title representation used to identify the DICOM nodes communicating between each other.ip - instance of INet Address.iunsecurePort - int value of port for unsecured communication.isecurePort - int value of port for secured communication.objTLSServerConfig - SCP configuration for secure communication.java.io.IOException - Signals that an I/O exception has occurred.public void start(java.lang.String strAETitle,
java.net.InetAddress ip,
int isecurePort,
TLSServerConfig objTLSServerConfig)
throws java.io.IOException
strAETitle - Application Entity Title representation used to identify the DICOM nodes communicating between each other.ip - instance of INet Address.isecurePort - int value of port for secured communication.objTLSServerConfig - SCP configuration for secure communication.java.io.IOException - Signals that an I/O exception has occurred.public void stopListening(EnumSCPSessionStopListeningOptions enumSCPSessionStopListeningOptions)
enumSCPSessionCloseOptions - enum specifying option to stop listening.public void close()
close in class SCPSession