liuxiaolong
2019-05-06 f99bc8c6a1d10610373738edd7d0aa0181c81d99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
// **********************************************************************
//
// 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);
    }
}