|
DCMTK
Version 3.6.2
OFFIS DICOM Toolkit
|
factory class which creates transport layer connections. More...
Inheritance diagram for DcmTransportLayer:Public Member Functions | |
| DcmTransportLayer (int) | |
| constructor. More... | |
| virtual | ~DcmTransportLayer () |
| destructor | |
| virtual DcmTransportConnection * | createConnection (DcmNativeSocketType openSocket, OFBool useSecureLayer) |
| factory method that returns a new transport connection for the given socket. More... | |
Private Member Functions | |
| DcmTransportLayer (const DcmTransportLayer &) | |
| private undefined copy constructor | |
| DcmTransportLayer & | operator= (const DcmTransportLayer &) |
| private undefined assignment operator | |
factory class which creates transport layer connections.
Base class only supports transparent TCP connections, subclasses may also support secure transport layer connections.
|
inline |
constructor.
#param networkRole network role to be used by the application, influences the choice of the secure transport layer code.
|
virtual |
factory method that returns a new transport connection for the given socket.
Depending on the second parameter, either a transparent or a secure connection is established. If the object cannot be created (e. g. because no secure layer is available), returns NULL.
| openSocket | TCP/IP socket to be used for the transport connection. the connection must already be establised on socket level. If a non-null pointer is returned, the new connection object takes over control of the socket. |
| useSecureLayer | if true, a secure layer is used. If false, a transparent layer is used. |
Reimplemented in DcmTLSTransportLayer.