The Micro C++ Library
micxx::traits::Connection Class Reference

The Connection class defines a close(ClosingMode) method. More...

#include <micxx/traits/Connection.hxx>

Inherited by micxx::Socket, micxx::traits::Receiver, and micxx::traits::Sender.

List of all members.

Public Member Functions

virtual ~Connection ()
 The Connection destructor.
virtual void close (ClosingMode closingMode)=0
 Close this connection and release underlying system resources In supporting bidirectional connections how may specify which directions shall be closed.

Detailed Description

The Connection class defines a close(ClosingMode) method.

Author:
Norbert Klose
Date:
June, 2009

Constructor & Destructor Documentation

virtual micxx::traits::Connection::~Connection ( ) [inline, virtual]

The Connection destructor.

{}

Member Function Documentation

virtual void micxx::traits::Connection::close ( ClosingMode  closingMode) [pure virtual]

Close this connection and release underlying system resources In supporting bidirectional connections how may specify which directions shall be closed.

Parameters:
closingModeIf UniDirectional, then only the sending side to the remote connection is closed. If BiDirectional, then close waits until the remote side has closed its sending side as well.

Implemented in micxx::Socket, micxx::SSLClientSocket, micxx::SSLProtocol, micxx::StreamSocket, and micxx::traits::BiDiConnection.


The documentation for this class was generated from the following file: