56 lines
1.4 KiB
C++
56 lines
1.4 KiB
C++
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// GENERATED CODE - do not edit (Generated by ddkit/genModelMsg)
|
|
//
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// FileTransfer.hpp (rmodel-msg)
|
|
|
|
|
|
#pragma once
|
|
|
|
#include <tmsif/type/FileTransfer.hpp>
|
|
#include <tmsif/tmsif_export.hpp>
|
|
#include <string>
|
|
#include <vector>
|
|
#include <map>
|
|
|
|
|
|
namespace M_FileTransfer {
|
|
|
|
|
|
//
|
|
// Service
|
|
//
|
|
|
|
/// Service interface.
|
|
/// Contains operations that a client can command the FileTransfer Service to perform.
|
|
class TMSIF_EXPORT IService {
|
|
|
|
public:
|
|
virtual ~IService();
|
|
virtual void CmdStartFileTransfer(std::string const& KeyId, M_FileTransfer::FileTransferInfoType const& FileTransferInfo);
|
|
virtual void CmdCancelFileTransfer(std::string const& KeyId);
|
|
virtual void CmdPauseFileTransfer(std::string const& KeyId);
|
|
virtual void CmdResumeFileTransfer(std::string const& KeyId);
|
|
};
|
|
|
|
|
|
//
|
|
// Client
|
|
//
|
|
|
|
/// Client interface.
|
|
/// Contains callback operations from the FileTransfer Service to the Client.
|
|
class TMSIF_EXPORT IClient {
|
|
|
|
public:
|
|
virtual ~IClient();
|
|
virtual void ReportFileTransferStatus(std::string const& KeyId, M_FileTransfer::FileTransferStatusType const& Status, M_FileTransfer::FileTransferInfoOptionalType const& FileTransferInfo, bool IsRemoved);
|
|
};
|
|
|
|
|
|
} // namespace M_FileTransfer
|
|
|
|
|