Ignore:
Timestamp:
08/25/21 13:13:36 (5 months ago)
Author:
Sanahuja Guillaume
Message:

refactor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairCore/src/unexported/ui_com.h

    r252 r439  
    3939  ui_com(const flair::core::Object *parent, UDTSOCKET sock);
    4040  ~ui_com();
    41   void Send(char *buf, ssize_t size,int ttl = -1);//ttl in ms, -1 for infinite; not used in RT (todo!)
     41  //Send, public part
     42  void Send(char *buf, ssize_t size,int ttl = -1);//ttl in ms, -1 for infinite
    4243  ssize_t Receive(char *buf, ssize_t buf_size);
    4344  void AddSendData(const flair::gui::SendData *obj);
     
    5960  void Run(void);
    6061  void SendDatas(void);
     62  //private part, called to effectively send to udt
     63  void SendNRT(char *buf, ssize_t size,int ttl);
     64
    6165  static int compressBuffer(char *in, ssize_t in_size, char **out,
    6266                            ssize_t *out_size, int level);
Note: See TracChangeset for help on using the changeset viewer.