client message filter

This commit is contained in:
云风
2012-08-10 10:46:50 +08:00
parent c958a99b35
commit f57e98205d
5 changed files with 38 additions and 14 deletions

View File

@@ -11,6 +11,7 @@ function command:open(parm)
fd = tonumber(fd)
print("agent open",self,string.format("%d %d %s",self,fd,addr))
local client = skynet.launch("client",fd)
print("client",client)
local agent = skynet.launch("snlua","agent",client)
print("watchdog launch agent client:",agent,client)
if agent then