Table of Contents Previous Next
Logo
The Java Utility Library : G.3 The Ice.Util Class
Copyright © 2003-2010 ZeroC, Inc.

G.3 The Ice.Util Class

Communicator Initialization Methods

Ice.Util provides a number of overloaded initialize methods that create a communicator. See Section 30.7 for details on these methods.

Identity Conversion

Ice.Util contains two methods to convert object identities of type Ice.Identity to and from strings. These methods are described in Section 32.5.2.

Property Creation Methods

Ice.Util provides a number of overloaded createProperties methods that create property sets. See Section 30.9.2 for details on these methods.

Proxy Comparison Methods

Two methods, proxyIdentityCompare and proxyIdentityAndFacetCompare, allow you to compare object identities that are stored in proxies (either ignoring the facet or taking the facet into account). See Section 10.11.5 for more details.

Stream Creation

Two methods, createInputStream and createOutputStream create streams for use with dynamic invocation. See Section 35.2.2 for more detail.

UUID Generation

Ice.Util contains a method generateUUID with the following signature:
static synchronized String generateUUID();
The function returns a unique identifier, such as
c0:a8:4:3:6e868177:119eabd625b:-8000

Version Information

The stringVersion and intVersion methods return the version of the Ice run time:
public static String stringVersion();
public static int intVersion();
The stringVersion method returns the Ice version in the form <major>.<minor>.<patch>, for example, 3.3.0. For beta releases, the version is <major>.<minor>b, for example, 3.3b.
The intVersion method contains the Ice version in the form AABBCC, where AA is the major version number, BB is the minor version number, and CC is patch level, for example, 30300 for version 3.3.0. For beta releases, the patch level is set to 51 so, for example, for version 3.3b, the value is 30351.

Table of Contents Previous Next
Logo