C# 클래스 NetIRC.Client

파일 보기 프로젝트 열기: kevin-brown/NetIRC 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ReadStream void
RegisterMessages void
RegisterWriters void
TriggerOnAction void
TriggerOnChannelJoin void
TriggerOnChannelLeave void
TriggerOnConnect void
TriggerOnDisconnect void
TriggerOnNotice void
TriggerOnUserMode void
TriggerOnVersion void
TriggerOnVersionReply void
TriggerOnWelcome void
TriggerOnWho void

공개 메소드들

메소드 설명
Away ( string message ) : Away
Client ( ) : System
Connect ( string server, int port, bool ssl, User user ) : void

Connect to a specified server.

Disconnect ( ) : void

Disconnects the connected user forcefully.

JoinChannel ( Channel channel ) : void

Join a specified channel based on the given Channel object.

JoinChannel ( string name ) : void

Join a channel specified by the name.

LeaveChannel ( Channel channel ) : void

Leave a specified channel based on the given Channel object.

LeaveChannel ( string name ) : void

Leave a channel specified by the name.

NotAway ( ) : NotAway
Quit ( ) : Quit
Quit ( string reason ) : Quit
RegisterMessage ( Type type ) : void

Registers a message that will be checked when new messages are received.

RegisterWriter ( Type type ) : void
Send ( Messages message ) : void

Send a message to the connected server.

TriggerOnMessage ( User source, string message ) : void
UnregisterMessage ( Type type ) : void
UnregisterWriter ( Type type ) : void

보호된 메소드들

메소드 설명
TriggerOnSend ( SendMessageEventArgs e ) : void

비공개 메소드들

메소드 설명
ReadStream ( ) : void
RegisterMessages ( ) : void
RegisterWriters ( ) : void
TriggerOnAction ( User user, string action ) : void
TriggerOnChannelJoin ( Channel channel ) : void
TriggerOnChannelLeave ( Channel channel ) : void
TriggerOnConnect ( ) : void
TriggerOnDisconnect ( ) : void
TriggerOnNotice ( User user, string notice ) : void
TriggerOnUserMode ( string modes ) : void
TriggerOnVersion ( User source ) : void
TriggerOnVersionReply ( User source, string version ) : void
TriggerOnWelcome ( string message ) : void
TriggerOnWho ( User user, string message ) : void

메소드 상세

Away() 공개 메소드

public Away ( string message ) : Away
message string
리턴 NetIRC.Messages.Send.Away

Client() 공개 메소드

public Client ( ) : System
리턴 System

Connect() 공개 메소드

Connect to a specified server.
public Connect ( string server, int port, bool ssl, User user ) : void
server string The host of the server to connect to.
port int The port to connect to on the server.
ssl bool True for SSL, false if not.
user User The NetIRC.User to use for connecting to the server.
리턴 void

Disconnect() 공개 메소드

Disconnects the connected user forcefully.
public Disconnect ( ) : void
리턴 void

JoinChannel() 공개 메소드

Join a specified channel based on the given Channel object.
public JoinChannel ( Channel channel ) : void
channel Channel The Channel to be used for connecting.
리턴 void

JoinChannel() 공개 메소드

Join a channel specified by the name.
public JoinChannel ( string name ) : void
name string The name of the channel.
리턴 void

LeaveChannel() 공개 메소드

Leave a specified channel based on the given Channel object.
public LeaveChannel ( Channel channel ) : void
channel Channel
리턴 void

LeaveChannel() 공개 메소드

Leave a channel specified by the name.
public LeaveChannel ( string name ) : void
name string The name of the channel.
리턴 void

NotAway() 공개 메소드

public NotAway ( ) : NotAway
리턴 NetIRC.Messages.Send.NotAway

Quit() 공개 메소드

public Quit ( ) : Quit
리턴 NetIRC.Messages.Send.Quit

Quit() 공개 메소드

public Quit ( string reason ) : Quit
reason string
리턴 NetIRC.Messages.Send.Quit

RegisterMessage() 공개 메소드

Registers a message that will be checked when new messages are received.
public RegisterMessage ( Type type ) : void
type System.Type The type of the Message object that messages will be checked against.
리턴 void

RegisterWriter() 공개 메소드

public RegisterWriter ( Type type ) : void
type System.Type
리턴 void

Send() 공개 메소드

Send a message to the connected server.
public Send ( Messages message ) : void
message Messages The NetIRC.SendMessage instance to be sent.
리턴 void

TriggerOnMessage() 공개 메소드

public TriggerOnMessage ( User source, string message ) : void
source User
message string
리턴 void

TriggerOnSend() 보호된 메소드

protected TriggerOnSend ( SendMessageEventArgs e ) : void
e SendMessageEventArgs
리턴 void

UnregisterMessage() 공개 메소드

public UnregisterMessage ( Type type ) : void
type System.Type
리턴 void

UnregisterWriter() 공개 메소드

public UnregisterWriter ( Type type ) : void
type System.Type
리턴 void