The Micro C++ Library
|
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.
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. |
The Connection class defines a close(ClosingMode) method.
virtual micxx::traits::Connection::~Connection | ( | ) | [inline, virtual] |
The Connection destructor.
{}
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.
closingMode | If 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.