All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
Glacier2._IdentitySetDisp Maven / Gradle / Ivy
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.3
//
//
//
// Generated from file `Session.ice'
//
// Warning: do not edit this file.
//
//
//
package Glacier2;
public abstract class _IdentitySetDisp extends Ice.ObjectImpl implements IdentitySet
{
private static final String[] _ids =
{
"::Glacier2::IdentitySet",
"::Ice::Object"
};
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[0];
}
public String ice_id(Ice.Current current)
{
return _ids[0];
}
public static String ice_staticId()
{
return _ids[0];
}
public final void add(Ice.Identity[] additions)
{
add(additions, null);
}
public final void remove(Ice.Identity[] deletions)
{
remove(deletions, null);
}
public final Ice.Identity[] get()
{
return get(null);
}
public static boolean _iceD_add(IdentitySet obj, IceInternal.Incoming inS, Ice.Current current)
throws Ice.UserException
{
_iceCheckMode(Ice.OperationMode.Idempotent, current.mode);
Ice.InputStream istr = inS.startReadParams();
Ice.Identity[] iceP_additions;
iceP_additions = Ice.IdentitySeqHelper.read(istr);
inS.endReadParams();
obj.add(iceP_additions, current);
inS.writeEmptyParams();
return true;
}
public static boolean _iceD_remove(IdentitySet obj, IceInternal.Incoming inS, Ice.Current current)
throws Ice.UserException
{
_iceCheckMode(Ice.OperationMode.Idempotent, current.mode);
Ice.InputStream istr = inS.startReadParams();
Ice.Identity[] iceP_deletions;
iceP_deletions = Ice.IdentitySeqHelper.read(istr);
inS.endReadParams();
obj.remove(iceP_deletions, current);
inS.writeEmptyParams();
return true;
}
public static boolean _iceD_get(IdentitySet obj, IceInternal.Incoming inS, Ice.Current current)
throws Ice.UserException
{
_iceCheckMode(Ice.OperationMode.Idempotent, current.mode);
inS.readEmptyParams();
Ice.Identity[] ret = obj.get(current);
Ice.OutputStream ostr = inS.startWriteParams();
Ice.IdentitySeqHelper.write(ostr, ret);
inS.endWriteParams();
return true;
}
private final static String[] _all =
{
"add",
"get",
"ice_id",
"ice_ids",
"ice_isA",
"ice_ping",
"remove"
};
public boolean _iceDispatch(IceInternal.Incoming in, Ice.Current current)
throws Ice.UserException
{
int pos = java.util.Arrays.binarySearch(_all, current.operation);
if(pos < 0)
{
throw new Ice.OperationNotExistException(current.id, current.facet, current.operation);
}
switch(pos)
{
case 0:
{
return _iceD_add(this, in, current);
}
case 1:
{
return _iceD_get(this, in, current);
}
case 2:
{
return _iceD_ice_id(this, in, current);
}
case 3:
{
return _iceD_ice_ids(this, in, current);
}
case 4:
{
return _iceD_ice_isA(this, in, current);
}
case 5:
{
return _iceD_ice_ping(this, in, current);
}
case 6:
{
return _iceD_remove(this, in, current);
}
}
assert(false);
throw new Ice.OperationNotExistException(current.id, current.facet, current.operation);
}
protected void _iceWriteImpl(Ice.OutputStream ostr_)
{
ostr_.startSlice(ice_staticId(), -1, true);
ostr_.endSlice();
}
protected void _iceReadImpl(Ice.InputStream istr_)
{
istr_.startSlice();
istr_.endSlice();
}
public static final long serialVersionUID = 0L;
}