source: launchers/macosx/I2PLauncher/routermgmt/RouterServices/IrcTunnelService.swift @ 7cb0c9b

Last change on this file since 7cb0c9b was 7cb0c9b, checked in by meeh <meeh@…>, 14 months ago

Mac OSX Launcher: Router management/healthcheck code updates.

  • Property mode set to 100644
File size: 401 bytes
Line 
1//
2//  IrcTunnelService.swift
3//  I2PLauncher
4//
5//  Created by Mikal Villa on 03/04/2019.
6//  Copyright © 2019 The I2P Project. All rights reserved.
7//
8
9import Foundation
10
11class IrcTunnelService : Service {
12 
13  override func updateStatus(callback: @escaping (BaseService) -> Void) {
14    defer { callback(self) }
15   
16    self.status = ServiceStatus(rawValue: 0)!
17    self.message = "Dead"
18  }
19 
20}
Note: See TracBrowser for help on using the repository browser.