1
This commit is contained in:
parent
7b7b1d9674
commit
1675abc106
@ -85,14 +85,14 @@ class VirtualClient(object):
|
|||||||
|
|
||||||
def onReceiveUserPacket(self, conn, msgid, msgbody):
|
def onReceiveUserPacket(self, conn, msgid, msgbody):
|
||||||
try:
|
try:
|
||||||
#print(datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S.%f'))
|
print(datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S.%f'), msgid)
|
||||||
msg = getSMMsg(msgid)
|
msg = getSMMsg(msgid)
|
||||||
ret = msg.ParseFromString(msgbody)
|
ret = msg.ParseFromString(msgbody)
|
||||||
#print(len(msgbody))
|
print(len(msgbody))
|
||||||
#print(time.time(), time.strftime('[%H:%M:%S]'), msg.DESCRIPTOR.name + '{')
|
print(time.time(), time.strftime('[%H:%M:%S]'), msg.DESCRIPTOR.name + '{')
|
||||||
#print(str(msg), end='')
|
print(str(msg), end='')
|
||||||
#print('}')
|
print('}')
|
||||||
#print('')
|
print('')
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print('onReceiveUserPacket', e)
|
print('onReceiveUserPacket', e)
|
||||||
|
|
||||||
|
2
third_party/framework
vendored
2
third_party/framework
vendored
@ -1 +1 @@
|
|||||||
Subproject commit a24a743b051656e599f0939a49fed3847ed17206
|
Subproject commit 2cd0d756d8b4314dd261c1b4a10036447b3da358
|
Loading…
x
Reference in New Issue
Block a user