// checkpoint byps.gen.cs.GenRemoteStub:133 public async Task <bool> Compare_AllTypesCAsync(bool bool1s, bool bool2s, char char1s, String stringNull, char char2s, short short1s, int int1s, long long1s, float float1s, double double1s, String string1s, byps.test.api.cons.AllTypesZ ALL, int[] arrInt, int[,,,] arrInt4, String[] arrStrings, String[,,,] arrStrings4, byps.test.api.cons.AllTypesZ[,] arrAll) { BRequest_RemoteConstants_compare_AllTypesC req = new BRequest_RemoteConstants_compare_AllTypesC(); req.bool1sValue = bool1s; req.bool2sValue = bool2s; req.char1sValue = char1s; req.stringNullValue = stringNull; req.char2sValue = char2s; req.short1sValue = short1s; req.int1sValue = int1s; req.long1sValue = long1s; req.float1sValue = float1s; req.double1sValue = double1s; req.string1sValue = string1s; req.ALLValue = ALL; req.arrIntValue = arrInt; req.arrInt4Value = arrInt4; req.arrStringsValue = arrStrings; req.arrStrings4Value = arrStrings4; req.arrAllValue = arrAll; Task <bool> task = Task <bool> .Factory.FromAsync(transport.BeginSend <bool>, transport.EndSend <bool>, req, null); return(await task); }
public override Object read(Object obj1, BInput bin1, long version) { BInputBin bin = (BInputBin)bin1; BRequest_RemoteConstants_compare_AllTypesC obj = (BRequest_RemoteConstants_compare_AllTypesC)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemoteConstants_compare_AllTypesC())); BBufferBin bbuf = bin.bbuf; // checkpoint byps.gen.cs.PrintContext:449 obj.bool1sValue = bbuf.getBoolean(); // checkpoint byps.gen.cs.PrintContext:449 obj.bool2sValue = bbuf.getBoolean(); // checkpoint byps.gen.cs.PrintContext:449 obj.char1sValue = bbuf.getChar(); // checkpoint byps.gen.cs.PrintContext:449 obj.char2sValue = bbuf.getChar(); // checkpoint byps.gen.cs.PrintContext:449 obj.double1sValue = bbuf.getDouble(); // checkpoint byps.gen.cs.PrintContext:449 obj.float1sValue = bbuf.getFloat(); // checkpoint byps.gen.cs.PrintContext:449 obj.int1sValue = bbuf.getInt(); // checkpoint byps.gen.cs.PrintContext:449 obj.long1sValue = bbuf.getLong(); // checkpoint byps.gen.cs.PrintContext:449 obj.short1sValue = bbuf.getShort(); // checkpoint byps.gen.cs.PrintContext:449 obj.string1sValue = bbuf.getString(); // checkpoint byps.gen.cs.PrintContext:449 obj.stringNullValue = bbuf.getString(); // checkpoint byps.gen.cs.PrintContext:449 obj.ALLValue = (byps.test.api.cons.AllTypesZ)bin.readObj(false, null); // checkpoint byps.gen.cs.PrintContext:449 obj.arrAllValue = (byps.test.api.cons.AllTypesZ[, ])bin.readObj(false, byps.test.api.BSerializer_81775365.instance); // checkpoint byps.gen.cs.PrintContext:449 obj.arrIntValue = (int[])bin.readObj(false, byps.test.api.BSerializer_100361105.instance); // checkpoint byps.gen.cs.PrintContext:449 obj.arrInt4Value = (int[, , , ])bin.readObj(false, byps.test.api.BSerializer_39910537.instance); // checkpoint byps.gen.cs.PrintContext:449 obj.arrStringsValue = (String[])bin.readObj(false, byps.test.api.BSerializer_1888107655.instance); // checkpoint byps.gen.cs.PrintContext:449 obj.arrStrings4Value = (String[, , , ])bin.readObj(false, byps.test.api.BSerializer_588723219.instance); return(obj); }
public override void write(Object obj1, BOutput bout1, long version) { BRequest_RemoteConstants_compare_AllTypesC obj = (BRequest_RemoteConstants_compare_AllTypesC)obj1; BOutputBin bout = (BOutputBin)bout1; BBufferBin bbuf = bout.bbuf; // checkpoint byps.gen.cs.PrintContext:494 bbuf.putBoolean(obj.bool1sValue); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putBoolean(obj.bool2sValue); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putChar(obj.char1sValue); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putChar(obj.char2sValue); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putDouble(obj.double1sValue); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putFloat(obj.float1sValue); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putInt(obj.int1sValue); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putLong(obj.long1sValue); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putShort(obj.short1sValue); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putString(obj.string1sValue); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putString(obj.stringNullValue); // checkpoint byps.gen.cs.PrintContext:494 bout.writeObj(obj.ALLValue, false, null); // checkpoint byps.gen.cs.PrintContext:494 bout.writeObj(obj.arrAllValue, false, byps.test.api.BSerializer_81775365.instance); // checkpoint byps.gen.cs.PrintContext:494 bout.writeObj(obj.arrIntValue, false, byps.test.api.BSerializer_100361105.instance); // checkpoint byps.gen.cs.PrintContext:494 bout.writeObj(obj.arrInt4Value, false, byps.test.api.BSerializer_39910537.instance); // checkpoint byps.gen.cs.PrintContext:494 bout.writeObj(obj.arrStringsValue, true, byps.test.api.BSerializer_1888107655.instance); // checkpoint byps.gen.cs.PrintContext:494 bout.writeObj(obj.arrStrings4Value, true, byps.test.api.BSerializer_588723219.instance); }
public virtual void Compare_AllTypesC(bool bool1s, bool bool2s, char char1s, String stringNull, char char2s, short short1s, int int1s, long long1s, float float1s, double double1s, String string1s, byps.test.api.cons.AllTypesZ ALL, int[] arrInt, int[,,,] arrInt4, String[] arrStrings, String[,,,] arrStrings4, byps.test.api.cons.AllTypesZ[,] arrAll, BAsyncResult<bool> asyncResult) { BRequest_RemoteConstants_compare_AllTypesC req = new BRequest_RemoteConstants_compare_AllTypesC(); req.bool1sValue = bool1s; req.bool2sValue = bool2s; req.char1sValue = char1s; req.stringNullValue = stringNull; req.char2sValue = char2s; req.short1sValue = short1s; req.int1sValue = int1s; req.long1sValue = long1s; req.float1sValue = float1s; req.double1sValue = double1s; req.string1sValue = string1s; req.ALLValue = ALL; req.arrIntValue = arrInt; req.arrInt4Value = arrInt4; req.arrStringsValue = arrStrings; req.arrStrings4Value = arrStrings4; req.arrAllValue = arrAll; transport.sendMethod(req, asyncResult); }
// checkpoint byps.gen.cs.GenRemoteStub:133 public async Task<bool> Compare_AllTypesCAsync(bool bool1s, bool bool2s, char char1s, String stringNull, char char2s, short short1s, int int1s, long long1s, float float1s, double double1s, String string1s, byps.test.api.cons.AllTypesZ ALL, int[] arrInt, int[,,,] arrInt4, String[] arrStrings, String[,,,] arrStrings4, byps.test.api.cons.AllTypesZ[,] arrAll){ BRequest_RemoteConstants_compare_AllTypesC req = new BRequest_RemoteConstants_compare_AllTypesC(); req.bool1sValue = bool1s; req.bool2sValue = bool2s; req.char1sValue = char1s; req.stringNullValue = stringNull; req.char2sValue = char2s; req.short1sValue = short1s; req.int1sValue = int1s; req.long1sValue = long1s; req.float1sValue = float1s; req.double1sValue = double1s; req.string1sValue = string1s; req.ALLValue = ALL; req.arrIntValue = arrInt; req.arrInt4Value = arrInt4; req.arrStringsValue = arrStrings; req.arrStrings4Value = arrStrings4; req.arrAllValue = arrAll; Task<bool> task = Task<bool>.Factory.FromAsync(transport.BeginSend<bool>, transport.EndSend<bool>, req, null); return await task; }
public virtual void Compare_AllTypesC(bool bool1s, bool bool2s, char char1s, String stringNull, char char2s, short short1s, int int1s, long long1s, float float1s, double double1s, String string1s, byps.test.api.cons.AllTypesZ ALL, int[] arrInt, int[,,,] arrInt4, String[] arrStrings, String[,,,] arrStrings4, byps.test.api.cons.AllTypesZ[,] arrAll, BAsyncResult <bool> asyncResult) { BRequest_RemoteConstants_compare_AllTypesC req = new BRequest_RemoteConstants_compare_AllTypesC(); req.bool1sValue = bool1s; req.bool2sValue = bool2s; req.char1sValue = char1s; req.stringNullValue = stringNull; req.char2sValue = char2s; req.short1sValue = short1s; req.int1sValue = int1s; req.long1sValue = long1s; req.float1sValue = float1s; req.double1sValue = double1s; req.string1sValue = string1s; req.ALLValue = ALL; req.arrIntValue = arrInt; req.arrInt4Value = arrInt4; req.arrStringsValue = arrStrings; req.arrStrings4Value = arrStrings4; req.arrAllValue = arrAll; transport.sendMethod(req, asyncResult); }