lib/plezi/base/services.rb in plezi-0.7.2 vs lib/plezi/base/services.rb in plezi-0.7.3
- old
+ new
@@ -42,10 +42,10 @@
parameters[:port] ||= port
parameters[:service_type] ||= ( parameters[:ssl] ? SSLService : BasicService)
service = nil
service = parameters[:service_type].create_service(port, parameters) unless ( defined?(BUILDING_PLEZI_TEMPLATE) || defined?(PLEZI_ON_RACK) )
S_LOCKER.synchronize {SERVICES[service] = parameters}
- info "Started listening on port #{port}."
+ Plezi.callback Plezi, :info, "Started listening on port #{port}."
true
end
# Plezi Engine, DO NOT CALL. stops all services - active connection will remain open until completion.
def stop_services