Exemplo n.º 1
0
 public Descriptor(string alias)
 {
     ResolveAppMethod = Method.Unary <global::Plexus.Host.Internal.Generated.ResolveAppRequest, global::Plexus.Host.Internal.Generated.ResolveAppResponse>(Id, alias, ResolveAppMethodId);
     GetLifecycleEventStreamMethod  = Method.ServerStreaming <global::Google.Protobuf.WellKnownTypes.Empty, global::Plexus.Host.Internal.Generated.AppLifecycleEvent>(Id, alias, GetLifecycleEventStreamMethodId);
     GetInvocationEventStreamMethod = Method.ServerStreaming <global::Google.Protobuf.WellKnownTypes.Empty, global::Plexus.Host.Internal.Generated.InvocationEvent>(Id, alias, GetInvocationEventStreamMethodId);
     GetConnectionsMethod           = Method.Unary <global::Plexus.Host.Internal.Generated.GetConnectionsRequest, global::Plexus.Host.Internal.Generated.GetConnectionsResponse>(Id, alias, GetConnectionsMethodId);
     GetConnectionsStreamMethod     = Method.ServerStreaming <global::Plexus.Host.Internal.Generated.GetConnectionsRequest, global::Plexus.Host.Internal.Generated.GetConnectionsEvent>(Id, alias, GetConnectionsStreamMethodId);
 }
 public Descriptor(string alias)
 {
     GetAppMetadataChangedEventStreamMethod = Method.ServerStreaming <global::Google.Protobuf.WellKnownTypes.Empty, global::Plexus.Interop.Apps.Internal.Generated.AppMetadataChangedEvent>(Id, alias, GetAppMetadataChangedEventStreamMethodId);
     GetMetamodelChangedEventStreamMethod   = Method.ServerStreaming <global::Google.Protobuf.WellKnownTypes.Empty, global::Plexus.Interop.Apps.Internal.Generated.MetamodelChangedEvent>(Id, alias, GetMetamodelChangedEventStreamMethodId);
 }
Exemplo n.º 3
0
 public Descriptor()
 {
     ResolveAppMethod = Method.Unary <global::Plexus.Interop.Testing.Generated.ResolveAppRequest, global::Plexus.Interop.Testing.Generated.ResolveAppResponse>(Id, ResolveAppMethodId);
     GetLifecycleEventStreamMethod  = Method.ServerStreaming <global::Google.Protobuf.WellKnownTypes.Empty, global::Plexus.Interop.Testing.Generated.AppLifecycleEvent>(Id, GetLifecycleEventStreamMethodId);
     GetInvocationEventStreamMethod = Method.ServerStreaming <global::Google.Protobuf.WellKnownTypes.Empty, global::Plexus.Interop.Testing.Generated.InvocationEvent>(Id, GetInvocationEventStreamMethodId);
 }
Exemplo n.º 4
0
 public Descriptor(string alias)
 {
     ResolveAppMethod = Method.Unary <global::Plexus.Interop.Apps.Internal.Generated.ResolveAppRequest, global::Plexus.Interop.Apps.Internal.Generated.ResolveAppResponse>(Id, alias, ResolveAppMethodId);
     GetLifecycleEventStreamMethod = Method.ServerStreaming <global::Plexus.Interop.Apps.Internal.Generated.Empty, global::Plexus.Interop.Apps.Internal.Generated.AppLifecycleEvent>(Id, alias, GetLifecycleEventStreamMethodId);
 }
Exemplo n.º 5
0
 public Descriptor(string alias)
 {
     LaunchMethod = Method.Unary <global::Plexus.Interop.Testing.Generated.AppLaunchRequest, global::Plexus.Interop.Testing.Generated.AppLaunchResponse>(Id, alias, LaunchMethodId);
     AppLaunchedEventStreamMethod = Method.ServerStreaming <global::Google.Protobuf.WellKnownTypes.Empty, global::Plexus.Interop.Testing.Generated.AppLaunchedEvent>(Id, alias, AppLaunchedEventStreamMethodId);
 }
 public static ServerStreamingMethodDiscoveryQuery <TRequest, TResponse> Create <TRequest, TResponse>(ServerStreamingMethod <TRequest, TResponse> method)
 => new ServerStreamingMethodDiscoveryQuery <TRequest, TResponse>(method.Reference);