All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Ice.CompactIdResolver Maven / Gradle / Ivy

Go to download

Ice is a comprehensive RPC framework that helps you build distributed applications with minimal effort using familiar object-oriented idioms

There is a newer version: 3.7.10
Show newest version
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//

package Ice;

/**
 * Applications that make use of compact type IDs to conserve space
 * when marshaling class instances, and also use the streaming API to
 * extract such classes, can intercept the translation between compact
 * type IDs and their corresponding string type IDs by installing an
 * instance of CompactIdResolver in InitializationData.
 **/
public interface CompactIdResolver
{
    /**
     * Translates a compact (integer) ID into its string equivalent.
     *
     * @param id The compact ID.
     * @return A string type ID (such as "::Module::Class"),
     * or an empty string if the compact ID is unknown.
     **/
    String resolve(int id);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy