C# 클래스 org.GraphDefined.Vanaheimr.Hermod.DNS.DNSCache

A cache for DNS entries.
파일 보기 프로젝트 열기: Vanaheimr/Hermod 1 사용 예제들

공개 메소드들

메소드 설명
Add ( String Domainname, DNSInfo DNSInformation ) : DNSCache

Add the given DNS information to the DNS cache.

Add ( String Domainname, IPSocket Origin, ADNSResourceRecord ResourceRecord ) : DNSCache

Add the given DNS resource record to the DNS cache.

DNSCache ( System.TimeSpan CleanUpEvery = null ) : System

Create a new DNS cache.

GetDNSInfo ( String DomainName ) : DNSInfo

Get the cached DNS information from the DNS cache.

ToString ( ) : String

Get a string representation of this object.

비공개 메소드들

메소드 설명
RemoveExpiredCacheEntries ( Object State ) : void

메소드 상세

Add() 공개 메소드

Add the given DNS information to the DNS cache.
public Add ( String Domainname, DNSInfo DNSInformation ) : DNSCache
Domainname String The domain name.
DNSInformation DNSInfo The DNS information to add.
리턴 DNSCache

Add() 공개 메소드

Add the given DNS resource record to the DNS cache.
public Add ( String Domainname, IPSocket Origin, ADNSResourceRecord ResourceRecord ) : DNSCache
Domainname String The domain name.
Origin IPSocket The origin of the DNS resource record.
ResourceRecord ADNSResourceRecord The DNS resource record to add.
리턴 DNSCache

DNSCache() 공개 메소드

Create a new DNS cache.
public DNSCache ( System.TimeSpan CleanUpEvery = null ) : System
CleanUpEvery System.TimeSpan How often to remove outdated entries from DNS cache.
리턴 System

GetDNSInfo() 공개 메소드

Get the cached DNS information from the DNS cache.
public GetDNSInfo ( String DomainName ) : DNSInfo
DomainName String The domain name.
리턴 DNSInfo

ToString() 공개 메소드

Get a string representation of this object.
public ToString ( ) : String
리턴 String