IceGrid.IceBoxDescriptor 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;
/**
* An IceBox server descriptor.
*
**/
public class IceBoxDescriptor extends ServerDescriptor
{
public IceBoxDescriptor()
{
super();
}
public IceBoxDescriptor(java.util.List adapters, PropertySetDescriptor propertySet, java.util.List dbEnvs, String[] logs, String description, String id, String exe, String iceVersion, String pwd, java.util.List options, java.util.List envs, String activation, String activationTimeout, String deactivationTimeout, boolean applicationDistrib, DistributionDescriptor distrib, boolean allocatable, String user, java.util.List services)
{
super(adapters, propertySet, dbEnvs, logs, description, id, exe, iceVersion, pwd, options, envs, activation, activationTimeout, deactivationTimeout, applicationDistrib, distrib, allocatable, user);
this.services = services;
}
private static class _F implements Ice.ValueFactory
{
public Ice.Object create(String type)
{
assert(type.equals(ice_staticId()));
return new IceBoxDescriptor();
}
}
private static Ice.ValueFactory _factory = new _F();
public static Ice.ValueFactory
ice_factory()
{
return _factory;
}
private static final String[] _ids =
{
"::Ice::Object",
"::IceGrid::CommunicatorDescriptor",
"::IceGrid::IceBoxDescriptor",
"::IceGrid::ServerDescriptor"
};
public boolean ice_isA(String s)
{
return java.util.Arrays.binarySearch(_ids, s) >= 0;
}
public boolean ice_isA(String s, Ice.Current current)
{
return java.util.Arrays.binarySearch(_ids, s) >= 0;
}
public String[] ice_ids()
{
return _ids;
}
public String[] ice_ids(Ice.Current current)
{
return _ids;
}
public String ice_id()
{
return _ids[2];
}
public String ice_id(Ice.Current current)
{
return _ids[2];
}
public static String ice_staticId()
{
return _ids[2];
}
protected void _iceWriteImpl(Ice.OutputStream ostr_)
{
ostr_.startSlice(ice_staticId(), -1, false);
ServiceInstanceDescriptorSeqHelper.write(ostr_, services);
ostr_.endSlice();
super._iceWriteImpl(ostr_);
}
protected void _iceReadImpl(Ice.InputStream istr_)
{
istr_.startSlice();
services = ServiceInstanceDescriptorSeqHelper.read(istr_);
istr_.endSlice();
super._iceReadImpl(istr_);
}
/**
* The service instances.
*
**/
public java.util.List services;
public IceBoxDescriptor
clone()
{
return (IceBoxDescriptor)super.clone();
}
public static final long serialVersionUID = 8163694422868054823L;
}