Пример #1
0
 public Descriptor(string alias)
 {
     ContextLoadedStreamMethod     = Method.ServerStreaming <global::Plexus.Interop.Testing.Generated.Context, global::Plexus.Interop.Testing.Generated.ContextLoadingUpdate>(Id, alias, ContextLoadedStreamMethodId);
     CreateContextMethod           = Method.Unary <global::Google.Protobuf.WellKnownTypes.Empty, global::Plexus.Interop.Testing.Generated.Context>(Id, alias, CreateContextMethodId);
     JoinContextMethod             = Method.Unary <global::Plexus.Interop.Testing.Generated.Context, global::Google.Protobuf.WellKnownTypes.Empty>(Id, alias, JoinContextMethodId);
     GetContextsMethod             = Method.Unary <global::Google.Protobuf.WellKnownTypes.Empty, global::Plexus.Interop.Testing.Generated.ContextsList>(Id, alias, GetContextsMethodId);
     GetLinkedInvocationsMethod    = Method.Unary <global::Plexus.Interop.Testing.Generated.Context, global::Plexus.Interop.Testing.Generated.InvocationsList>(Id, alias, GetLinkedInvocationsMethodId);
     GetAllLinkedInvocationsMethod = Method.Unary <global::Google.Protobuf.WellKnownTypes.Empty, global::Plexus.Interop.Testing.Generated.ContextToInvocationsList>(Id, alias, GetAllLinkedInvocationsMethodId);
 }
Пример #2
0
 public Descriptor()
 {
     ContextLoadedStreamMethod     = Method.ServerStreaming <global::Plexus.Interop.Testing.Generated.Context, global::Plexus.Interop.Testing.Generated.ContextLoadingUpdate>(Id, ContextLoadedStreamMethodId);
     CreateContextMethod           = Method.Unary <global::Google.Protobuf.WellKnownTypes.Empty, global::Plexus.Interop.Testing.Generated.Context>(Id, CreateContextMethodId);
     JoinContextMethod             = Method.Unary <global::Plexus.Interop.Testing.Generated.Context, global::Google.Protobuf.WellKnownTypes.Empty>(Id, JoinContextMethodId);
     GetContextsMethod             = Method.Unary <global::Google.Protobuf.WellKnownTypes.Empty, global::Plexus.Interop.Testing.Generated.ContextsList>(Id, GetContextsMethodId);
     GetLinkedInvocationsMethod    = Method.Unary <global::Plexus.Interop.Testing.Generated.Context, global::Plexus.Interop.Testing.Generated.InvocationsList>(Id, GetLinkedInvocationsMethodId);
     GetAllLinkedInvocationsMethod = Method.Unary <global::Google.Protobuf.WellKnownTypes.Empty, global::Plexus.Interop.Testing.Generated.ContextToInvocationsList>(Id, GetAllLinkedInvocationsMethodId);
     AppJoinedContextStreamMethod  = Method.ServerStreaming <global::Google.Protobuf.WellKnownTypes.Empty, global::Plexus.Interop.Testing.Generated.AppJoinedContextEvent>(Id, AppJoinedContextStreamMethodId);
     RestoreContextsLinkageMethod  = Method.Unary <global::Plexus.Interop.Testing.Generated.RestoreContextsLinkageRequest, global::Plexus.Interop.Testing.Generated.RestoreContextsLinkageResponse>(Id, RestoreContextsLinkageMethodId);
 }
Пример #3
0
 public Descriptor(string alias)
 {
     GetRateMethod = Method.Unary <global::Plexus.Interop.Samples.CcyPairRateViewer.Generated.CcyPair, global::Plexus.Interop.Samples.CcyPairRateViewer.Generated.CcyPairRate>(Id, alias, GetRateMethodId);
 }
Пример #4
0
 public Descriptor()
 {
     GetRateMethod = Method.Unary <global::Plexus.Interop.Samples.CcyPairRateProvider.Generated.CcyPair, global::Plexus.Interop.Samples.CcyPairRateProvider.Generated.CcyPairRate>(Id, GetRateMethodId);
 }
 public Descriptor(string alias)
 {
     LaunchMethod = Method.Unary <global::Plexus.Interop.Testing.Generated.AppLaunchRequest, global::Plexus.Interop.Testing.Generated.AppLaunchResponse>(Id, alias, LaunchMethodId);
 }
Пример #6
0
 public Descriptor()
 {
     LaunchMethod = Method.Unary <global::Plexus.Interop.Apps.Internal.Generated.AppLaunchRequest, global::Plexus.Interop.Apps.Internal.Generated.AppLaunchResponse>(Id, LaunchMethodId);
 }
Пример #7
0
 public Descriptor(string alias)
 {
     HelloMethod = Method.Unary <global::Plexus.Interop.Testing.Generated.GreetingRequest, global::Plexus.Interop.Testing.Generated.GreetingResponse>(Id, alias, HelloMethodId);
 }
 public static UnaryMethodDiscoveryQuery <TRequest, TResponse> Create <TRequest, TResponse>(UnaryMethod <TRequest, TResponse> method)
 => new UnaryMethodDiscoveryQuery <TRequest, TResponse>(method.Reference);
Пример #9
0
 public Descriptor(string alias)
 {
     RequestInstanceIdMethod  = Method.Unary <global::Plexus.Interop.Testing.Generated.RequestInstanceIdRequest, global::Plexus.Interop.Testing.Generated.UniqueId>(Id, alias, RequestInstanceIdMethodId);
     RegisterInstanceIdMethod = Method.Unary <global::Plexus.Interop.Testing.Generated.RegisterInstanceIdRequest, global::Plexus.Interop.Testing.Generated.RegisterInstanceIdResponse>(Id, alias, RegisterInstanceIdMethodId);
 }
Пример #10
0
 public Descriptor()
 {
     RequestInstanceIdMethod  = Method.Unary <global::Plexus.Interop.Apps.Internal.Generated.RequestInstanceIdRequest, global::Plexus.Interop.Apps.Internal.Generated.UniqueId>(Id, RequestInstanceIdMethodId);
     RegisterInstanceIdMethod = Method.Unary <global::Plexus.Interop.Apps.Internal.Generated.RegisterInstanceIdRequest, global::Plexus.Interop.Apps.Internal.Generated.RegisterInstanceIdResponse>(Id, RegisterInstanceIdMethodId);
 }
Пример #11
0
 public Descriptor(string alias)
 {
     ResolveAppMethod = Method.Unary <global::Plexus.Host.Internal.Generated.ResolveAppRequest, global::Plexus.Host.Internal.Generated.ResolveAppResponse>(Id, alias, ResolveAppMethodId);
 }