PerHost

Overview

Location


Instance Methods


constructor

 

constructor

 

PerHost()

 

init()

 

Sub New()

 

constructor(adef: Dialer; abypass: Dialer; abypassNetworks: Slice<Memory<IPNet>>; abypassIPs: Slice<IP>; abypassZones: Slice<string>; abypassHosts: Slice<string>)

 

PerHost(Dialer adef, Dialer abypass, Slice<Memory<IPNet>> abypassNetworks, Slice<IP> abypassIPs, Slice<string> abypassZones, Slice<string> abypassHosts)

 

init(_ adef: Dialer, _ abypass: Dialer, _ abypassNetworks: Slice<Memory<IPNet>>, _ abypassIPs: Slice<IP>, _ abypassZones: Slice<string>, _ abypassHosts: Slice<string>)

 

Sub New(adef As Dialer, abypass As Dialer, abypassNetworks As Slice<Memory<IPNet>>, abypassIPs As Slice<IP>, abypassZones As Slice<string>, abypassHosts As Slice<string>)

Parameters:

  • adef:
  • abypass:
  • abypassNetworks:
  • abypassIPs:
  • abypassZones:
  • abypassHosts:

constructor (PerHost)

 

constructor(value: PerHost)

 

PerHost(PerHost value)

 

init(_ value: PerHost)

 

Sub New(value As PerHost)

Parameters:

  • value:

Dial (string, string): tuple of (c: Conn, err: error)

 

method Dial(network: string; addr: string): tuple of (c: Conn, err: error)

 

(Conn c, error err) Dial(string network, string addr)

 

func Dial(_ network: string, _ addr: string) -> (Conn, error)

 

func Dial(network string, addr string) tuple of (|name=c| Conn, |name=err| error)

 

Function Dial(network As string, addr As string) As Tuple (Of Conn, error)

Parameters:

  • network:
  • addr:

AddFromString

 

method AddFromString(s: string)

 

void AddFromString(string s)

 

func AddFromString(_ s: string)

 

func AddFromString(s string) void

 

Sub AddFromString(s As string)

Parameters:

  • s:

AddHost

 

method AddHost(host: string)

 

void AddHost(string host)

 

func AddHost(_ host: string)

 

func AddHost(host string) void

 

Sub AddHost(host As string)

Parameters:

  • host:

AddIP

 

method AddIP(ip: IP)

 

void AddIP(IP ip)

 

func AddIP(_ ip: IP)

 

func AddIP(ip IP) void

 

Sub AddIP(ip As IP)

Parameters:

  • ip:

AddNetwork

 

method AddNetwork(net: Memory<IPNet>)

 

void AddNetwork(Memory<IPNet> net)

 

func AddNetwork(_ net: Memory<IPNet>)

 

func AddNetwork(net Memory<IPNet>) void

 

Sub AddNetwork(net As Memory<IPNet>)

Parameters:

  • net:

AddZone

 

method AddZone(zone: string)

 

void AddZone(string zone)

 

func AddZone(_ zone: string)

 

func AddZone(zone string) void

 

Sub AddZone(zone As string)

Parameters:

  • zone:

Dial (string, string): tuple of (c: Conn, err: error)

 

method Dial(network: string; addr: string): tuple of (c: Conn, err: error)

 

(Conn c, error err) Dial(string network, string addr)

 

func Dial(_ network: string, _ addr: string) -> (Conn, error)

 

func Dial(network string, addr string) tuple of (|name=c| Conn, |name=err| error)

 

Function Dial(network As string, addr As string) As Tuple (Of Conn, error)

Parameters:

  • network:
  • addr:

DialContext

 

method DialContext(ctx: Context; network: string; addr: string): tuple of (c: Conn, err: error)

 

(Conn c, error err) DialContext(Context ctx, string network, string addr)

 

func DialContext(_ ctx: Context, _ network: string, _ addr: string) -> (Conn, error)

 

func DialContext(ctx Context, network string, addr string) tuple of (|name=c| Conn, |name=err| error)

 

Function DialContext(ctx As Context, network As string, addr As string) As Tuple (Of Conn, error)

Parameters:

  • ctx:
  • network:
  • addr:

 

Implements