private ProvidedServiceDefinition.Builder Bind(ProvidedServiceDefinition.Builder builder) { builder = builder.WithUnaryMethod <global::Plexus.Interop.Apps.Internal.Generated.ResolveAppRequest, global::Plexus.Interop.Apps.Internal.Generated.ResolveAppResponse>(global::Plexus.Interop.Apps.Internal.Generated.AppLifecycleService.ResolveAppMethodId, _impl.ResolveApp); builder = builder.WithServerStreamingMethod <global::Google.Protobuf.WellKnownTypes.Empty, global::Plexus.Interop.Apps.Internal.Generated.AppLifecycleEvent>(global::Plexus.Interop.Apps.Internal.Generated.AppLifecycleService.GetLifecycleEventStreamMethodId, _impl.GetLifecycleEventStream); builder = builder.WithServerStreamingMethod <global::Google.Protobuf.WellKnownTypes.Empty, global::Plexus.Interop.Apps.Internal.Generated.InvocationEvent>(global::Plexus.Interop.Apps.Internal.Generated.AppLifecycleService.GetInvocationEventStreamMethodId, _impl.GetInvocationEventStream); builder = builder.WithUnaryMethod <global::Plexus.Interop.Apps.Internal.Generated.GetConnectionsRequest, global::Plexus.Interop.Apps.Internal.Generated.GetConnectionsResponse>(global::Plexus.Interop.Apps.Internal.Generated.AppLifecycleService.GetConnectionsMethodId, _impl.GetConnections); builder = builder.WithServerStreamingMethod <global::Plexus.Interop.Apps.Internal.Generated.GetConnectionsRequest, global::Plexus.Interop.Apps.Internal.Generated.GetConnectionsEvent>(global::Plexus.Interop.Apps.Internal.Generated.AppLifecycleService.GetConnectionsStreamMethodId, _impl.GetConnectionsStream); return(builder); }
private ProvidedServiceDefinition.Builder Bind(ProvidedServiceDefinition.Builder builder) { builder = builder.WithUnaryMethod <global::Plexus.Interop.Testing.Generated.EchoRequest, global::Plexus.Interop.Testing.Generated.EchoRequest>(global::Plexus.Interop.Testing.Generated.EchoService.UnaryMethodId, _impl.Unary); builder = builder.WithServerStreamingMethod <global::Plexus.Interop.Testing.Generated.EchoRequest, global::Plexus.Interop.Testing.Generated.EchoRequest>(global::Plexus.Interop.Testing.Generated.EchoService.ServerStreamingMethodId, _impl.ServerStreaming); builder = builder.WithClientStreamingMethod <global::Plexus.Interop.Testing.Generated.EchoRequest, global::Plexus.Interop.Testing.Generated.EchoRequest>(global::Plexus.Interop.Testing.Generated.EchoService.ClientStreamingMethodId, _impl.ClientStreaming); builder = builder.WithDuplexStreamingMethod <global::Plexus.Interop.Testing.Generated.EchoRequest, global::Plexus.Interop.Testing.Generated.EchoRequest>(global::Plexus.Interop.Testing.Generated.EchoService.DuplexStreamingMethodId, _impl.DuplexStreaming); return(builder); }
private ProvidedServiceDefinition.Builder Bind(ProvidedServiceDefinition.Builder builder) { builder = builder.WithServerStreamingMethod <global::Plexus.Interop.Apps.Internal.Generated.Context, global::Plexus.Interop.Apps.Internal.Generated.ContextLoadingUpdate>(global::Plexus.Interop.Apps.Internal.Generated.ContextLinkageService.ContextLoadedStreamMethodId, _impl.ContextLoadedStream); builder = builder.WithUnaryMethod <global::Google.Protobuf.WellKnownTypes.Empty, global::Plexus.Interop.Apps.Internal.Generated.Context>(global::Plexus.Interop.Apps.Internal.Generated.ContextLinkageService.CreateContextMethodId, _impl.CreateContext); builder = builder.WithUnaryMethod <global::Plexus.Interop.Apps.Internal.Generated.CreateContextRequest, global::Plexus.Interop.Apps.Internal.Generated.Context>(global::Plexus.Interop.Apps.Internal.Generated.ContextLinkageService.CreateContext2MethodId, _impl.CreateContext2); builder = builder.WithUnaryMethod <global::Plexus.Interop.Apps.Internal.Generated.Context, global::Google.Protobuf.WellKnownTypes.Empty>(global::Plexus.Interop.Apps.Internal.Generated.ContextLinkageService.JoinContextMethodId, _impl.JoinContext); builder = builder.WithUnaryMethod <global::Google.Protobuf.WellKnownTypes.Empty, global::Plexus.Interop.Apps.Internal.Generated.ContextsList>(global::Plexus.Interop.Apps.Internal.Generated.ContextLinkageService.GetContextsMethodId, _impl.GetContexts); builder = builder.WithUnaryMethod <global::Plexus.Interop.Apps.Internal.Generated.Context, global::Plexus.Interop.Apps.Internal.Generated.InvocationsList>(global::Plexus.Interop.Apps.Internal.Generated.ContextLinkageService.GetLinkedInvocationsMethodId, _impl.GetLinkedInvocations); builder = builder.WithUnaryMethod <global::Google.Protobuf.WellKnownTypes.Empty, global::Plexus.Interop.Apps.Internal.Generated.ContextToInvocationsList>(global::Plexus.Interop.Apps.Internal.Generated.ContextLinkageService.GetAllLinkedInvocationsMethodId, _impl.GetAllLinkedInvocations); builder = builder.WithServerStreamingMethod <global::Google.Protobuf.WellKnownTypes.Empty, global::Plexus.Interop.Apps.Internal.Generated.AppJoinedContextEvent>(global::Plexus.Interop.Apps.Internal.Generated.ContextLinkageService.AppJoinedContextStreamMethodId, _impl.AppJoinedContextStream); builder = builder.WithUnaryMethod <global::Plexus.Interop.Apps.Internal.Generated.RestoreContextsLinkageRequest, global::Plexus.Interop.Apps.Internal.Generated.RestoreContextsLinkageResponse>(global::Plexus.Interop.Apps.Internal.Generated.ContextLinkageService.RestoreContextsLinkageMethodId, _impl.RestoreContextsLinkage); return(builder); }
private ProvidedServiceDefinition.Builder Bind(ProvidedServiceDefinition.Builder builder) { builder = builder.WithUnaryMethod <global::Plexus.Interop.Apps.Internal.Generated.ResolveAppRequest, global::Plexus.Interop.Apps.Internal.Generated.ResolveAppResponse>(global::Plexus.Interop.Apps.Internal.Generated.AppLifecycleService.ResolveAppMethodId, _impl.ResolveApp); builder = builder.WithServerStreamingMethod <global::Plexus.Interop.Apps.Internal.Generated.Empty, global::Plexus.Interop.Apps.Internal.Generated.AppLifecycleEvent>(global::Plexus.Interop.Apps.Internal.Generated.AppLifecycleService.GetLifecycleEventStreamMethodId, _impl.GetLifecycleEventStream); return(builder); }
private ProvidedServiceDefinition.Builder Bind(ProvidedServiceDefinition.Builder builder) { builder = builder.WithUnaryMethod <global::Plexus.Interop.Testing.Generated.AppLaunchRequest, global::Plexus.Interop.Testing.Generated.AppLaunchResponse>(global::Plexus.Interop.Testing.Generated.AppLauncherService.LaunchMethodId, _impl.Launch); return(builder); }
private ProvidedServiceDefinition.Builder Bind(ProvidedServiceDefinition.Builder builder) { builder = builder.WithUnaryMethod <global::Plexus.Interop.Apps.Internal.Generated.AppLaunchRequest, global::Plexus.Interop.Apps.Internal.Generated.AppLaunchResponse>(global::Plexus.Interop.Apps.Internal.Generated.AppLauncherService.LaunchMethodId, _impl.Launch); builder = builder.WithServerStreamingMethod <global::Google.Protobuf.WellKnownTypes.Empty, global::Plexus.Interop.Apps.Internal.Generated.AppLaunchedEvent>(global::Plexus.Interop.Apps.Internal.Generated.AppLauncherService.AppLaunchedEventStreamMethodId, _impl.AppLaunchedEventStream); return(builder); }
private ProvidedServiceDefinition.Builder Bind(ProvidedServiceDefinition.Builder builder) { builder = builder.WithUnaryMethod <global::Plexus.Interop.Testing.Generated.GreetingRequest, global::Plexus.Interop.Testing.Generated.GreetingResponse>(global::Plexus.Interop.Testing.Generated.GreetingService.HelloMethodId, _impl.Hello); return(builder); }
private ProvidedServiceDefinition.Builder Bind(ProvidedServiceDefinition.Builder builder) { builder = builder.WithUnaryMethod <global::Plexus.Interop.Apps.Internal.Generated.RequestInstanceIdRequest, global::Plexus.Interop.Apps.Internal.Generated.UniqueId>(global::Plexus.Interop.Apps.Internal.Generated.AppRegistrationService.RequestInstanceIdMethodId, _impl.RequestInstanceId); builder = builder.WithUnaryMethod <global::Plexus.Interop.Apps.Internal.Generated.RegisterInstanceIdRequest, global::Plexus.Interop.Apps.Internal.Generated.RegisterInstanceIdResponse>(global::Plexus.Interop.Apps.Internal.Generated.AppRegistrationService.RegisterInstanceIdMethodId, _impl.RegisterInstanceId); return(builder); }
private ProvidedServiceDefinition.Builder Bind(ProvidedServiceDefinition.Builder builder) { builder = builder.WithUnaryMethod <global::Plexus.Interop.Samples.CcyPairRateProvider.Generated.CcyPair, global::Plexus.Interop.Samples.CcyPairRateProvider.Generated.CcyPairRate>(global::Plexus.Interop.Samples.CcyPairRateProvider.Generated.CcyPairRateService.GetRateMethodId, _impl.GetRate); return(builder); }