一.概述
TCPServerConnectionFactory顾名思义是TCPServerConnection对象的工厂类,每当有新连接进来的时候,TCPServer类就使用工厂模式创建一个TCPServerConnection连接对象.TCPServerConnectionFactory的子类必须重写其createConnection()方法,该方法会创建TCPServerConnection连接对象.
二.类型
Typedef Poco::SharedPtr<TCPServerConnectionFactory> Ptr;
三.构造函数与析构函数
TCPServerConnectionFacotry();
virtual ~TCPServerConnectionFactory();
四.成员方法