fragment.h

来自「ACE编程的一本经典BIBLE的源代码,喜欢网络编程的别错过」· C头文件 代码 · 共 33 行

H
33
字号
// file      : ace/RMCast/Fragment.h
// author    : Boris Kolpackov <boris@kolpackov.net>
// cvs-id    : Fragment.h,v 1.2 2005/07/11 18:50:23 boris Exp

#ifndef ACE_RMCAST_FRAGMENT_H
#define ACE_RMCAST_FRAGMENT_H

#include "Stack.h"
#include "Protocol.h"
#include "Bits.h"
#include "Parameters.h"

namespace ACE_RMCast
{
  class Fragment : public Element
  {
  public:
    Fragment (Parameters const& params);

  public:
    virtual void
    send (Message_ptr m);

    Parameters const& params_;

  private:
    Mutex mutex_;
    u64 sn_;
  };
}

#endif  // ACE_RMCAST_FRAGMENT_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?