C# Class Brunet.Transport.TransportAddressFactory

Mostra file Open project: pstjuste/brunet

Protected Properties

Property Type Description
_ta_cache TransportAddress>.WeakValueTable

Public Methods

Method Description
AddFactoryMethod ( string s, TransportAddress>.Converter meth ) : void
Create ( TransportAddress tat, int port, IEnumerable ips ) : IEnumerable
CreateForLocalHost ( TransportAddress tat, int port ) : IEnumerable
CreateInstance ( TransportAddress t, IPAddress host, int port ) : TransportAddress
CreateInstance ( TransportAddress t, IPEndPoint ep ) : TransportAddress
CreateInstance ( TransportAddress t, string host, int port ) : TransportAddress
CreateInstance ( string s ) : TransportAddress
StringToType ( string s ) : TransportAddress.TAType

Protected Methods

Method Description
CacheInstance ( TransportAddress ta ) : TransportAddress
NoCacheCreateInstance ( string s ) : TransportAddress

Private Methods

Method Description
TransportAddressFactory ( ) : System

Method Details

AddFactoryMethod() public static method

public static AddFactoryMethod ( string s, TransportAddress>.Converter meth ) : void
s string
meth TransportAddress>.Converter
return void

CacheInstance() protected static method

protected static CacheInstance ( TransportAddress ta ) : TransportAddress
ta TransportAddress
return TransportAddress

Create() public static method

public static Create ( TransportAddress tat, int port, IEnumerable ips ) : IEnumerable
tat TransportAddress
port int
ips IEnumerable
return IEnumerable

CreateForLocalHost() public static method

public static CreateForLocalHost ( TransportAddress tat, int port ) : IEnumerable
tat TransportAddress
port int
return IEnumerable

CreateInstance() public static method

public static CreateInstance ( TransportAddress t, IPAddress host, int port ) : TransportAddress
t TransportAddress
host System.Net.IPAddress
port int
return TransportAddress

CreateInstance() public static method

public static CreateInstance ( TransportAddress t, IPEndPoint ep ) : TransportAddress
t TransportAddress
ep System.Net.IPEndPoint
return TransportAddress

CreateInstance() public static method

public static CreateInstance ( TransportAddress t, string host, int port ) : TransportAddress
t TransportAddress
host string
port int
return TransportAddress

CreateInstance() public static method

public static CreateInstance ( string s ) : TransportAddress
s string
return TransportAddress

NoCacheCreateInstance() protected static method

protected static NoCacheCreateInstance ( string s ) : TransportAddress
s string
return TransportAddress

StringToType() public static method

public static StringToType ( string s ) : TransportAddress.TAType
s string
return TransportAddress.TAType

Property Details

_ta_cache protected_oe static_oe property

protected static WeakValueTable _ta_cache
return TransportAddress>.WeakValueTable