Inheritance diagram for DcmTransportLayer:

Public Member Functions | |
| DcmTransportLayer (int) | |
| constructor. | |
| virtual | ~DcmTransportLayer () |
| destructor | |
| virtual DcmTransportConnection * | createConnection (int openSocket, OFBool useSecureLayer) |
| factory method that returns a new transport connection for the given socket. | |
Private Member Functions | |
| DcmTransportLayer (const DcmTransportLayer &) | |
| private undefined copy constructor | |
| DcmTransportLayer & | operator= (const DcmTransportLayer &) |
| private undefined assignment operator | |
Base class only supports transparent TCP connections, subclasses may also support secure transport layer connections.
Definition at line 74 of file dcmlayer.h.
| DcmTransportLayer::DcmTransportLayer | ( | int | ) | [inline] |
constructor.
param networkRole network role to be used by the application, influences the choice of the secure transport layer code.
Definition at line 82 of file dcmlayer.h.
| virtual DcmTransportConnection* DcmTransportLayer::createConnection | ( | int | openSocket, | |
| OFBool | useSecureLayer | |||
| ) | [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.