17 lines
395 B
Swift
17 lines
395 B
Swift
|
//
|
||
|
// TunnelInterface.swift
|
||
|
// PIATunnel
|
||
|
//
|
||
|
// Created by Davide De Rosa on 8/27/17.
|
||
|
// Copyright © 2018 London Trust Media. All rights reserved.
|
||
|
//
|
||
|
|
||
|
import Foundation
|
||
|
|
||
|
/// Represents a specific I/O interface meant to work at the tunnel layer (e.g. VPN).
|
||
|
public protocol TunnelInterface: IOInterface {
|
||
|
|
||
|
/// When `true`, interface survives sessions.
|
||
|
var isPersistent: Bool { get }
|
||
|
}
|