Beispiel #1
0
 public static void Invoke_MethodWithSimpleParameters(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions)
 {
     string paramA = @__Message.ReadUtf8String("paramA");
     int paramB = @__Message.ReadInt32("paramB");
     ((ITestService)(@__Instance)).MethodWithSimpleParameters(paramA, paramB);
     @__Message.InitializeResponseMessage(@__ServerChannelInfo, "TestLibrary", "TestService", "MethodWithSimpleParametersResponse");
     @__Message.FinalizeMessage();
     @__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roNoResponse;
 }
Beispiel #2
0
 public static void Invoke_MethodWithResult(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions)
 {
     string param1 = @__Message.ReadUtf8String("param1");
     int param2 = @__Message.ReadInt32("param2");
     bool Result;
     Result = ((ITestService)(@__Instance)).MethodWithResult(param1, param2);
     @__Message.InitializeResponseMessage(@__ServerChannelInfo, "TestLibrary", "TestService", "MethodWithResultResponse");
     @__Message.WriteBoolean("Result", Result);
     @__Message.FinalizeMessage();
     @__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
 }