C# 클래스 PSXDH.ProxyHelp.Listener

상속: IDisposable
파일 보기 프로젝트 열기: KOPElan/PSX-Download-Helper

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
Listener ( int port, IPAddress address ) : System

메소드 상세

AddClient() 공개 메소드

public AddClient ( Client client ) : void
client Client
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetClientAt() 공개 메소드

public GetClientAt ( int index ) : Client
index int
리턴 Client

GetClientCount() 공개 메소드

public GetClientCount ( ) : int
리턴 int

GetLocalExternalIp() 공개 정적인 메소드

public static GetLocalExternalIp ( ) : IPAddress
리턴 System.Net.IPAddress

GetLocalInternalIp() 공개 정적인 메소드

public static GetLocalInternalIp ( ) : IPAddress
리턴 System.Net.IPAddress

IsLocalIp() 공개 정적인 메소드

public static IsLocalIp ( IPAddress ip ) : bool
ip System.Net.IPAddress
리턴 bool

IsRemoteIp() 공개 정적인 메소드

public static IsRemoteIp ( IPAddress ip ) : bool
ip System.Net.IPAddress
리턴 bool

Listener() 보호된 메소드

protected Listener ( int port, IPAddress address ) : System
port int
address System.Net.IPAddress
리턴 System

OnAccept() 공개 추상적인 메소드

public abstract OnAccept ( IAsyncResult ar ) : void
ar IAsyncResult
리턴 void

RemoveClient() 공개 메소드

public RemoveClient ( Client client ) : void
client Client
리턴 void

Restart() 공개 메소드

public Restart ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

ToString() 공개 추상적인 메소드

public abstract ToString ( ) : string
리턴 string