diff --git a/IntegrationTests/grpc-performance-tests/Sources/Generated/grpc_testing_benchmark_service.grpc.swift b/IntegrationTests/grpc-performance-tests/Sources/Generated/grpc_testing_benchmark_service.grpc.swift index 8e54201..ac94821 100644 --- a/IntegrationTests/grpc-performance-tests/Sources/Generated/grpc_testing_benchmark_service.grpc.swift +++ b/IntegrationTests/grpc-performance-tests/Sources/Generated/grpc_testing_benchmark_service.grpc.swift @@ -26,7 +26,6 @@ import GRPCCore import GRPCProtobuf -import SwiftProtobuf // MARK: - grpc.testing.BenchmarkService @@ -437,7 +436,7 @@ extension Grpc_Testing_BenchmarkService { // Default implementation of 'registerMethods(with:)'. extension Grpc_Testing_BenchmarkService.StreamingServiceProtocol { - internal func registerMethods(with router: inout GRPCCore.RPCRouter) { + internal func registerMethods(with router: inout GRPCCore.RPCRouter) where Transport: GRPCCore.ServerTransport { router.registerHandler( forMethod: Grpc_Testing_BenchmarkService.Method.UnaryCall.descriptor, deserializer: GRPCProtobuf.ProtobufDeserializer(), @@ -747,14 +746,14 @@ extension Grpc_Testing_BenchmarkService { /// The ``Client`` provides an implementation of ``ClientProtocol`` which wraps /// a `GRPCCore.GRPCCClient`. The underlying `GRPCClient` provides the long-lived /// means of communication with the remote peer. - internal struct Client: ClientProtocol { - private let client: GRPCCore.GRPCClient + internal struct Client: ClientProtocol where Transport: GRPCCore.ClientTransport { + private let client: GRPCCore.GRPCClient /// Creates a new client wrapping the provided `GRPCCore.GRPCClient`. /// /// - Parameters: /// - client: A `GRPCCore.GRPCClient` providing a communication channel to the service. - internal init(wrapping client: GRPCCore.GRPCClient) { + internal init(wrapping client: GRPCCore.GRPCClient) { self.client = client } diff --git a/IntegrationTests/grpc-performance-tests/Sources/Generated/grpc_testing_control.grpc.swift b/IntegrationTests/grpc-performance-tests/Sources/Generated/grpc_testing_control.grpc.swift new file mode 100644 index 0000000..dac040b --- /dev/null +++ b/IntegrationTests/grpc-performance-tests/Sources/Generated/grpc_testing_control.grpc.swift @@ -0,0 +1,24 @@ +// Copyright 2015 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// DO NOT EDIT. +// swift-format-ignore-file +// +// Generated by the gRPC Swift generator plugin for the protocol buffer compiler. +// Source: grpc/testing/control.proto +// +// For information on using the generated types, please see the documentation: +// https://github.com/grpc/grpc-swift + +// This file contained no services. \ No newline at end of file diff --git a/IntegrationTests/grpc-performance-tests/Sources/Generated/grpc_testing_messages.grpc.swift b/IntegrationTests/grpc-performance-tests/Sources/Generated/grpc_testing_messages.grpc.swift new file mode 100644 index 0000000..fc8dfa8 --- /dev/null +++ b/IntegrationTests/grpc-performance-tests/Sources/Generated/grpc_testing_messages.grpc.swift @@ -0,0 +1,26 @@ +// Copyright 2015-2016 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Message definitions to be used by integration test service definitions. + +// DO NOT EDIT. +// swift-format-ignore-file +// +// Generated by the gRPC Swift generator plugin for the protocol buffer compiler. +// Source: grpc/testing/messages.proto +// +// For information on using the generated types, please see the documentation: +// https://github.com/grpc/grpc-swift + +// This file contained no services. \ No newline at end of file diff --git a/IntegrationTests/grpc-performance-tests/Sources/Generated/grpc_testing_payloads.grpc.swift b/IntegrationTests/grpc-performance-tests/Sources/Generated/grpc_testing_payloads.grpc.swift new file mode 100644 index 0000000..ec05e33 --- /dev/null +++ b/IntegrationTests/grpc-performance-tests/Sources/Generated/grpc_testing_payloads.grpc.swift @@ -0,0 +1,24 @@ +// Copyright 2015 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// DO NOT EDIT. +// swift-format-ignore-file +// +// Generated by the gRPC Swift generator plugin for the protocol buffer compiler. +// Source: grpc/testing/payloads.proto +// +// For information on using the generated types, please see the documentation: +// https://github.com/grpc/grpc-swift + +// This file contained no services. \ No newline at end of file diff --git a/IntegrationTests/grpc-performance-tests/Sources/Generated/grpc_testing_stats.grpc.swift b/IntegrationTests/grpc-performance-tests/Sources/Generated/grpc_testing_stats.grpc.swift new file mode 100644 index 0000000..1946bf0 --- /dev/null +++ b/IntegrationTests/grpc-performance-tests/Sources/Generated/grpc_testing_stats.grpc.swift @@ -0,0 +1,24 @@ +// Copyright 2015 gRPC authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// DO NOT EDIT. +// swift-format-ignore-file +// +// Generated by the gRPC Swift generator plugin for the protocol buffer compiler. +// Source: grpc/testing/stats.proto +// +// For information on using the generated types, please see the documentation: +// https://github.com/grpc/grpc-swift + +// This file contained no services. \ No newline at end of file diff --git a/IntegrationTests/grpc-performance-tests/Sources/Generated/grpc_testing_worker_service.grpc.swift b/IntegrationTests/grpc-performance-tests/Sources/Generated/grpc_testing_worker_service.grpc.swift index df08581..eeec27c 100644 --- a/IntegrationTests/grpc-performance-tests/Sources/Generated/grpc_testing_worker_service.grpc.swift +++ b/IntegrationTests/grpc-performance-tests/Sources/Generated/grpc_testing_worker_service.grpc.swift @@ -26,7 +26,6 @@ import GRPCCore import GRPCProtobuf -import SwiftProtobuf // MARK: - grpc.testing.WorkerService @@ -381,7 +380,7 @@ extension Grpc_Testing_WorkerService { // Default implementation of 'registerMethods(with:)'. extension Grpc_Testing_WorkerService.StreamingServiceProtocol { - internal func registerMethods(with router: inout GRPCCore.RPCRouter) { + internal func registerMethods(with router: inout GRPCCore.RPCRouter) where Transport: GRPCCore.ServerTransport { router.registerHandler( forMethod: Grpc_Testing_WorkerService.Method.RunServer.descriptor, deserializer: GRPCProtobuf.ProtobufDeserializer(),