An ICE RPC implementation for node
C++ C
Switch branches/tags
Nothing to show
Pull request Compare This branch is 1 commit ahead, 6 commits behind vicapow:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
.npmignore
Makefile
README
notes.txt
package.json
wscript

README

::WARNING:: This is very much a work in progress

This project provides a bridge to the ZeroC ICE RPC framework.

What follows is a simple example. Note that this hasn't yet even been fully implemented but this
should give you an idea of what we're aiming for:

``` js
var ice = require('ice')
	, Demo = require('./gen-src/Demo')

try {
	var communicator = new ice.initialize("SimplePrinter:default -p 9000");
	var proxy = communicator.stringToProxy("Demo/Printer -f m0");
	var printer = Demo.PrinterPrx.ice_checkCast(proxy,'::Demo::Printer');
	print.printString("Hello World!",function(err){
		if(err) throw err;
		console.log('success!');
	});
} catch(err) {
	console.log('unable to connect to ice');
	console.log(err);
}
```