IceGrid.BoxedDistributionDescriptorPrxHelper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of icegrid-compat Show documentation
Show all versions of icegrid-compat Show documentation
Locate, deploy, and manage Ice servers
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.3
//
//
//
// Generated from file `Descriptor.ice'
//
// Warning: do not edit this file.
//
//
//
package IceGrid;
/**
* Provides type-specific helper functions.
**/
public final class BoxedDistributionDescriptorPrxHelper extends Ice.ObjectPrxHelperBase implements BoxedDistributionDescriptorPrx
{
/**
* Contacts the remote server to verify that the object implements this type.
* Raises a local exception if a communication error occurs.
* @param obj The untyped proxy.
* @return A proxy for this type, or null if the object does not support this type.
**/
public static BoxedDistributionDescriptorPrx checkedCast(Ice.ObjectPrx obj)
{
return checkedCastImpl(obj, ice_staticId(), BoxedDistributionDescriptorPrx.class, BoxedDistributionDescriptorPrxHelper.class);
}
/**
* Contacts the remote server to verify that the object implements this type.
* Raises a local exception if a communication error occurs.
* @param obj The untyped proxy.
* @param context The Context map to send with the invocation.
* @return A proxy for this type, or null if the object does not support this type.
**/
public static BoxedDistributionDescriptorPrx checkedCast(Ice.ObjectPrx obj, java.util.Map context)
{
return checkedCastImpl(obj, context, ice_staticId(), BoxedDistributionDescriptorPrx.class, BoxedDistributionDescriptorPrxHelper.class);
}
/**
* Contacts the remote server to verify that a facet of the object implements this type.
* Raises a local exception if a communication error occurs.
* @param obj The untyped proxy.
* @param facet The name of the desired facet.
* @return A proxy for this type, or null if the object does not support this type.
**/
public static BoxedDistributionDescriptorPrx checkedCast(Ice.ObjectPrx obj, String facet)
{
return checkedCastImpl(obj, facet, ice_staticId(), BoxedDistributionDescriptorPrx.class, BoxedDistributionDescriptorPrxHelper.class);
}
/**
* Contacts the remote server to verify that a facet of the object implements this type.
* Raises a local exception if a communication error occurs.
* @param obj The untyped proxy.
* @param facet The name of the desired facet.
* @param context The Context map to send with the invocation.
* @return A proxy for this type, or null if the object does not support this type.
**/
public static BoxedDistributionDescriptorPrx checkedCast(Ice.ObjectPrx obj, String facet, java.util.Map context)
{
return checkedCastImpl(obj, facet, context, ice_staticId(), BoxedDistributionDescriptorPrx.class, BoxedDistributionDescriptorPrxHelper.class);
}
/**
* Downcasts the given proxy to this type without contacting the remote server.
* @param obj The untyped proxy.
* @return A proxy for this type.
**/
public static BoxedDistributionDescriptorPrx uncheckedCast(Ice.ObjectPrx obj)
{
return uncheckedCastImpl(obj, BoxedDistributionDescriptorPrx.class, BoxedDistributionDescriptorPrxHelper.class);
}
/**
* Downcasts the given proxy to this type without contacting the remote server.
* @param obj The untyped proxy.
* @param facet The name of the desired facet.
* @return A proxy for this type.
**/
public static BoxedDistributionDescriptorPrx uncheckedCast(Ice.ObjectPrx obj, String facet)
{
return uncheckedCastImpl(obj, facet, BoxedDistributionDescriptorPrx.class, BoxedDistributionDescriptorPrxHelper.class);
}
private static final String[] _ids =
{
"::Ice::Object",
"::IceGrid::BoxedDistributionDescriptor"
};
/**
* Provides the Slice type ID of this type.
* @return The Slice type ID.
**/
public static String ice_staticId()
{
return _ids[1];
}
public static void write(Ice.OutputStream ostr, BoxedDistributionDescriptorPrx v)
{
ostr.writeProxy(v);
}
public static BoxedDistributionDescriptorPrx read(Ice.InputStream istr)
{
Ice.ObjectPrx proxy = istr.readProxy();
if(proxy != null)
{
BoxedDistributionDescriptorPrxHelper result = new BoxedDistributionDescriptorPrxHelper();
result._copyFrom(proxy);
return result;
}
return null;
}
public static final long serialVersionUID = 0L;
}