Sha256: add33f18dc75a441172e9ed8ebd6845adf6ac7a052b50307672edc887552a766

Contents?: true

Size: 570 Bytes

Versions: 17

Compression:

Stored size: 570 Bytes

Contents

#!/usr/bin/ruby
require 'rubygems'
require 'cpee/implementation'

Riddl::Server.new(CPEE::SERVER, :host => 'localhost', :port => 9298) do
  @riddl_opts[:instances] = ::File.dirname(__FILE__) + '/instances'
  @riddl_opts[:handlerwrappers] = ::File.dirname(__FILE__) + '/handlerwrappers'
  @riddl_opts[:notifications_init] = ::File.dirname(__FILE__) + '/resources/notifications'
  @riddl_opts[:properties_init] = ::File.dirname(__FILE__) + '/resources/properties.init'
  accessible_description true
  cross_site_xhr true

  use CPEE::implementation(@riddl_opts)
end.loop!

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
cpee-1.3.228 tools/server/server.rb
cpee-1.3.227 tools/server/server.rb
cpee-1.3.226 tools/server/server.rb
cpee-1.3.225 tools/server/server.rb
cpee-1.3.224 tools/server/server.rb
cpee-1.3.223 tools/server/server.rb
cpee-1.3.222 tools/server/server.rb
cpee-1.3.221 tools/server/server.rb
cpee-1.3.220 tools/server/server.rb
cpee-1.3.219 tools/server/server.rb
cpee-1.3.217 tools/server/server.rb
cpee-1.3.216 tools/server/server.rb
cpee-1.3.215 tools/server/server.rb
cpee-1.3.214 tools/server/server.rb
cpee-1.3.213 tools/server/server.rb
cpee-1.3.212 tools/server/server.rb
cpee-1.3.211 tools/server/server.rb