Getting started | Examples | Documentation | Building from source
The Ice framework provides everything you need to build networked applications, including RPC, pub/sub, server deployment, and more.
Ice for Ruby is the Ruby implementation of the Ice framework.
// Slice definitions (Hello.ice)
module Demo
{
interface Hello
{
void sayHello();
}
}
// Client application (client.rb)
require 'Ice'
Ice::loadSlice('Hello.ice')
Ice::initialize(ARGV) do |communicator|
hello = Demo::HelloPrx.new(communicator, "hello:default -h localhost -p 10000")
hello.sayHello()
end