C# 클래스 Squishy.Irc.Client

A Client instance represents the connection to a server. It is working fully asynchronously and has a built-in excess flood protection. For configuring that protection, look into the ThrottledSendQueue class.
상속: Connection
파일 보기 프로젝트 열기: jaddie/WCell-Utility-Bot 1 사용 예제들

공개 메소드들

메소드 설명
BeginConnect ( string addr, int port ) : void
OnDisconnecting ( Connection con, bool conLost ) : void
Send ( string text ) : void

If connected, enqueues the given text to the SendQueue.

SendNow ( string text ) : void

If connected, splits the text by line terminators, triggers the IrcClient.OnBeforeSend method and sends each line + "\r\n" immediately to the server. Throws an exception if one of the lines exceed the IRC-conform max of 512 bytes (510 + "\r\n").

비공개 메소드들

메소드 설명
Client ( IrcClient irc ) : System
OnConnect ( Connection con ) : void
OnConnectFail ( Connection con, Exception e ) : void
OnConnecting ( Connection con ) : void
SendLineNow ( string line ) : void

메소드 상세

BeginConnect() 공개 메소드

public BeginConnect ( string addr, int port ) : void
addr string
port int
리턴 void

OnDisconnecting() 공개 메소드

public OnDisconnecting ( Connection con, bool conLost ) : void
con Connection
conLost bool
리턴 void

Send() 공개 메소드

If connected, enqueues the given text to the SendQueue.
public Send ( string text ) : void
text string
리턴 void

SendNow() 공개 메소드

If connected, splits the text by line terminators, triggers the IrcClient.OnBeforeSend method and sends each line + "\r\n" immediately to the server. Throws an exception if one of the lines exceed the IRC-conform max of 512 bytes (510 + "\r\n").
public SendNow ( string text ) : void
text string A string that will be immediately sent.
리턴 void