Changeset 234 in flair-src for trunk/lib/FlairCore/src/unexported
- Timestamp:
- Apr 10, 2018, 5:05:27 PM (7 years ago)
- Location:
- trunk/lib/FlairCore/src/unexported
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairCore/src/unexported/FrameworkManager_impl.h
r213 r234 82 82 private: 83 83 flair::core::FrameworkManager *self; 84 UDTSOCKET file_sock,com_sock;85 UDTSOCKET GetSocket( std::string address, uint16_t port);84 UDTSOCKET com_sock; 85 UDTSOCKET GetSocket(void); 86 86 void Run(); 87 void SendFile( std::string path, std::string name);88 void FinishSending( void);87 void SendFile(UDTSOCKET socket,std::string path, std::string name); 88 void FinishSending(UDTSOCKET socket); 89 89 std::string FileName(flair::core::IODevice *device); 90 90 void SaveXmlChange(char *buf); … … 92 92 size_t rcv_buf_size; 93 93 char *rcv_buf; 94 std::string address; 95 uint16_t port; 94 96 #ifdef __XENO__ 95 97 int CreatePipe(RT_PIPE *fd, std::string name); -
trunk/lib/FlairCore/src/unexported/communication.h
r15 r234 6 6 #define COMMUNICATION_H 7 7 8 // messages file socket 9 #define FILE_INFO_LITTLE_ENDIAN 0x01 10 #define FILE_INFO_BIG_ENDIAN 0x02 11 #define END 0x03 12 8 // messages data socket 13 9 #define XML_HEADER 0x3c 14 10 #define ZLIB_HEADER 0x78 15 11 #define WATCHDOG_HEADER 0x01 12 #define DATAS_LITTLE_ENDIAN 0x02 13 #define DATAS_BIG_ENDIAN 0x03 16 14 17 #define DATAS_LITTLE_ENDIAN 0xfd 18 #define DATAS_BIG_ENDIAN 0xfe 15 #define START_SENDING_FILES 0x10 16 #define FILE_INFO_LITTLE_ENDIAN 0x11 17 #define FILE_INFO_BIG_ENDIAN 0x12 18 #define END_SENDING_FILES 0x13 19 19 20 20 #endif // COMMUNICATION_H -
trunk/lib/FlairCore/src/unexported/ui_com.h
r15 r234 48 48 void UnBlock(void); 49 49 bool ConnectionLost(void); 50 50 void CheckConnection(void); 51 51 private: 52 52 ssize_t send_size;
Note:
See TracChangeset
for help on using the changeset viewer.