File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import NIOSSL
9
9
import NIOTransportServices
10
10
11
11
/// Swift NIO MQTT Client
12
- public class MQTTClient {
12
+ final public class MQTTClient {
13
13
/// MQTTClient errors
14
14
enum Error : Swift . Error {
15
15
case alreadyConnected
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import NIOSSL
8
8
import NIOTransportServices
9
9
import NIOWebSocket
10
10
11
- class MQTTConnection {
11
+ final class MQTTConnection {
12
12
let channel : Channel
13
13
let timeout : TimeAmount ?
14
14
Original file line number Diff line number Diff line change 1
1
2
2
import NIO
3
3
4
- class MQTTTask {
4
+ final class MQTTTask {
5
5
let promise : EventLoopPromise < MQTTInboundMessage >
6
6
let checkInbound : ( MQTTInboundMessage ) throws -> Bool
7
7
let timeoutTask : Scheduled < Void > ?
@@ -30,7 +30,7 @@ class MQTTTask {
30
30
}
31
31
}
32
32
33
- class MQTTTaskHandler : ChannelInboundHandler , RemovableChannelHandler {
33
+ final class MQTTTaskHandler : ChannelInboundHandler , RemovableChannelHandler {
34
34
typealias InboundIn = MQTTInboundMessage
35
35
36
36
let task : MQTTTask
You can’t perform that action at this time.
0 commit comments