mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 19:11:46 +01:00
20 lines
286 B
C
20 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
|