C# 클래스 apophis.SharpIRC.IrcConnection.IrcConnection

상속: System.MarshalByRefObject
파일 보기 프로젝트 열기: FreeApophis/sharpIRC 1 사용 예제들

공개 메소드들

메소드 설명
Connect ( string addresslist, int port ) : void

Connects to the specified server and port, when the connection fails the next server in the list will be used.

Disconnect ( ) : void

Disconnects from the server

IrcConnection ( ) : System

Initializes the message queues, read and write thread

Listen ( ) : void

Listen ( bool blocking ) : void

ListenOnce ( ) : void

ListenOnce ( bool blocking ) : void

ReadLine ( bool blocking ) : string

Reconnect ( ) : void

Reconnects to the server

WriteLine ( string data ) : void

WriteLine ( string data, Priority priority ) : void

비공개 메소드들

메소드 설명
NextAddress ( ) : void
SimpleParser ( object sender, ReadLineEventArgs args ) : void
_OnConnectionError ( object sender, EventArgs e ) : void
_WriteLine ( string data ) : bool

메소드 상세

Connect() 공개 메소드

Connects to the specified server and port, when the connection fails the next server in the list will be used.
The connection failed If there is already an active connection
public Connect ( string addresslist, int port ) : void
addresslist string List of servers to connect to
port int Portnumber to connect to
리턴 void

Disconnect() 공개 메소드

Disconnects from the server
/// If there was no active connection ///
public Disconnect ( ) : void
리턴 void

IrcConnection() 공개 메소드

Initializes the message queues, read and write thread
public IrcConnection ( ) : System
리턴 System

Listen() 공개 메소드

public Listen ( ) : void
리턴 void

Listen() 공개 메소드

public Listen ( bool blocking ) : void
blocking bool
리턴 void

ListenOnce() 공개 메소드

public ListenOnce ( ) : void
리턴 void

ListenOnce() 공개 메소드

public ListenOnce ( bool blocking ) : void
blocking bool
리턴 void

ReadLine() 공개 메소드

public ReadLine ( bool blocking ) : string
blocking bool
리턴 string

Reconnect() 공개 메소드

Reconnects to the server
/// If there was no active connection /// /// The connection failed /// /// If there is already an active connection ///
public Reconnect ( ) : void
리턴 void

WriteLine() 공개 메소드

public WriteLine ( string data ) : void
data string
리턴 void

WriteLine() 공개 메소드

public WriteLine ( string data, Priority priority ) : void
data string
priority Priority
리턴 void