session-ios/SignalMessaging/environment/NoopCallMessageHandler.swift

30 lines
932 B
Swift
Raw Normal View History

2017-12-04 18:38:44 +01:00
//
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
2017-12-04 18:38:44 +01:00
//
import SignalServiceKit
2017-12-06 21:53:19 +01:00
@objc
2017-12-07 19:53:13 +01:00
public class NoopCallMessageHandler: NSObject, OWSCallMessageHandler {
2017-12-04 18:38:44 +01:00
public func receivedOffer(_ offer: SSKProtoCallMessageOffer, from callerId: String) {
2017-12-04 18:38:44 +01:00
owsFail("\(self.logTag) in \(#function).")
}
public func receivedAnswer(_ answer: SSKProtoCallMessageAnswer, from callerId: String) {
2017-12-04 18:38:44 +01:00
owsFail("\(self.logTag) in \(#function).")
}
public func receivedIceUpdate(_ iceUpdate: SSKProtoCallMessageIceUpdate, from callerId: String) {
2017-12-04 18:38:44 +01:00
owsFail("\(self.logTag) in \(#function).")
}
public func receivedHangup(_ hangup: SSKProtoCallMessageHangup, from callerId: String) {
2017-12-04 18:38:44 +01:00
owsFail("\(self.logTag) in \(#function).")
}
public func receivedBusy(_ busy: SSKProtoCallMessageBusy, from callerId: String) {
2017-12-04 18:38:44 +01:00
owsFail("\(self.logTag) in \(#function).")
}
}