blob: dd8d913c7ec19b965f0807c050ebc693db2709c2 (
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
|
// **********************************************************************
//
// Copyright (c) 2003-2009 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.
//
// **********************************************************************
package Ice;
public abstract class BlobjectAsync extends Ice.ObjectImpl
{
public abstract void
ice_invoke_async(AMD_Object_ice_invoke cb, byte[] inParams, Current current);
public DispatchStatus
__dispatch(IceInternal.Incoming in, Current current)
{
byte[] inParams;
IceInternal.BasicStream is = in.is();
is.startReadEncaps();
int sz = is.getReadEncapsSize();
inParams = is.readBlob(sz);
is.endReadEncaps();
AMD_Object_ice_invoke cb = new _AMD_Object_ice_invoke(in);
try
{
ice_invoke_async(cb, inParams, current);
}
catch(java.lang.Exception ex)
{
cb.ice_exception(ex);
}
return DispatchStatus.DispatchAsync;
}
}
|