...
This commit is contained in:
@@ -112,7 +112,6 @@ public:
|
||||
|
||||
typedef std::vector<char> message_t;
|
||||
|
||||
// Session(const netsession_ident_t& id, netservice_t srv, AdcDeviceNetServer* srv_ptr)
|
||||
Session(const netsession_ident_t& id, netservice_t srv, netsession_ctx_t ctx)
|
||||
: _ident(id),
|
||||
_netService(std::move(srv)),
|
||||
@@ -189,7 +188,7 @@ public:
|
||||
} else {
|
||||
try {
|
||||
ServerResponseType type;
|
||||
auto attrs = checkserverCall<default_server_resp_t>(key, rmsg, type);
|
||||
auto attrs = checkServerCall<default_server_resp_t>(key, rmsg, type);
|
||||
|
||||
std::forward<CallbackT>(std::get<0>(wrapper))(type, attrs);
|
||||
|
||||
@@ -372,7 +371,7 @@ public:
|
||||
// helper methods
|
||||
|
||||
template <traits::adc_range_of_output_char_range R>
|
||||
R checkserverCall(std::string_view key, const auto& bytes, ServerResponseType& type) const
|
||||
R checkServerCall(std::string_view key, const auto& bytes, ServerResponseType& type) const
|
||||
{
|
||||
AdcDeviceProtoMessage dev_msg(bytes);
|
||||
|
||||
@@ -396,7 +395,7 @@ public:
|
||||
{
|
||||
auto rbytes = sendRecv(bytes);
|
||||
|
||||
return checkserverCall<R>(key, rbytes, type);
|
||||
return checkServerCall<R>(key, rbytes, type);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user