mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
19 lines
286 B
C++
19 lines
286 B
C++
/*
|
|
* Abstract connector. The file (or socket) descriptor has to be
|
|
* prepared.
|
|
*/
|
|
|
|
#ifdef __GNUC__
|
|
#pragma interface /* gcc class implementation */
|
|
#endif
|
|
|
|
VIO_NS_BEGIN
|
|
|
|
class VioConnectorFd
|
|
{
|
|
public:
|
|
virtual ~VioConnectorFd();
|
|
virtual Vio* connect(int fd) = 0;
|
|
};
|
|
|
|
VIO_NS_END
|