[DEBUG] build back gateway
This commit is contained in:
parent
8fb622717b
commit
fa702798cb
@ -67,7 +67,7 @@ void appl::ClientInterface::answerProtocolError(uint32_t _transactionId, const s
|
||||
}
|
||||
|
||||
|
||||
void appl::ClientInterface::onClientData(const ememory::SharedPtr<zeus::Buffer>& _value) {
|
||||
void appl::ClientInterface::onClientData(ememory::SharedPtr<zeus::Buffer> _value) {
|
||||
if (_value == nullptr) {
|
||||
return;
|
||||
}
|
||||
@ -346,6 +346,6 @@ void appl::ClientInterface::onClientData(const ememory::SharedPtr<zeus::Buffer>&
|
||||
}
|
||||
}
|
||||
|
||||
void appl::ClientInterface::returnMessage(const ememory::SharedPtr<zeus::Buffer>& _data) {
|
||||
void appl::ClientInterface::returnMessage(ememory::SharedPtr<zeus::Buffer> _data) {
|
||||
ZEUS_ERROR("Get call from the Service to the user ...");
|
||||
}
|
@ -38,8 +38,8 @@ namespace appl {
|
||||
virtual ~ClientInterface();
|
||||
void start(uint64_t _uid, uint64_t _uid2);
|
||||
void stop();
|
||||
void onClientData(const ememory::SharedPtr<zeus::Buffer>& _value);
|
||||
void returnMessage(const ememory::SharedPtr<zeus::Buffer>& _data);
|
||||
void onClientData(ememory::SharedPtr<zeus::Buffer> _value);
|
||||
void returnMessage(ememory::SharedPtr<zeus::Buffer> _data);
|
||||
bool checkId(uint64_t _id) const {
|
||||
return m_uid == _id
|
||||
|| m_uid2 == _id;
|
||||
|
@ -44,12 +44,12 @@ void appl::ServiceInterface::stop() {
|
||||
}
|
||||
|
||||
|
||||
void appl::ServiceInterface::SendData(uint64_t _userSessionId, const ememory::SharedPtr<zeus::Buffer>& _data) {
|
||||
void appl::ServiceInterface::SendData(uint64_t _userSessionId, ememory::SharedPtr<zeus::Buffer> _data) {
|
||||
_data->setClientId(_userSessionId);
|
||||
m_interfaceClient.writeBinary(_data);
|
||||
}
|
||||
|
||||
void appl::ServiceInterface::onServiceData(const ememory::SharedPtr<zeus::Buffer>& _value) {
|
||||
void appl::ServiceInterface::onServiceData(ememory::SharedPtr<zeus::Buffer> _value) {
|
||||
if (_value == nullptr) {
|
||||
return;
|
||||
}
|
||||
|
@ -22,9 +22,9 @@ namespace appl {
|
||||
virtual ~ServiceInterface();
|
||||
void start();
|
||||
void stop();
|
||||
void onServiceData(const ememory::SharedPtr<zeus::Buffer>& _value);
|
||||
void onServiceData(ememory::SharedPtr<zeus::Buffer> _value);
|
||||
public:
|
||||
void SendData(uint64_t _userSessionId, const ememory::SharedPtr<zeus::Buffer>& _data);
|
||||
void SendData(uint64_t _userSessionId, ememory::SharedPtr<zeus::Buffer> _data);
|
||||
const std::string& getName() {
|
||||
return m_name;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user