_ControlAgentClientMethodsStub.java
6.32 KB
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.service;
import com.adobe.service.ControlAgentClientMethods;
import com.adobe.service.ControlAgentClientMethodsOperations;
import org.omg.CORBA.Object;
import org.omg.CORBA.UNKNOWN;
import org.omg.CORBA.portable.*;
public class _ControlAgentClientMethodsStub
extends ObjectImpl
implements ControlAgentClientMethods {
private String[] ids = new String[]{"IDL:com/adobe/service/ControlAgentClientMethods:1.0"};
public static final Class _opsClass = ControlAgentClientMethodsOperations.class;
public String[] _ids() {
return this.ids;
}
/*
* WARNING - Removed try catching itself - possible behaviour change.
* Enabled aggressive block sorting
* Enabled unnecessary exception pruning
* Enabled aggressive exception aggregation
*/
public void done(boolean success) {
while (!this._is_local()) {
java.lang.Object var6_7;
InputStream _is = null;
try {
try {
OutputStream _os = this._request("done", true);
_os.write_boolean(success);
_is = this._invoke(_os);
var6_7 = null;
this._releaseReply(_is);
return;
}
catch (RemarshalException _rx) {
var6_7 = null;
this._releaseReply(_is);
continue;
}
catch (ApplicationException _ax) {
String _id = _ax.getId();
throw new RuntimeException("Unexpected exception " + _id);
}
}
catch (Throwable var5_9) {
var6_7 = null;
this._releaseReply(_is);
throw var5_9;
}
}
ServantObject _so = this._servant_preinvoke("done", _opsClass);
if (_so == null) {
throw new UNKNOWN("local invocations not supported!");
}
ControlAgentClientMethodsOperations _localServant = (ControlAgentClientMethodsOperations)_so.servant;
try {
_localServant.done(success);
java.lang.Object var8_10 = null;
this._servant_postinvoke(_so);
return;
}
catch (Throwable var7_12) {
java.lang.Object var8_11 = null;
this._servant_postinvoke(_so);
throw var7_12;
}
}
/*
* WARNING - Removed try catching itself - possible behaviour change.
* Enabled aggressive block sorting
* Enabled unnecessary exception pruning
* Enabled aggressive exception aggregation
*/
public boolean prepare() {
while (!this._is_local()) {
java.lang.Object var6_6;
InputStream _is = null;
try {
boolean bl;
try {
boolean _result;
OutputStream _os = this._request("prepare", true);
_is = this._invoke(_os);
bl = _result = _is.read_boolean();
var6_6 = null;
}
catch (RemarshalException _rx) {
var6_6 = null;
this._releaseReply(_is);
continue;
}
catch (ApplicationException _ax) {
String _id = _ax.getId();
throw new RuntimeException("Unexpected exception " + _id);
}
this._releaseReply(_is);
return bl;
}
catch (Throwable var5_11) {
var6_6 = null;
this._releaseReply(_is);
throw var5_11;
}
}
ServantObject _so = this._servant_preinvoke("prepare", _opsClass);
if (_so == null) {
throw new UNKNOWN("local invocations not supported!");
}
ControlAgentClientMethodsOperations _localServant = (ControlAgentClientMethodsOperations)_so.servant;
try {
boolean _result = _localServant.prepare();
java.lang.Object var8_12 = null;
this._servant_postinvoke(_so);
return _result;
}
catch (Throwable var7_14) {
java.lang.Object var8_13 = null;
this._servant_postinvoke(_so);
throw var7_14;
}
}
/*
* WARNING - Removed try catching itself - possible behaviour change.
* Enabled aggressive block sorting
* Enabled unnecessary exception pruning
* Enabled aggressive exception aggregation
*/
public Object newRequestHandler() {
while (!this._is_local()) {
java.lang.Object var6_6;
InputStream _is = null;
try {
Object object;
try {
Object _result;
OutputStream _os = this._request("newRequestHandler", true);
_is = this._invoke(_os);
object = _result = _is.read_Object();
var6_6 = null;
}
catch (RemarshalException _rx) {
var6_6 = null;
this._releaseReply(_is);
continue;
}
catch (ApplicationException _ax) {
String _id = _ax.getId();
throw new RuntimeException("Unexpected exception " + _id);
}
this._releaseReply(_is);
return object;
}
catch (Throwable var5_11) {
var6_6 = null;
this._releaseReply(_is);
throw var5_11;
}
}
ServantObject _so = this._servant_preinvoke("newRequestHandler", _opsClass);
if (_so == null) {
throw new UNKNOWN("local invocations not supported!");
}
ControlAgentClientMethodsOperations _localServant = (ControlAgentClientMethodsOperations)_so.servant;
try {
Object _result = _localServant.newRequestHandler();
java.lang.Object var8_12 = null;
this._servant_postinvoke(_so);
return _result;
}
catch (Throwable var7_14) {
java.lang.Object var8_13 = null;
this._servant_postinvoke(_so);
throw var7_14;
}
}
}