C# Class PSXDH.ProxyHelp.Listener

Inheritance: IDisposable
Afficher le fichier Open project: KOPElan/PSX-Download-Helper

Méthodes publiques

Méthode Description
AddClient ( Client client ) : void
Dispose ( ) : void
GetClientAt ( int index ) : Client
GetClientCount ( ) : int
GetLocalExternalIp ( ) : IPAddress
GetLocalInternalIp ( ) : IPAddress
IsLocalIp ( IPAddress ip ) : bool
IsRemoteIp ( IPAddress ip ) : bool
OnAccept ( IAsyncResult ar ) : void
RemoveClient ( Client client ) : void
Restart ( ) : void
Start ( ) : void
ToString ( ) : string

Méthodes protégées

Méthode Description
Listener ( int port, IPAddress address ) : System

Method Details

AddClient() public méthode

public AddClient ( Client client ) : void
client Client
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetClientAt() public méthode

public GetClientAt ( int index ) : Client
index int
Résultat Client

GetClientCount() public méthode

public GetClientCount ( ) : int
Résultat int

GetLocalExternalIp() public static méthode

public static GetLocalExternalIp ( ) : IPAddress
Résultat System.Net.IPAddress

GetLocalInternalIp() public static méthode

public static GetLocalInternalIp ( ) : IPAddress
Résultat System.Net.IPAddress

IsLocalIp() public static méthode

public static IsLocalIp ( IPAddress ip ) : bool
ip System.Net.IPAddress
Résultat bool

IsRemoteIp() public static méthode

public static IsRemoteIp ( IPAddress ip ) : bool
ip System.Net.IPAddress
Résultat bool

Listener() protected méthode

protected Listener ( int port, IPAddress address ) : System
port int
address System.Net.IPAddress
Résultat System

OnAccept() public abstract méthode

public abstract OnAccept ( IAsyncResult ar ) : void
ar IAsyncResult
Résultat void

RemoveClient() public méthode

public RemoveClient ( Client client ) : void
client Client
Résultat void

Restart() public méthode

public Restart ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

ToString() public abstract méthode

public abstract ToString ( ) : string
Résultat string