public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { RemoteConstants __byps__remoteT = (RemoteConstants)__byps__remote; BAsyncResultSendMethod<Object> __byps__outerResult = new BAsyncResultSendMethod<Object>(__byps__asyncResult, new byps.test.api.BResult_19()); __byps__remoteT.Compare_HebrewC(ALEPHValue, BETHValue, BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(null, e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { ServerIF __byps__remoteT = (ServerIF)__byps__remote; BAsyncResultSendMethod<Object> __byps__outerResult = new BAsyncResultSendMethod<Object>(__byps__asyncResult, new byps.test.api.BResult_19()); __byps__remoteT.PutStreamsOnClient(streamsValue, BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(null, e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { RemoteListTypes __byps__remoteT = (RemoteListTypes)__byps__remote; BAsyncResultSendMethod<IList<double>> __byps__outerResult = new BAsyncResultSendMethod<IList<double>>(__byps__asyncResult, new byps.test.api.BResult_1555345627()); __byps__remoteT.GetDouble1(BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(null, e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { FruitService __byps__remoteT = (FruitService)__byps__remote; BAsyncResultSendMethod<String> __byps__outerResult = new BAsyncResultSendMethod<String>(__byps__asyncResult, new byps.test.api.BResult_10()); __byps__remoteT.Squeeze(BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult("", e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { EvolveIF __byps__remoteT = (EvolveIF)__byps__remote; BAsyncResultSendMethod<Evolve> __byps__outerResult = new BAsyncResultSendMethod<Evolve>(__byps__asyncResult, new byps.test.api.BResult_1391985860()); __byps__remoteT.GetEvolve(BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(null, e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { RemoteEnums __byps__remoteT = (RemoteEnums)__byps__remote; BAsyncResultSendMethod<byps.test.api.enu.EnumPlanets> __byps__outerResult = new BAsyncResultSendMethod<byps.test.api.enu.EnumPlanets>(__byps__asyncResult, new byps.test.api.BResult_1375035164()); __byps__remoteT.GetPlanet(BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(0, e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { RemoteMapTypes __byps__remoteT = (RemoteMapTypes)__byps__remote; BAsyncResultSendMethod<Object> __byps__outerResult = new BAsyncResultSendMethod<Object>(__byps__asyncResult, new byps.test.api.BResult_19()); __byps__remoteT.SetObj1(obj1Value, BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(null, e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { DispatcherService __byps__remoteT = (DispatcherService)__byps__remote; BAsyncResultSendMethod<Object> __byps__outerResult = new BAsyncResultSendMethod<Object>(__byps__asyncResult, new BResult_19()); __byps__remoteT.UnregisterNotifyService(tokenValue, BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(null, e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { ServerIF __byps__remoteT = (ServerIF)__byps__remote; BAsyncResultSendMethod<ISet<int>> __byps__outerResult = new BAsyncResultSendMethod<ISet<int>>(__byps__asyncResult, new byps.test.api.BResult_1493282670()); __byps__remoteT.GetClientIds(BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(null, e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { BUtilityRequests __byps__remoteT = (BUtilityRequests)__byps__remote; BAsyncResultSendMethod<IDictionary<String,String>> __byps__outerResult = new BAsyncResultSendMethod<IDictionary<String,String>>(__byps__asyncResult, new BResult_1710660846()); __byps__remoteT.Execute(functionNameValue, paramsValue, BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(null, e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { RemoteMapTypes __byps__remoteT = (RemoteMapTypes)__byps__remote; BAsyncResultSendMethod<IDictionary<String,DateTime>> __byps__outerResult = new BAsyncResultSendMethod<IDictionary<String,DateTime>>(__byps__asyncResult, new byps.test.api.BResult_1366799209()); __byps__remoteT.GetDate1(BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(null, e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { RemoteConstants __byps__remoteT = (RemoteConstants)__byps__remote; BAsyncResultSendMethod<bool> __byps__outerResult = new BAsyncResultSendMethod<bool>(__byps__asyncResult, new byps.test.api.BResult_1()); __byps__remoteT.Compare_AllTypesC(bool1sValue, bool2sValue, char1sValue, stringNullValue, char2sValue, short1sValue, int1sValue, long1sValue, float1sValue, double1sValue, string1sValue, ALLValue, arrIntValue, arrInt4Value, arrStringsValue, arrStrings4Value, arrAllValue, BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(false, e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { RemoteInlineInstance __byps__remoteT = (RemoteInlineInstance)__byps__remote; BAsyncResultSendMethod<IList<IList<byps.test.api.inl.Point2D>>> __byps__outerResult = new BAsyncResultSendMethod<IList<IList<byps.test.api.inl.Point2D>>>(__byps__asyncResult, new byps.test.api.BResult_1823330785()); __byps__remoteT.GetPoint2DListList(BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(null, e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { RemotePrimitiveTypes __byps__remoteT = (RemotePrimitiveTypes)__byps__remote; BAsyncResultSendMethod<byps.test.api.prim.PrimitiveTypes> __byps__outerResult = new BAsyncResultSendMethod<byps.test.api.prim.PrimitiveTypes>(__byps__asyncResult, new byps.test.api.BResult_1000()); __byps__remoteT.GetPrimitiveTypes(BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(null, e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { RemoteWithAuthentication __byps__remoteT = (RemoteWithAuthentication)__byps__remote; BAsyncResultSendMethod<byps.test.api.auth.SessionInfo> __byps__outerResult = new BAsyncResultSendMethod<byps.test.api.auth.SessionInfo>(__byps__asyncResult, new byps.test.api.BResult_65775978()); __byps__remoteT.Login(sessValue, userNameValue, userPwdValue, BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(null, e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { RemoteStreams __byps__remoteT = (RemoteStreams)__byps__remote; BAsyncResultSendMethod<Object> __byps__outerResult = new BAsyncResultSendMethod<Object>(__byps__asyncResult, new byps.test.api.BResult_19()); __byps__remoteT.SetImages(istrmsValue, doNotReadStreamAtKeyValue, BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(null, e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { ClientIF __byps__remoteT = (ClientIF)__byps__remote; BAsyncResultSendMethod<int> __byps__outerResult = new BAsyncResultSendMethod<int>(__byps__asyncResult, new byps.test.api.BResult_5()); __byps__remoteT.IncrementInt(aValue, BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(0, e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { RemoteReferences __byps__remoteT = (RemoteReferences)__byps__remote; BAsyncResultSendMethod<byps.test.api.refs.Node> __byps__outerResult = new BAsyncResultSendMethod<byps.test.api.refs.Node>(__byps__asyncResult, new byps.test.api.BResult_9001()); __byps__remoteT.GetNode(BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(null, e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { FileSystemService __byps__remoteT = (FileSystemService)__byps__remote; BAsyncResultSendMethod<int> __byps__outerResult = new BAsyncResultSendMethod<int>(__byps__asyncResult, new BResult_5()); __byps__remoteT.BeginWatchFolder(dirValue, recursiveValue, extraInfoValue, BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(0, e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { FileSystemService __byps__remoteT = (FileSystemService)__byps__remote; BAsyncResultSendMethod<System.IO.Stream> __byps__outerResult = new BAsyncResultSendMethod<System.IO.Stream>(__byps__asyncResult, new BResult_15()); __byps__remoteT.ReadFile(pathValue, BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(null, e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { BUtilityRequests __byps__remoteT = (BUtilityRequests)__byps__remote; BAsyncResultSendMethod<Object> __byps__outerResult = new BAsyncResultSendMethod<Object>(__byps__asyncResult, new BResult_19()); __byps__remoteT.CancelMessage(messageIdValue, BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(null, e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { RemoteSetTypes __byps__remoteT = (RemoteSetTypes)__byps__remote; BAsyncResultSendMethod<HashSet<byte>> __byps__outerResult = new BAsyncResultSendMethod<HashSet<byte>>(__byps__asyncResult, new byps.test.api.BResult_31512998()); __byps__remoteT.GetByte1(BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(null, e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { ClientIF __byps__remoteT = (ClientIF)__byps__remote; BAsyncResultSendMethod<ChatStructure> __byps__outerResult = new BAsyncResultSendMethod<ChatStructure>(__byps__asyncResult, new byps.test.api.BResult_7007()); __byps__remoteT.SendChat(csValue, BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(null, e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { RemoteStreams __byps__remoteT = (RemoteStreams)__byps__remote; BAsyncResultSendMethod<System.IO.Stream> __byps__outerResult = new BAsyncResultSendMethod<System.IO.Stream>(__byps__asyncResult, new byps.test.api.BResult_15()); __byps__remoteT.GetImage(BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(null, e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { RemotePrimitiveTypes __byps__remoteT = (RemotePrimitiveTypes)__byps__remote; BAsyncResultSendMethod<Object> __byps__outerResult = new BAsyncResultSendMethod<Object>(__byps__asyncResult, new byps.test.api.BResult_19()); __byps__remoteT.SendAllTypes(bValue, cValue, sValue, iValue, lValue, fValue, dValue, strValue, ptValue, oValue, BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(null, e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { RemoteListTypes __byps__remoteT = (RemoteListTypes)__byps__remote; BAsyncResultSendMethod<IList<IDictionary<int,IList<HashSet<int>>>>> __byps__outerResult = new BAsyncResultSendMethod<IList<IDictionary<int,IList<HashSet<int>>>>>(__byps__asyncResult, new byps.test.api.BResult_1633500852()); __byps__remoteT.GetInt4(BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(null, e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { RemoteArrayTypes1dim __byps__remoteT = (RemoteArrayTypes1dim)__byps__remote; BAsyncResultSendMethod<int[]> __byps__outerResult = new BAsyncResultSendMethod<int[]>(__byps__asyncResult, new byps.test.api.BResult_100361105()); __byps__remoteT.GetInt(BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(null, e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { RemoteServerCtrl __byps__remoteT = (RemoteServerCtrl)__byps__remote; BAsyncResultSendMethod<Object> __byps__outerResult = new BAsyncResultSendMethod<Object>(__byps__asyncResult, new byps.test.api.BResult_19()); __byps__remoteT.PublishRemote(nameValue, remoteValue, fowardToOtherServersValue, BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(null, e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { FileSystemService __byps__remoteT = (FileSystemService)__byps__remote; BAsyncResultSendMethod<Object> __byps__outerResult = new BAsyncResultSendMethod<Object>(__byps__asyncResult, new BResult_19()); __byps__remoteT.ExecuteNotifyExit(argsValue, optsValue, BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(null, e); } }
public override void execute(BRemote __byps__remote, BAsyncResultIF<Object> __byps__asyncResult) { // checkpoint byps.gen.cs.GenApiClass:406 try { BioFruitService __byps__remoteT = (BioFruitService)__byps__remote; BAsyncResultSendMethod<bool> __byps__outerResult = new BAsyncResultSendMethod<bool>(__byps__asyncResult, new byps.test.api.BResult_1()); __byps__remoteT.Certify(paramValue, BAsyncResultHelper.ToDelegate(__byps__outerResult)); } catch (Exception e) { __byps__asyncResult.setAsyncResult(false, e); } }
public void negotiateProtocolClient(BAsyncResultIF <Boolean> asyncResult) { if (log.isDebugEnabled()) { log.debug("negotiateProtocolClient("); } if (log.isDebugEnabled()) { log.debug("negotiateActive=" + negotiateActive); } // Check that we do not run into recursive authentication requests. lock (asyncResultsWaitingForAuthentication) { // Already have an active negotiation request? if (negotiateActive) { // Are there threads waiting? if (asyncResultsWaitingForAuthentication.Count != 0) { // Most likely slow or recursive authentication BException ex = new BException(BExceptionC.FORBIDDEN, "Authentication procedure failed. Server returned 401 for every request. " + "A common reason for this error is slow authentication handling."); // ... or calling a function that requires authentication in BAuthentication.authenticate() - see. TestRemoteWithAuthentication.testAuthenticateBlocksRecursion asyncResult.setAsyncResult(false, ex); return; } else { // Correction: if no threads are waiting then there cannot be an aktive negotiation request. negotiateActive = true; } } else { // Now, this is the active negotiation request. negotiateActive = true; } } ByteBuffer buf = ByteBuffer.allocate(BNegotiate.NEGOTIATE_MAX_SIZE); BNegotiate nego = new BNegotiate(apiDesc); nego.write(buf); buf.flip(); BAsyncResultIF <BMessage> outerResult = new MyNegoAsyncResult(this, asyncResult); if (log.isDebugEnabled()) { log.debug("wire.send"); } BMessageHeader header = new BMessageHeader(); header.messageId = wire.makeMessageId(); BMessage msg = new BMessage(header, buf, null); wire.send(msg, outerResult); if (log.isDebugEnabled()) { log.debug(")negotiateProtocolClient"); } }
public MethodResult(BTransport transport, BAsyncResultIF <BMessage> asyncResult, BInput bin) { this.transport = transport; this.asyncResult = asyncResult; this.bin = bin; }
public override void sendR(BMessage msg, BAsyncResultIF <BMessage> asyncResult) { internalSend(msg, asyncResult); }
public abstract void execute(BRemote target, BAsyncResultIF <Object> asyncResult);
public MyNegoAsyncResult(BTransport transport, BAsyncResultIF <bool> innerResult) { this.transport = transport; this.innerResult = innerResult; }
public BAsyncResultSendMethod(BAsyncResultIF <Object> innerResult, BMethodResult <T> methodResult) { this.innerResult = innerResult; this.methodResult = methodResult; }
public MyAsyncResultRelogin(BTransport transport, BMethodRequest methodRequest, BAsyncResultIF <T> innerResult) { this.transport = transport; this.methodRequest = methodRequest; this.innerResult = innerResult; }