blob: 77ca5d01933bee0be119cb59fccca5beb140de5b (
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
|
%
% Copyright (c) ZeroC, Inc. All rights reserved.
%
classdef Oneways
methods(Static)
function oneways(p)
p = p.ice_oneway();
p.ice_ping();
p.opVoid();
p.opIdempotent();
p.opNonmutating();
try
p.opByte(hex2dec('ff'), hex2dec('0f'));
assert(false);
catch ex
assert(isa(ex, 'Ice.TwowayOnlyException'));
end
end
end
end
|