You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The functionality of looking up and performing a Net payload action is now provided by static functions through the NetInterface, simplifying net implementations
auto kit = payloads.find((MessageKind)msg.kind());
56
+
if(kit == payloads.end()) fatal_error("No payload associated with the message kind provided. Message: " + msg.buf() + " (did you add the payload to the server?)");
57
+
auto pit = kit->second.find((MessageType)msg.type());
58
+
if(pit == kit->second.end()) fatal_error("No payload associated with the message type provided. Mesage: " + msg.buf() + " (did you add the payload to the server?)");
auto kit = payloads.find((MessageKind)msg.kind());
160
-
if(kit == payloads.end()) fatal_error("ZMQNet::doWork : No payload associated with the message kind provided. Message: " + strmsg + " (did you add the payload to the server?)");
161
-
auto pit = kit->second.find((MessageType)msg.type());
162
-
if(pit == kit->second.end()) fatal_error("ZMQNet::doWork : No payload associated with the message type provided. Mesage: " + strmsg + " (did you add the payload to the server?)");
auto kit = payloads_t.find((MessageKind)msg.kind());
141
-
if(kit == payloads_t.end()) throwstd::runtime_error("ZMQMENet::doWork : No payload associated with the message kind provided (did you add the payload to the server?)");
142
-
auto pit = kit->second.find((MessageType)msg.type());
143
-
if(pit == kit->second.end()) throwstd::runtime_error("ZMQMENet::doWork : No payload associated with the message type provided (did you add the payload to the server?)");
0 commit comments