C# 클래스 IrcDotNet.StandardIrcClient

상속: IrcClient
파일 보기 프로젝트 열기: IrcDotNet/IrcDotNet 1 사용 예제들

공개 메소드들

메소드 설명
Connect ( EndPoint remoteEndPoint, bool useSsl, IrcRegistrationInfo registrationInfo ) : void

Connects asynchronously to the specified server.

Connect ( IPAddress address, bool useSsl, IrcRegistrationInfo registrationInfo ) : void
Connect ( IPAddress address, int port, bool useSsl, IrcRegistrationInfo registrationInfo ) : void
Connect ( Uri url, IrcRegistrationInfo registrationInfo ) : void

Connects to a server using the specified URL and user information.

Connect ( string hostName, bool useSsl, IrcRegistrationInfo registrationInfo ) : void
Connect ( string hostName, int port, bool useSsl, IrcRegistrationInfo registrationInfo ) : void
Disconnect ( ) : void
Quit ( int timeout, string comment ) : void
StandardIrcClient ( ) : System.Net.Security
ToString ( ) : string

Returns a string representation of this instance.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
HandleClientConnected ( IrcRegistrationInfo regInfo ) : void
HandleClientDisconnected ( ) : void
ResetState ( ) : void
WriteMessage ( string line, object token ) : void

비공개 메소드들

메소드 설명
ConnectAsync ( EndPoint remoteEndPoint, object token = null ) : void
ConnectCompleted ( object sender, SocketAsyncEventArgs e ) : void
DisconnectAsync ( ) : void
DisconnectCompleted ( object sender, SocketAsyncEventArgs e ) : void
GetDataStream ( bool useSsl, string targetHost ) : Stream
HandleSocketError ( SocketError error ) : void
HandleSocketError ( SocketException exception ) : void
ReceiveAsync ( ) : void
ReceiveCompleted ( object sender, SocketAsyncEventArgs e ) : void
SendAsync ( byte buffer, int offset, int count, object token = null ) : void
SendAsync ( byte buffer, object token = null ) : void
SendCompleted ( object sender, SocketAsyncEventArgs e ) : void
SslUserCertificateValidationCallback ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors ) : bool
WritePendingMessages ( object state ) : void

메소드 상세

Connect() 공개 메소드

Connects asynchronously to the specified server.
/// is . /// /// does not specify valid registration /// information. /// The current instance has already been disposed.
public Connect ( EndPoint remoteEndPoint, bool useSsl, IrcRegistrationInfo registrationInfo ) : void
remoteEndPoint System.Net.EndPoint /// The network endpoint (IP address and port) of the server to which to connect. ///
useSsl bool /// to connect to the server via SSL; , /// otherwise ///
registrationInfo IrcRegistrationInfo /// The information used for registering the client. /// The type of the object may be either or /// . ///
리턴 void

Connect() 공개 메소드

public Connect ( IPAddress address, bool useSsl, IrcRegistrationInfo registrationInfo ) : void
address System.Net.IPAddress
useSsl bool
registrationInfo IrcRegistrationInfo
리턴 void

Connect() 공개 메소드

public Connect ( IPAddress address, int port, bool useSsl, IrcRegistrationInfo registrationInfo ) : void
address System.Net.IPAddress An IP addresses that designates the remote host.
port int The port number of the remote host.
useSsl bool
registrationInfo IrcRegistrationInfo
리턴 void

Connect() 공개 메소드

Connects to a server using the specified URL and user information.
public Connect ( Uri url, IrcRegistrationInfo registrationInfo ) : void
url System.Uri
registrationInfo IrcRegistrationInfo
리턴 void

Connect() 공개 메소드

public Connect ( string hostName, bool useSsl, IrcRegistrationInfo registrationInfo ) : void
hostName string
useSsl bool
registrationInfo IrcRegistrationInfo
리턴 void

Connect() 공개 메소드

public Connect ( string hostName, int port, bool useSsl, IrcRegistrationInfo registrationInfo ) : void
hostName string The name of the remote host.
port int The port number of the remote host.
useSsl bool
registrationInfo IrcRegistrationInfo
리턴 void

Disconnect() 공개 메소드

public Disconnect ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

HandleClientConnected() 보호된 메소드

protected HandleClientConnected ( IrcRegistrationInfo regInfo ) : void
regInfo IrcRegistrationInfo
리턴 void

HandleClientDisconnected() 보호된 메소드

protected HandleClientDisconnected ( ) : void
리턴 void

Quit() 공개 메소드

public Quit ( int timeout, string comment ) : void
timeout int
comment string
리턴 void

ResetState() 보호된 메소드

protected ResetState ( ) : void
리턴 void

StandardIrcClient() 공개 메소드

public StandardIrcClient ( ) : System.Net.Security
리턴 System.Net.Security

ToString() 공개 메소드

Returns a string representation of this instance.
public ToString ( ) : string
리턴 string

WriteMessage() 보호된 메소드

protected WriteMessage ( string line, object token ) : void
line string
token object
리턴 void