1 <generator header_tag="BACKUP_SERVICE_ITF">
3 <include file="nel/misc/entity_id.h"/>
4 <cpp-include file="stdpch.h"/>
8 <!-- ############################################################## -->
9 <module_interface name="CBackupService">
10 <doc line="Interface implemented by BS to receive file save and file requests"/>
12 <!-- ========================================================== -->
13 <method name="saveFile" msg="BSSF">
14 <doc line="A module ask to save a file in the backup repository"/>
16 <param type="std::string" name="fileName" byref="true"/>
17 <param type="NLNET::TBinBuffer" name="data" byref="true"/>
20 <!-- ========================================================== -->
21 <method name="loadFile" msg="BSLF">
22 <doc line="A module ask to load a file"/>
24 <param type="std::string" name="fileName" byref="true"/>
25 <param type="uint32" name="requestId"/>
30 <!-- ############################################################## -->
31 <module_interface name="CBackupServiceClient">
32 <doc line="Interface for client of backup service module"/>
34 <!-- ========================================================== -->
35 <method name="loadFileResult" msg="BSLFR">
36 <doc line="The BS return for a load file request"/>
38 <param type="uint32" name="requestId"/>
39 <param type="std::string" name="fileName" byref="true"/>
40 <param type="uint32" name="fileTimeStamp"/>
41 <param type="NLNET::TBinBuffer" name="data" byref="true"/>
44 <!-- ========================================================== -->
45 <method name="fileUpdate" msg="BSFU">
46 <doc line="A file listened by the client have been changed, BS resend the file content"/>
48 <param type="std::string" name="fileName" byref="true"/>
49 <param type="std::vector < std::string >" name="content" byref="true" serial="Cont"/>