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);
     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);
 }
Beispiel #3
0
 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.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);
 }
Beispiel #4
0
 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.WithServerStreamingMethod <global::Google.Protobuf.WellKnownTypes.Empty, global::Plexus.Interop.Apps.Internal.Generated.AppMetadataChangedEvent>(global::Plexus.Interop.Apps.Internal.Generated.AppMetadataService.GetAppMetadataChangedEventStreamMethodId, _impl.GetAppMetadataChangedEventStream);
     builder = builder.WithServerStreamingMethod <global::Google.Protobuf.WellKnownTypes.Empty, global::Plexus.Interop.Apps.Internal.Generated.MetamodelChangedEvent>(global::Plexus.Interop.Apps.Internal.Generated.AppMetadataService.GetMetamodelChangedEventStreamMethodId, _impl.GetMetamodelChangedEventStream);
     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);
 }