// **********************************************************************
|
//
|
// 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.
|
//
|
// **********************************************************************
|
//
|
// Ice version 3.7.0
|
//
|
// <auto-generated>
|
//
|
// Generated from file `ExtFaceWithImgOrUrl.ice'
|
//
|
// Warning: do not edit this file.
|
//
|
// </auto-generated>
|
//
|
|
package ExtFaceWithImgOrUrl;
|
|
public interface ExtractFace extends com.zeroc.Ice.Object
|
{
|
OutParameters extractFaceWithImgOrUrl(InParameters inParm, com.zeroc.Ice.Current current);
|
|
static final String[] _iceIds =
|
{
|
"::ExtFaceWithImgOrUrl::ExtractFace",
|
"::Ice::Object"
|
};
|
|
@Override
|
default String[] ice_ids(com.zeroc.Ice.Current current)
|
{
|
return _iceIds;
|
}
|
|
@Override
|
default String ice_id(com.zeroc.Ice.Current current)
|
{
|
return ice_staticId();
|
}
|
|
static String ice_staticId()
|
{
|
return "::ExtFaceWithImgOrUrl::ExtractFace";
|
}
|
|
static java.util.concurrent.CompletionStage<com.zeroc.Ice.OutputStream> _iceD_extractFaceWithImgOrUrl(ExtractFace obj, final com.zeroc.IceInternal.Incoming inS, com.zeroc.Ice.Current current)
|
{
|
com.zeroc.Ice.Object._iceCheckMode(null, current.mode);
|
com.zeroc.Ice.InputStream istr = inS.startReadParams();
|
InParameters iceP_inParm;
|
iceP_inParm = InParameters.ice_read(istr);
|
inS.endReadParams();
|
OutParameters ret = obj.extractFaceWithImgOrUrl(iceP_inParm, current);
|
com.zeroc.Ice.OutputStream ostr = inS.startWriteParams();
|
OutParameters.ice_write(ostr, ret);
|
inS.endWriteParams(ostr);
|
return inS.setResult(ostr);
|
}
|
|
final static String[] _iceOps =
|
{
|
"extractFaceWithImgOrUrl",
|
"ice_id",
|
"ice_ids",
|
"ice_isA",
|
"ice_ping"
|
};
|
|
@Override
|
default java.util.concurrent.CompletionStage<com.zeroc.Ice.OutputStream> _iceDispatch(com.zeroc.IceInternal.Incoming in, com.zeroc.Ice.Current current)
|
throws com.zeroc.Ice.UserException
|
{
|
int pos = java.util.Arrays.binarySearch(_iceOps, current.operation);
|
if(pos < 0)
|
{
|
throw new com.zeroc.Ice.OperationNotExistException(current.id, current.facet, current.operation);
|
}
|
|
switch(pos)
|
{
|
case 0:
|
{
|
return _iceD_extractFaceWithImgOrUrl(this, in, current);
|
}
|
case 1:
|
{
|
return com.zeroc.Ice.Object._iceD_ice_id(this, in, current);
|
}
|
case 2:
|
{
|
return com.zeroc.Ice.Object._iceD_ice_ids(this, in, current);
|
}
|
case 3:
|
{
|
return com.zeroc.Ice.Object._iceD_ice_isA(this, in, current);
|
}
|
case 4:
|
{
|
return com.zeroc.Ice.Object._iceD_ice_ping(this, in, current);
|
}
|
}
|
|
assert(false);
|
throw new com.zeroc.Ice.OperationNotExistException(current.id, current.facet, current.operation);
|
}
|
}
|