Esempio n. 1
0
		public override Object read(Object obj1, BInput bin1, long version) {
			BInputBin bin = (BInputBin)bin1;
			BBufferBin bbuf = bin.bbuf;
			
			// lengths
			int n3 = bbuf.getLength();
			int n2 = bbuf.getLength();
			int n1 = bbuf.getLength();
			int n0 = bbuf.getLength();
			
			// create array
			byps.test.api.prim.PrimitiveTypes[,,,] arr =  new byps.test.api.prim.PrimitiveTypes[n3,n2,n1,n0];
			
			// read
			for (int i3 = 0; i3 < n3; i3++) {
				for (int i2 = 0; i2 < n2; i2++) {
					for (int i1 = 0; i1 < n1; i1++) {
						for (int i0 = 0; i0 < n0; i0++) {
							arr[i3,i2,i1,i0] = (byps.test.api.prim.PrimitiveTypes)bin.readObj(false, null);
						}
					}
				}
			}
			
			return arr;
		}
Esempio n. 2
0
		public override Object read(Object obj1, BInput bin1, long version) {
			BInputBin bin = (BInputBin)bin1;
			BBufferBin bbuf = bin.bbuf;
			
			// lengths
			int n3 = bbuf.getLength();
			int n2 = bbuf.getLength();
			int n1 = bbuf.getLength();
			int n0 = bbuf.getLength();
			
			// create array
			byps.test.api.inl.Point2D[,,,] arr =  new byps.test.api.inl.Point2D[n3,n2,n1,n0];
			
			// read
			for (int i3 = 0; i3 < n3; i3++) {
				for (int i2 = 0; i2 < n2; i2++) {
					for (int i1 = 0; i1 < n1; i1++) {
						for (int i0 = 0; i0 < n0; i0++) {
							arr[i3,i2,i1,i0] = (byps.test.api.inl.Point2D)bin.readObj(false, byps.test.api.inl.BSerializer_1835035436.instance);
						}
					}
				}
			}
			
			return arr;
		}
Esempio n. 3
0
		public override Object read(Object obj1, BInput bin1, long version)
		{
			BInputBin bin = (BInputBin)bin1;
			ArrayTypes1dim obj = (ArrayTypes1dim)(obj1 != null ? obj1 : bin.onObjectCreated(new ArrayTypes1dim()));
			
			BBufferBin bbuf = bin.bbuf;
			// checkpoint byps.gen.cs.PrintContext:449
			obj.Boolean1 = (bool[])bin.readObj(false, byps.test.api.BSerializer_2058423690.instance);
			// checkpoint byps.gen.cs.PrintContext:449
			obj.Byte1 = (byte[])bin.readObj(false, byps.test.api.BSerializer_1374008726.instance);
			// checkpoint byps.gen.cs.PrintContext:449
			obj.Char1 = (char[])bin.readObj(false, byps.test.api.BSerializer_1361632968.instance);
			// checkpoint byps.gen.cs.PrintContext:449
			obj.Date1 = (DateTime[])bin.readObj(false, byps.test.api.BSerializer_1406664368.instance);
			// checkpoint byps.gen.cs.PrintContext:449
			obj.Double1 = (double[])bin.readObj(false, byps.test.api.BSerializer_1359468275.instance);
			// checkpoint byps.gen.cs.PrintContext:449
			obj.Float1 = (float[])bin.readObj(false, byps.test.api.BSerializer_766441794.instance);
			// checkpoint byps.gen.cs.PrintContext:449
			obj.Int1 = (int[])bin.readObj(false, byps.test.api.BSerializer_100361105.instance);
			// checkpoint byps.gen.cs.PrintContext:449
			obj.Long1 = (long[])bin.readObj(false, byps.test.api.BSerializer_1097129250.instance);
			// checkpoint byps.gen.cs.PrintContext:449
			obj.PrimitiveTypes1 = (byps.test.api.prim.PrimitiveTypes[])bin.readObj(false, byps.test.api.BSerializer_2053507648.instance);
			// checkpoint byps.gen.cs.PrintContext:449
			obj.Short1 = (short[])bin.readObj(false, byps.test.api.BSerializer_2067161310.instance);
			// checkpoint byps.gen.cs.PrintContext:449
			obj.String1 = (String[])bin.readObj(false, byps.test.api.BSerializer_1888107655.instance);
			
			return obj;
		}
Esempio n. 4
0
		public override Object read(Object obj1, BInput bin1, long version)
		{
			BInputBin bin = (BInputBin)bin1;
			BRequest_RemotePrimitiveTypes_sendAllTypes obj = (BRequest_RemotePrimitiveTypes_sendAllTypes)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemotePrimitiveTypes_sendAllTypes()));
			
			BBufferBin bbuf = bin.bbuf;
			// checkpoint byps.gen.cs.PrintContext:449
			obj.bValue = bbuf.getBoolean();
			// checkpoint byps.gen.cs.PrintContext:449
			obj.cValue = bbuf.getChar();
			// checkpoint byps.gen.cs.PrintContext:449
			obj.dValue = bbuf.getDouble();
			// checkpoint byps.gen.cs.PrintContext:449
			obj.fValue = bbuf.getFloat();
			// checkpoint byps.gen.cs.PrintContext:449
			obj.iValue = bbuf.getInt();
			// checkpoint byps.gen.cs.PrintContext:449
			obj.lValue = bbuf.getLong();
			// checkpoint byps.gen.cs.PrintContext:449
			obj.sValue = bbuf.getShort();
			// checkpoint byps.gen.cs.PrintContext:449
			obj.strValue = bbuf.getString();
			// checkpoint byps.gen.cs.PrintContext:449
			obj.oValue = (Object)bin.readObj(false, null);
			// checkpoint byps.gen.cs.PrintContext:449
			obj.ptValue = (byps.test.api.prim.PrimitiveTypes)bin.readObj(false, null);
			
			return obj;
		}
Esempio n. 5
0
		public override Object read(Object obj1, BInput bin1, long version)
		{
			BInputBin bin = (BInputBin)bin1;
			ArrayTypes4dim obj = (ArrayTypes4dim)(obj1 != null ? obj1 : bin.onObjectCreated(new ArrayTypes4dim()));
			
			BBufferBin bbuf = bin.bbuf;
			// checkpoint byps.gen.cs.PrintContext:449
			obj.Boolean4 = (bool[,,,])bin.readObj(false, byps.test.api.BSerializer_945713488.instance);
			// checkpoint byps.gen.cs.PrintContext:449
			obj.Byte4 = (byte[,,,])bin.readObj(false, byps.test.api.BSerializer_1201775504.instance);
			// checkpoint byps.gen.cs.PrintContext:449
			obj.Char4 = (char[,,,])bin.readObj(false, byps.test.api.BSerializer_769021986.instance);
			// checkpoint byps.gen.cs.PrintContext:449
			obj.Double4 = (double[,,,])bin.readObj(false, byps.test.api.BSerializer_2087445849.instance);
			// checkpoint byps.gen.cs.PrintContext:449
			obj.Float4 = (float[,,,])bin.readObj(false, byps.test.api.BSerializer_1516687588.instance);
			// checkpoint byps.gen.cs.PrintContext:449
			obj.Int4 = (int[,,,])bin.readObj(false, byps.test.api.BSerializer_39910537.instance);
			// checkpoint byps.gen.cs.PrintContext:449
			obj.Long4 = (long[,,,])bin.readObj(false, byps.test.api.BSerializer_846419204.instance);
			// checkpoint byps.gen.cs.PrintContext:449
			obj.PrimitiveTypes4 = (byps.test.api.prim.PrimitiveTypes[,,,])bin.readObj(false, byps.test.api.BSerializer_758319514.instance);
			// checkpoint byps.gen.cs.PrintContext:449
			obj.Short4 = (short[,,,])bin.readObj(false, byps.test.api.BSerializer_1859644668.instance);
			// checkpoint byps.gen.cs.PrintContext:449
			obj.String4 = (String[,,,])bin.readObj(false, byps.test.api.BSerializer_588723219.instance);
			
			return obj;
		}
Esempio n. 6
0
		public override Object read(Object obj1, BInput bin1, long version)
		{
			BInputBin bin = (BInputBin)bin1;
			PrimitiveTypes obj = (PrimitiveTypes)(obj1 != null ? obj1 : bin.onObjectCreated(new PrimitiveTypes()));
			
			BBufferBin bbuf = bin.bbuf;
			// checkpoint byps.gen.cs.PrintContext:449
			obj.BoolVal = bbuf.getBoolean();
			// checkpoint byps.gen.cs.PrintContext:449
			obj.ByteVal = bbuf.getByte();
			// checkpoint byps.gen.cs.PrintContext:449
			obj.CharVal = bbuf.getChar();
			// checkpoint byps.gen.cs.PrintContext:449
			obj.DateVal = bbuf.getDate();
			// checkpoint byps.gen.cs.PrintContext:449
			obj.DoubleVal = bbuf.getDouble();
			// checkpoint byps.gen.cs.PrintContext:449
			obj.FloatVal = bbuf.getFloat();
			// checkpoint byps.gen.cs.PrintContext:449
			obj.IntVal = bbuf.getInt();
			// checkpoint byps.gen.cs.PrintContext:449
			obj.LongVal = bbuf.getLong();
			// checkpoint byps.gen.cs.PrintContext:449
			obj.ShortVal = bbuf.getShort();
			// checkpoint byps.gen.cs.PrintContext:449
			obj.StringVal = bbuf.getString();
			// checkpoint byps.gen.cs.PrintContext:449
			obj.Value = bbuf.getBoolean();
			// checkpoint byps.gen.cs.PrintContext:449
			obj.ObjVal = (Object)bin.readObj(false, null);
			// checkpoint byps.gen.cs.PrintContext:449
			obj.ObjVal2 = (Object)bin.readObj(false, null);
			
			return obj;
		}
Esempio n. 7
0
		public override Object read(Object obj1, BInput bin1, long version) {
			BInputBin bin = (BInputBin)bin1;
			BBufferBin bbuf = bin.bbuf;
			
			// lengths
			int n3 = bbuf.getLength();
			int n2 = bbuf.getLength();
			int n1 = bbuf.getLength();
			int n0 = bbuf.getLength();
			
			// create array
			double[,,,] arr =  new double[n3,n2,n1,n0];
			
			// read
			for (int i3 = 0; i3 < n3; i3++) {
				for (int i2 = 0; i2 < n2; i2++) {
					for (int i1 = 0; i1 < n1; i1++) {
						for (int i0 = 0; i0 < n0; i0++) {
							arr[i3,i2,i1,i0] = bbuf.getDouble();
						}
					}
				}
			}
			
			return arr;
		}
Esempio n. 8
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
		    BInputBin bin = ((BInputBin)bin1);
		    long v = bin.bbuf.getLong();
            BValueClass obj = (BValueClass)(obj1 != null ? obj1 : bin.onObjectCreated(new BValueClass()));
            obj.changedMembers = v;
		    return obj;
	    }
Esempio n. 9
0
		public override Object read(Object obj1, BInput bin1, long version)
		{
			BInputBin bin = (BInputBin)bin1;
			BRequest_BioLemonService_useParing obj = (BRequest_BioLemonService_useParing)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_BioLemonService_useParing()));
			
			BBufferBin bbuf = bin.bbuf;
			
			return obj;
		}
Esempio n. 10
0
        public override Object read(Object obj, BInput bin1, long version)
        {
		    BInputBin bin = ((BInputBin)bin1);
		    int code = bin.bbuf.getInt();
		    String msg = bin.bbuf.getString();
		    String details = bin.bbuf.getString();
		    BException e = new BException(code, msg, details);
		    return e;
	    }
Esempio n. 11
0
		public override Object read(Object obj1, BInput bin1, long version)
		{
			BInputBin bin = (BInputBin)bin1;
			BRequest_EvolveIF_getEvolve obj = (BRequest_EvolveIF_getEvolve)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_EvolveIF_getEvolve()));
			
			BBufferBin bbuf = bin.bbuf;
			
			return obj;
		}
Esempio n. 12
0
		public override Object read(Object obj1, BInput bin1, long version)
		{
			BInputBin bin = (BInputBin)bin1;
			BRequest_RemoteListTypes_getShort1 obj = (BRequest_RemoteListTypes_getShort1)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemoteListTypes_getShort1()));
			
			BBufferBin bbuf = bin.bbuf;
			
			return obj;
		}
Esempio n. 13
0
		public override Object read(Object obj1, BInput bin1, long version)
		{
			BInputBin bin = (BInputBin)bin1;
			BRequest_RemotePrimitiveTypes_getFloat obj = (BRequest_RemotePrimitiveTypes_getFloat)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemotePrimitiveTypes_getFloat()));
			
			BBufferBin bbuf = bin.bbuf;
			
			return obj;
		}
Esempio n. 14
0
		public override Object read(Object obj1, BInput bin1, long version)
		{
			BInputBin bin = (BInputBin)bin1;
			BRequest_RemoteInlineInstance_getPoint2DListList obj = (BRequest_RemoteInlineInstance_getPoint2DListList)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemoteInlineInstance_getPoint2DListList()));
			
			BBufferBin bbuf = bin.bbuf;
			
			return obj;
		}
Esempio n. 15
0
		public override Object read(Object obj1, BInput bin1, long version)
		{
			BInputBin bin = (BInputBin)bin1;
			BRequest_FruitService_squeeze obj = (BRequest_FruitService_squeeze)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_FruitService_squeeze()));
			
			BBufferBin bbuf = bin.bbuf;
			
			return obj;
		}
Esempio n. 16
0
		public override Object read(Object obj1, BInput bin1, long version)
		{
			BInputBin bin = (BInputBin)bin1;
			BRequest_RemoteArrayTypes1dim_getInt obj = (BRequest_RemoteArrayTypes1dim_getInt)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemoteArrayTypes1dim_getInt()));
			
			BBufferBin bbuf = bin.bbuf;
			
			return obj;
		}
Esempio n. 17
0
		public override Object read(Object obj1, BInput bin1, long version)
		{
			BInputBin bin = (BInputBin)bin1;
			BRequest_RemoteStreams_getImages obj = (BRequest_RemoteStreams_getImages)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemoteStreams_getImages()));
			
			BBufferBin bbuf = bin.bbuf;
			
			return obj;
		}
Esempio n. 18
0
		public override Object read(Object obj1, BInput bin1, long version)
		{
			BInputBin bin = (BInputBin)bin1;
			BResult_19 obj = (BResult_19)(obj1 != null ? obj1 : bin.onObjectCreated(new BResult_19()));
			
			BBufferBin bbuf = bin.bbuf;
			// void result			
			return obj;
		}
Esempio n. 19
0
		public override Object read(Object obj1, BInput bin1, long version)
		{
			BInputBin bin = (BInputBin)bin1;
			BRequest_RemoteReferences_getNode obj = (BRequest_RemoteReferences_getNode)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemoteReferences_getNode()));
			
			BBufferBin bbuf = bin.bbuf;
			
			return obj;
		}
Esempio n. 20
0
		public override Object read(Object obj1, BInput bin1, long version)
		{
			BInputBin bin = (BInputBin)bin1;
			HebrewC obj = (HebrewC)(obj1 != null ? obj1 : bin.onObjectCreated(new HebrewC()));
			
			BBufferBin bbuf = bin.bbuf;
			
			return obj;
		}
Esempio n. 21
0
		public override Object read(Object obj1, BInput bin1, long version)
		{
			BInputBin bin = (BInputBin)bin1;
			FileSystemServiceC obj = (FileSystemServiceC)(obj1 != null ? obj1 : bin.onObjectCreated(new FileSystemServiceC()));
			
			BBufferBin bbuf = bin.bbuf;
			
			return obj;
		}
Esempio n. 22
0
		public override Object read(Object obj1, BInput bin1, long version)
		{
			BInputBin bin = (BInputBin)bin1;
			BRequest_ServerIF_getClientIds obj = (BRequest_ServerIF_getClientIds)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_ServerIF_getClientIds()));
			
			BBufferBin bbuf = bin.bbuf;
			
			return obj;
		}
Esempio n. 23
0
		public override Object read(Object obj1, BInput bin1, long version)
		{
			BInputBin bin = (BInputBin)bin1;
			BRequest_RemoteInlineInstance_setActor obj = (BRequest_RemoteInlineInstance_setActor)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemoteInlineInstance_setActor()));
			
			BBufferBin bbuf = bin.bbuf;
			// checkpoint byps.gen.cs.PrintContext:449
			obj.actValue = (byps.test.api.inl.Actor)bin.readObj(false, null);
			
			return obj;
		}
Esempio n. 24
0
		public override Object read(Object obj1, BInput bin1, long version)
		{
			BInputBin bin = (BInputBin)bin1;
			BRequest_RemoteListTypes_setPrimitiveTypes1 obj = (BRequest_RemoteListTypes_setPrimitiveTypes1)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemoteListTypes_setPrimitiveTypes1()));
			
			BBufferBin bbuf = bin.bbuf;
			// checkpoint byps.gen.cs.PrintContext:449
			obj.primitiveTypes1Value = (IList<byps.test.api.prim.PrimitiveTypes>)bin.readObj(false, null);
			
			return obj;
		}
Esempio n. 25
0
		public override Object read(Object obj1, BInput bin1, long version)
		{
			BInputBin bin = (BInputBin)bin1;
			BRequest_RemotePrimitiveTypes_setString obj = (BRequest_RemotePrimitiveTypes_setString)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemotePrimitiveTypes_setString()));
			
			BBufferBin bbuf = bin.bbuf;
			// checkpoint byps.gen.cs.PrintContext:449
			obj.vValue = bbuf.getString();
			
			return obj;
		}
Esempio n. 26
0
		public override Object read(Object obj1, BInput bin1, long version)
		{
			BInputBin bin = (BInputBin)bin1;
			BResult_183594037 obj = (BResult_183594037)(obj1 != null ? obj1 : bin.onObjectCreated(new BResult_183594037()));
			
			BBufferBin bbuf = bin.bbuf;
			// checkpoint byps.gen.cs.PrintContext:449
			obj.resultValue = (Object[])bin.readObj(false, byps.test.api.BSerializer_183594037.instance);
			
			return obj;
		}
Esempio n. 27
0
		public override Object read(Object obj1, BInput bin1, long version)
		{
			BInputBin bin = (BInputBin)bin1;
			BRequest_EvolveIF_setClient obj = (BRequest_EvolveIF_setClient)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_EvolveIF_setClient()));
			
			BBufferBin bbuf = bin.bbuf;
			// checkpoint byps.gen.cs.PrintContext:449
			obj.partnerValue = (byps.test.api.ver.EvolveIF)bin.readObj(false, null);
			
			return obj;
		}
Esempio n. 28
0
		public override Object read(Object obj1, BInput bin1, long version)
		{
			BInputBin bin = (BInputBin)bin1;
			BRequest_RemoteMapTypes_setLong1 obj = (BRequest_RemoteMapTypes_setLong1)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemoteMapTypes_setLong1()));
			
			BBufferBin bbuf = bin.bbuf;
			// checkpoint byps.gen.cs.PrintContext:449
			obj.long1Value = (IDictionary<short,long>)bin.readObj(false, null);
			
			return obj;
		}
Esempio n. 29
0
		public override Object read(Object obj1, BInput bin1, long version)
		{
			BInputBin bin = (BInputBin)bin1;
			BRequest_RemoteArrayTypes4dim_setShort obj = (BRequest_RemoteArrayTypes4dim_setShort)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemoteArrayTypes4dim_setShort()));
			
			BBufferBin bbuf = bin.bbuf;
			// checkpoint byps.gen.cs.PrintContext:449
			obj.vValue = (short[,,,])bin.readObj(false, byps.test.api.BSerializer_1859644668.instance);
			
			return obj;
		}
Esempio n. 30
0
		public override Object read(Object obj1, BInput bin1, long version)
		{
			BInputBin bin = (BInputBin)bin1;
			BResult_1279823631 obj = (BResult_1279823631)(obj1 != null ? obj1 : bin.onObjectCreated(new BResult_1279823631()));
			
			BBufferBin bbuf = bin.bbuf;
			// checkpoint byps.gen.cs.PrintContext:449
			obj.resultValue = (IDictionary<String,bool>)bin.readObj(false, null);
			
			return obj;
		}
Esempio n. 31
0
        public override Object read(Object obj, BInput bin1, long version)
        {
            BInputBin       bin      = ((BInputBin)bin1);
            BRemote         remote   = null;
            BTargetId       targetId = BTargetId.read(bin.bbuf.getBuffer(), bin1.header.bversion);
            BRemoteRegistry rreg     = bin.transport.getRemoteRegistry();

            if (rreg != null)
            {
                remote = rreg.getRemote(bin.header.targetId, targetId, typeId);
            }
            else
            {
                BTransport transport = new BTransport(bin.transport, targetId);
                remote = internalCreate(transport);
            }
            return(remote);
        }
Esempio n. 32
0
        public override object read(object obj1, BInput bin1, long version)
        {
            BInputBin bin = ((BInputBin)bin1);
            int       n0  = bin.bbuf.getLength();
            IDictionary <Object, Object> arr = new Dictionary <Object, Object>(n0);

            bin.onObjectCreated(arr);

            // read
            for (int i = 0; i < n0; i++)
            {
                Object key   = bin.readObj(false, null);
                Object value = bin.readObj(false, null);
                arr[key] = value;
            }

            return(arr);
        }
Esempio n. 33
0
        public override Object read(Object obj, BInput bin1, long version)
        {
            BInputBin bin            = ((BInputBin)bin1);
            BTargetId targetId       = null;
            long      contentLength  = -1;
            String    contentType    = BContentStream.DEFAULT_CONTENT_TYPE;
            int       attachmentCode = 0;
            String    fileName       = "";
            bool      withProps      = bin1.header.bversion >= BMessageHeader.BYPS_VERSION_EXTENDED_STREAM_INFORMATION;

            if (withProps)
            {
                targetId       = BTargetId.read(bin.bbuf.getBuffer(), bin1.header.bversion);
                contentLength  = bin.bbuf.getLong();
                contentType    = bin.bbuf.getString();
                attachmentCode = bin.bbuf.getInt();
                fileName       = bin.bbuf.getString();
            }
            else
            {
                long streamId  = bin.bbuf.getLong();
                int  serverId  = bin1.transport.getTargetId().getServerId();
                long messageId = bin1.header.messageId;
                targetId = new BTargetId(serverId, messageId, streamId);
            }

            try
            {
                BContentStream strm = bin.transport.getWire().getStream(targetId);
                bin.onObjectCreated(strm);
                strm.ContentLength  = contentLength;
                strm.ContentType    = contentType;
                strm.AttachmentCode = attachmentCode;
                strm.FileName       = fileName;
                return(strm);
            }
            catch (IOException e)
            {
                throw new BException(BExceptionC.IOERROR, e.Message);
            }
        }
Esempio n. 34
0
 public MethodResult(BTransport transport, BAsyncResultIF <BMessage> asyncResult, BInput bin)
 {
     this.transport   = transport;
     this.asyncResult = asyncResult;
     this.bin         = bin;
 }
Esempio n. 35
0
 public abstract Object read(Object obj1, BInput bin1, long version);
Esempio n. 36
0
            public void setAsyncResult(BMessage msg, Exception ex)
            {
                if (log.isDebugEnabled())
                {
                    log.debug("setAsyncResult(" + msg + ", ex=" + ex);
                }
                bool relogin = false;

                try
                {
                    if (ex != null)
                    {
                        // BYPS relogin error? (HTTP 401)
                        relogin = transport.internalIsReloginException(ex, transport.getObjectTypeId(methodRequest));
                        if (!relogin)
                        {
                            if (log.isDebugEnabled())
                            {
                                log.debug("return ex");
                            }
                            innerResult.setAsyncResult(default(T), ex);
                        }
                    }
                    else
                    {
                        if (log.isDebugEnabled())
                        {
                            log.debug("obj <- message");
                        }
                        BInput bin = transport.getInput(msg.header, msg.buf);
                        T      obj = (T)bin.load();

                        if (log.isDebugEnabled())
                        {
                            log.debug("return obj=" + obj);
                        }
                        innerResult.setAsyncResult(obj, null);
                    }
                }
                catch (Exception e)
                {
                    if (log.isDebugEnabled())
                    {
                        log.debug("exception=" + e);
                    }
                    try
                    {
                        relogin = transport.internalIsReloginException(e, transport.getObjectTypeId(methodRequest));
                    }
                    catch (Exception ignored) {
                        if (log.isDebugEnabled())
                        {
                            log.debug("ignored exception=", ignored);
                        }
                    }

                    if (!relogin)
                    {
                        if (log.isDebugEnabled())
                        {
                            log.debug("return ex");
                        }
                        innerResult.setAsyncResult(default(T), e);
                    }
                }

                if (log.isDebugEnabled())
                {
                    log.debug("relogin="******")setAsyncResult");
                }
            }