All-in-one solution for creating networked applications with RPC, pub/sub, server deployment, and more.
See the code
The Internet Communications Engine (Ice) is a complete RPC framework that helps you build networked applications with minimal effort. Ice allows you to focus your efforts on your application logic, and it takes care of all interactions with low-level network programming interfaces. With Ice, there is no need to worry about details such as opening network connections, serializing and deserializing data for network transmission, or retrying failed connection attempts.
Downloads | Examples | Documentation
Remote procedure calls (RPCs) are at the heart of the Ice framework.
You create RPCs with an easy 2-step process:
For example:
// The contract specified using Slice.
/// Represents a simple greeter.
interface Greeter
{
/// Creates a personalized greeting.
/// @param name The name of the person to greet.
/// @return The greeting.
string greet(string name);
}
# Compile the Slice contract with the Slice compiler for C++ (slice2cpp)
slice2cpp Greeter.ice
// C++ client
// Call operation greet on a remote object that implements
// interface Greeter using the generated proxy class (GreeterPrx).
GreeterPrx greeter{communicator, "greeter:tcp -h localhost -p 4061"};
string greeting = greeter.greet("alice");
// C++ server
// Implements the Greeter interface by deriving from the generated
// Greeter abstract base class.
class Chatbot : public Greeter
{
public:
std::string greet(std::string name, const Ice::Current&) override
{
std::ostringstream os;
os << "Hello, " << name << "!";
return os.str();
}
};
You can use any supported programming language for your client and server. For example, a Python client could call a C++ server; neither side knows the programming language used by the other side.
The Ice framework provides everything you need to build networked applications:
C++ | C# | Java | JavaScript/TypeScript | MATLAB | PHP | Python | Ruby | Swift
Ice is a single-copyright project: all the source code in this ice repository is Copyright © ZeroC, Inc., with very few exceptions.
As copyright owner, ZeroC can license Ice under different license terms, and offers the following licenses for Ice:
If you license Ice under GPLv2, there is no license fee or signed license agreement: you just need to comply with the GPLv2 terms and conditions. ZeroC also grants a few exceptions to the GPLv2 terms and conditions.
If you purchase a commercial or closed-source license for Ice, you must comply with the terms and conditions listed in the associated license agreement; the GPLv2 terms and conditions do not apply.
The Ice software itself remains the same: the only difference between an open-source Ice and a commercial Ice is the license terms.
Overall
Maintained
Code review
npm
Latest release
Releases this year
354 followers · starred May 2017
166 followers · starred Jan 2016
168 followers · starred Apr 2019
101 followers · starred Aug 2019
All-in-one solution for creating networked applications with RPC, pub/sub, server deployment, and more.
See the code
The Internet Communications Engine (Ice) is a complete RPC framework that helps you build networked applications with minimal effort. Ice allows you to focus your efforts on your application logic, and it takes care of all interactions with low-level network programming interfaces. With Ice, there is no need to worry about details such as opening network connections, serializing and deserializing data for network transmission, or retrying failed connection attempts.
Downloads | Examples | Documentation
Remote procedure calls (RPCs) are at the heart of the Ice framework.
You create RPCs with an easy 2-step process:
For example:
// The contract specified using Slice.
/// Represents a simple greeter.
interface Greeter
{
/// Creates a personalized greeting.
/// @param name The name of the person to greet.
/// @return The greeting.
string greet(string name);
}
# Compile the Slice contract with the Slice compiler for C++ (slice2cpp)
slice2cpp Greeter.ice
// C++ client
// Call operation greet on a remote object that implements
// interface Greeter using the generated proxy class (GreeterPrx).
GreeterPrx greeter{communicator, "greeter:tcp -h localhost -p 4061"};
string greeting = greeter.greet("alice");
// C++ server
// Implements the Greeter interface by deriving from the generated
// Greeter abstract base class.
class Chatbot : public Greeter
{
public:
std::string greet(std::string name, const Ice::Current&) override
{
std::ostringstream os;
os << "Hello, " << name << "!";
return os.str();
}
};
You can use any supported programming language for your client and server. For example, a Python client could call a C++ server; neither side knows the programming language used by the other side.
The Ice framework provides everything you need to build networked applications:
C++ | C# | Java | JavaScript/TypeScript | MATLAB | PHP | Python | Ruby | Swift
Ice is a single-copyright project: all the source code in this ice repository is Copyright © ZeroC, Inc., with very few exceptions.
As copyright owner, ZeroC can license Ice under different license terms, and offers the following licenses for Ice:
If you license Ice under GPLv2, there is no license fee or signed license agreement: you just need to comply with the GPLv2 terms and conditions. ZeroC also grants a few exceptions to the GPLv2 terms and conditions.
If you purchase a commercial or closed-source license for Ice, you must comply with the terms and conditions listed in the associated license agreement; the GPLv2 terms and conditions do not apply.
The Ice software itself remains the same: the only difference between an open-source Ice and a commercial Ice is the license terms.
Overall
Maintained
Code review
npm
Latest release
Releases this year
354 followers · starred May 2017
166 followers · starred Jan 2016
168 followers · starred Apr 2019
101 followers · starred Aug 2019