Inheritance diagram for DcmTCPConnection:
Public Member Functions | |
DcmTCPConnection (int openSocket) | |
constructor. | |
virtual | ~DcmTCPConnection () |
destructor | |
virtual DcmTransportLayerStatus | serverSideHandshake () |
performs server side handshake on established socket. | |
virtual DcmTransportLayerStatus | clientSideHandshake () |
performs client side handshake on established socket. | |
virtual DcmTransportLayerStatus | renegotiate (const char *newSuite) |
performs a re-negotiation of the connection with different connection parameters. | |
virtual ssize_t | read (void *buf, size_t nbyte) |
attempts to read nbyte bytes from the transport connection and writes them into the given buffer. | |
virtual ssize_t | write (void *buf, size_t nbyte) |
attempts to write nbyte bytes from the given buffer to the transport connection. | |
virtual void | close () |
Closes the transport connection. | |
virtual unsigned long | getPeerCertificateLength () |
returns the size in bytes of the peer certificate of a secure connection. | |
virtual unsigned long | getPeerCertificate (void *buf, unsigned long bufLen) |
virtual OFBool | networkDataAvailable (int timeout) |
checks if data is available to be read on the transport connection. | |
virtual OFBool | isTransparentConnection () |
returns OFTrue if this connection is a transparent TCP connection, OFFalse if the connection is a secure connection. | |
virtual void | dumpConnectionParameters (ostream &out) |
prints the characteristics of the current connection on the given output stream. | |
virtual const char * | errorString (DcmTransportLayerStatus code) |
returns an error string for a given error code. | |
Private Member Functions | |
DcmTCPConnection (const DcmTCPConnection &) | |
private undefined copy constructor | |
DcmTCPConnection & | operator= (const DcmTCPConnection &) |
private undefined assignment operator |
Definition at line 222 of file dcmtrans.h.
|
constructor.
|
|
performs client side handshake on established socket. This function is used to establish a secure transport connection over the established TCP connection.
Implements DcmTransportConnection. |
|
Closes the transport connection. If a secure connection is used, a closure alert is sent before the connection is closed. Implements DcmTransportConnection. |
|
prints the characteristics of the current connection on the given output stream.
Implements DcmTransportConnection. |
|
returns an error string for a given error code.
Implements DcmTransportConnection. |
|
returns the size in bytes of the peer certificate of a secure connection. May return 0 if connection is transparent TCP/IP.
Implements DcmTransportConnection. |
|
checks if data is available to be read on the transport connection.
Implements DcmTransportConnection. |
|
attempts to read nbyte bytes from the transport connection and writes them into the given buffer.
Implements DcmTransportConnection. |
|
performs a re-negotiation of the connection with different connection parameters. Used to change the parameters of the secure transport connection.
Implements DcmTransportConnection. |
|
performs server side handshake on established socket. This function is used to establish a secure transport connection over the established TCP connection.
Implements DcmTransportConnection. |
|
attempts to write nbyte bytes from the given buffer to the transport connection.
Implements DcmTransportConnection. |