Class DnsCache
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
Implements
Namespace: Neon.SignalR
Assembly: Neon.SignalR.dll
Syntax
public class DnsCache : IDnsCache
Properties
Hosts
List of hosts to cache.
Declaration
public HashSet<string> Hosts { get; set; }
Property Value
Type | Description |
---|---|
HashSet<string> |
Methods
ContainsKey(string)
Checks to see if the cache contains the specified key.
Declaration
public bool ContainsKey(string value)
Parameters
Type | Name | Description |
---|---|---|
string | value |
Returns
Type | Description |
---|---|
bool |
GetSelfAddress()
Returns the current address of this server.
Declaration
public string GetSelfAddress()
Returns
Type | Description |
---|---|
string |
SetSelfAddress(string)
Sets the current address of this server.
Declaration
public void SetSelfAddress(string address)
Parameters
Type | Name | Description |
---|---|---|
string | address |