Commit e122fb66 authored by Ricardo Calheiros de Miranda Cosme's avatar Ricardo Calheiros de Miranda Cosme
Browse files

* Faltou adptar o uso do componente oil *csockets* a versão 0.4 do OiL. (OPENBUS-71)

Com a atualização do OiL, o receiveC() utilizado pelo FTC era a implementação da extensão do LuaSocket, 
e não a implementação do OiL que está inserida no contexto do escalonador.



git-svn-id: https://subversion.tecgraf.puc-rio.br/engdist/openbus/trunk@85004 ae0415b3-e90b-0410-900d-d0be9363c56b
parent b89e9ac8
......@@ -5,7 +5,10 @@
local core = require "ftc.core"
local oil = require 'oil'
oil.orb = oil.init {flavor = "intercepted;corba;csockets;typed;cooperative;base"}
oil.BasicSystem = require("oil.builder.csockets").BasicSystem()
oil.tasks = oil.BasicSystem.tasks
oil.orb = oil.init{flavor="intercepted;corba;typed;cooperative;base"}
local orb = oil.orb
local coroutine = require "coroutine"
......@@ -20,7 +23,7 @@ if not oil.isrunning then
oil.tasks:register(coroutine.create(function() return orb:run() end))
end
local sockets = oil.kernel.base.Sockets
local sockets = orb.BasicSystem.sockets
function __init(self, identifier, writable, size, host, port, accessKey)
return core(sockets, identifier, writable, size, host, port, accessKey)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment