【quic】工厂类 实例

QuartcFactory

  • factory的接口interface 都定义好了
  • 必然需要一个实例 对facotry接口 做实现, 这就是QuartcFactory 了
  • /Users/zhangbin/myProjects/newSVN/PRIVATE-QUICPUSHER/quicpusher//libquic/net/quic/quartc/quartc_factory.h

QuartcFactory

  • 实例化 QuartcFactoryInterface
  • 实现 QuicAlarmFactory
  • 实现 QuicConnectionHelperInterface
// Implements the QuartcFactoryInterface to create the instances of
// QuartcSessionInterface. Implements the QuicAlarmFactory to create alarms
// using the QuartcTaskRunner. Implements the QuicConnectionHelperInterface used
// by the QuicConnections. Only one QuartcFactory is expected to be created.
class  QuartcFact

你可能感兴趣的:(网络服务入门与实战)