support multi protocol

This commit is contained in:
云风
2012-08-31 21:18:19 +08:00
parent 1ee802c5c5
commit 0a886cd57c
47 changed files with 542 additions and 520 deletions

View File

@@ -1,7 +1,5 @@
local skynet = require "skynet"
skynet.remote_service()
local obj = { id = 0 }
function obj.hello()
@@ -21,4 +19,5 @@ skynet.start(function()
local qobj = root.query "test"
print(qobj.hello())
print(qobj:inc())
skynet.exit()
end)