2017-12-04 18:38:44 +01:00
|
|
|
//
|
2018-08-02 19:43:21 +02: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
|
|
|
|
2018-08-02 19:43:21 +02:00
|
|
|
public func receivedOffer(_ offer: SSKProtoCallMessageOffer, from callerId: String) {
|
2017-12-04 18:38:44 +01:00
|
|
|
owsFail("\(self.logTag) in \(#function).")
|
|
|
|
}
|
|
|
|
|
2018-08-02 19:43:21 +02:00
|
|
|
public func receivedAnswer(_ answer: SSKProtoCallMessageAnswer, from callerId: String) {
|
2017-12-04 18:38:44 +01:00
|
|
|
owsFail("\(self.logTag) in \(#function).")
|
|
|
|
}
|
|
|
|
|
2018-08-02 19:43:21 +02:00
|
|
|
public func receivedIceUpdate(_ iceUpdate: SSKProtoCallMessageIceUpdate, from callerId: String) {
|
2017-12-04 18:38:44 +01:00
|
|
|
owsFail("\(self.logTag) in \(#function).")
|
|
|
|
}
|
|
|
|
|
2018-08-02 19:43:21 +02:00
|
|
|
public func receivedHangup(_ hangup: SSKProtoCallMessageHangup, from callerId: String) {
|
2017-12-04 18:38:44 +01:00
|
|
|
owsFail("\(self.logTag) in \(#function).")
|
|
|
|
}
|
|
|
|
|
2018-08-02 19:43:21 +02:00
|
|
|
public func receivedBusy(_ busy: SSKProtoCallMessageBusy, from callerId: String) {
|
2017-12-04 18:38:44 +01:00
|
|
|
owsFail("\(self.logTag) in \(#function).")
|
|
|
|
}
|
|
|
|
}
|