Ice.ObjectHolder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ice Show documentation
Show all versions of ice Show documentation
Ice is a comprehensive RPC framework that helps you build distributed applications with minimal effort using familiar object-oriented idioms
// **********************************************************************
//
// Copyright (c) 2003-2017 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
package Ice;
/**
* Holder class for Ice objects that are out- or inout-parameters.
**/
public final class ObjectHolder extends ObjectHolderBase
{
/**
* Instantiates the class with a null
value.
**/
public
ObjectHolder()
{
}
/**
* Instantiates the class with the passed Ice object.
**/
public
ObjectHolder(Ice.Object value)
{
super(value);
}
/**
* Sets the Ice object of this holder to the passed instance.
*
* @param v The new object for this holder.
**/
@Override
public void
patch(Ice.Object v)
{
value = v;
}
/**
* Returns the Slice type ID of the most-derived Slice type supported
* by this instance.
*
* @return The Slice type ID.
**/
@Override
public String
type()
{
return Ice.ObjectImpl.ice_staticId();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy