summaryrefslogtreecommitdiff
path: root/java/src/Ice/ObjectPrx.java
blob: 772140b871125a030013b969cfa8b15daded5d19 (plain)
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
// **********************************************************************
//
// Copyright (c) 2002
// ZeroC, Inc.
// Billerica, MA, USA
//
// All Rights Reserved.
//
// Ice is free software; you can redistribute it and/or modify it under
// the terms of the GNU General Public License version 2 as published by
// the Free Software Foundation.
//
// **********************************************************************

package Ice;

public interface ObjectPrx
{
    int ice_hash();

    boolean ice_isA(String __id);
    boolean ice_isA(String __id, java.util.Map __context);

    void ice_ping();
    void ice_ping(java.util.Map __context);

    String[] ice_ids();
    String[] ice_ids(java.util.Map __context);

    String ice_id();
    String ice_id(java.util.Map __context);

    String[] ice_facets();
    String[] ice_facets(java.util.Map __context);

    // Returns true if ok, false if user exception.
    boolean ice_invoke(String operation, OperationMode mode, byte[] inParams, ByteSeqHolder outParams);
    boolean ice_invoke(String operation, OperationMode mode, byte[] inParams, ByteSeqHolder outParams,
                       java.util.Map __context);

    Identity ice_getIdentity();
    ObjectPrx ice_newIdentity(Identity newIdentity);

    String[] ice_getFacet();
    ObjectPrx ice_newFacet(String[] newFacet);
    ObjectPrx ice_appendFacet(String f);

    ObjectPrx ice_twoway();
    ObjectPrx ice_oneway();
    ObjectPrx ice_batchOneway();
    ObjectPrx ice_datagram();
    ObjectPrx ice_batchDatagram();
    ObjectPrx ice_secure(boolean b);
    ObjectPrx ice_timeout(int t);
    ObjectPrx ice_router(Ice.RouterPrx router);
    ObjectPrx ice_default();

    void ice_flush();

    boolean equals(java.lang.Object r);
}