summaryrefslogtreecommitdiff
path: root/swift/src/Ice/BlobjectAsync.swift
diff options
context:
space:
mode:
Diffstat (limited to 'swift/src/Ice/BlobjectAsync.swift')
-rw-r--r--swift/src/Ice/BlobjectAsync.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/swift/src/Ice/BlobjectAsync.swift b/swift/src/Ice/BlobjectAsync.swift
index ec9961d4523..037c48d55cd 100644
--- a/swift/src/Ice/BlobjectAsync.swift
+++ b/swift/src/Ice/BlobjectAsync.swift
@@ -6,7 +6,7 @@ import Foundation
import PromiseKit
/// Base protocol for dynamic asynchronous dispatch servants.
-public protocol BlobjectAsync: Object {
+public protocol BlobjectAsync: Disp {
/// Dispatch an incoming request.
///
/// - parameter inEncaps: `Data` - The encoded in-parameters for the operation.
@@ -26,7 +26,7 @@ public protocol BlobjectAsync: Object {
}
public extension BlobjectAsync {
- func _iceDispatch(incoming inS: Incoming, current: Current) throws {
+ func dispatch(incoming inS: Incoming, current: Current) throws {
let inEncaps = try inS.readParamEncaps()
firstly {
ice_invokeAsync(inEncaps: inEncaps, current: current)