Backup.
This commit is contained in:
@@ -7,6 +7,16 @@
|
||||
namespace ehs
|
||||
{
|
||||
const UInt_64 NetChannel::internalSys = Str_8::Hash_64("Internal");
|
||||
const UInt_64 NetChannel::connectOp = Str_8::Hash_64("Connect");
|
||||
const UInt_64 NetChannel::connectedOp = Str_8::Hash_64("Connected");
|
||||
const UInt_64 NetChannel::rejectedOp = Str_8::Hash_64("Rejected");
|
||||
const UInt_64 NetChannel::disconnectOp = Str_8::Hash_64("Disconnect");
|
||||
const UInt_64 NetChannel::disconnectedOp = Str_8::Hash_64("Disconnected");
|
||||
const UInt_64 NetChannel::statusUpdateOp = Str_8::Hash_64("StatusUpdate");
|
||||
const UInt_64 NetChannel::pingOp = Str_8::Hash_64("Ping");
|
||||
const UInt_64 NetChannel::pongOp = Str_8::Hash_64("Pong");
|
||||
const UInt_64 NetChannel::latencyOp = Str_8::Hash_64("Latency");
|
||||
const UInt_64 NetChannel::receivedOp = Str_8::Hash_64("Received");
|
||||
|
||||
NetChannel::~NetChannel()
|
||||
{
|
||||
|
||||
@@ -59,7 +59,7 @@ namespace ehs
|
||||
return hashId;
|
||||
}
|
||||
|
||||
void NetOp::Process(NetChannel *channel, NetEnd *endpoint, NetSys *sys, Serializer<UInt_64> &payload)
|
||||
void NetOp::Execute(NetChannel *channel, NetEnd *endpoint, NetSys *sys, Serializer<UInt_64> &payload)
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,7 @@
|
||||
#include "ehs/io/socket/EHC.h"
|
||||
#include "ehs/io/socket/ehc/NetEnd.h"
|
||||
#include "ehs/io/socket/ehc/NetOp.h"
|
||||
#include "ehs/io/socket/ehc/NetChannel.h"
|
||||
|
||||
namespace ehs
|
||||
{
|
||||
@@ -95,7 +96,7 @@ namespace ehs
|
||||
{
|
||||
if (ops[i]->GetHashId() == hashId)
|
||||
{
|
||||
ops[i]->Process(channel, endpoint, this, payload);
|
||||
ops[i]->Execute(channel, endpoint, this, payload);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user