C# Class Schumix.Irc.Network

Inheritance: MessageHandler
ファイルを表示 Open project: Schumix/Schumix2 Class Usage Examples

Public Properties

Property Type Description
NewNick bool

Public Methods

Method Description
Connect ( bool nick = false ) : void

Kapcsolódás az IRC kiszolgálóhoz.

DisConnect ( ) : void

Lekapcsolódás az IRC koszolgálótól.

GetIrcMethodMap ( ) : IrcMethod>.Dictionary
Initialize ( ) : void
InitializeOpcodesAndPing ( ) : void
IrcRegisterHandler ( ReplyCode code, IRCDelegate method ) : void
IrcRegisterHandler ( int code, IRCDelegate method ) : void
IrcRegisterHandler ( string code, IRCDelegate method ) : void
IrcRemoveHandler ( ReplyCode code ) : void
IrcRemoveHandler ( ReplyCode code, IRCDelegate method ) : void
IrcRemoveHandler ( int code ) : void
IrcRemoveHandler ( int code, IRCDelegate method ) : void
IrcRemoveHandler ( string code ) : void
IrcRemoveHandler ( string code, IRCDelegate method ) : void
IsConnected ( ) : bool
Network ( ) : System
Network ( string Server ) : System
Network ( string Server, int Port ) : System
Network ( string ServerName, int ServerId, string Server, int Port ) : System
ReConnect ( ) : void

Visszakapcsolódás az IRC kiszolgálóhoz.

SetConnectionType ( ConnectionType ctype ) : void

Private Methods

Method Description
AutoPing ( ) : void

Pingeli az IRC szervert 30 másodpercenként.

Close ( ) : void
Connection ( bool nick = false ) : void
HandleIrcCommand ( string message ) : void
HandleOpcodesTimer ( object sender, System.Timers.ElapsedEventArgs e ) : void
InitHandler ( ) : void
InitializeStream ( Stream stream ) : void
IrcProcessMethods ( IEnumerable methods ) : void
Opcodes ( ) : void

Ez a függvény kezeli azt IRC adatai és az opcedes-eket.

Opcodes: Az IRC-ről jövő funkciók, kódok.

Method Details

Connect() public method

Kapcsolódás az IRC kiszolgálóhoz.
public Connect ( bool nick = false ) : void
nick bool
return void

DisConnect() public method

Lekapcsolódás az IRC koszolgálótól.
public DisConnect ( ) : void
return void

GetIrcMethodMap() public method

public GetIrcMethodMap ( ) : IrcMethod>.Dictionary
return IrcMethod>.Dictionary

Initialize() public method

public Initialize ( ) : void
return void

InitializeOpcodesAndPing() public method

public InitializeOpcodesAndPing ( ) : void
return void

IrcRegisterHandler() public method

public IrcRegisterHandler ( ReplyCode code, IRCDelegate method ) : void
code ReplyCode
method IRCDelegate
return void

IrcRegisterHandler() public method

public IrcRegisterHandler ( int code, IRCDelegate method ) : void
code int
method IRCDelegate
return void

IrcRegisterHandler() public method

public IrcRegisterHandler ( string code, IRCDelegate method ) : void
code string
method IRCDelegate
return void

IrcRemoveHandler() public method

public IrcRemoveHandler ( ReplyCode code ) : void
code ReplyCode
return void

IrcRemoveHandler() public method

public IrcRemoveHandler ( ReplyCode code, IRCDelegate method ) : void
code ReplyCode
method IRCDelegate
return void

IrcRemoveHandler() public method

public IrcRemoveHandler ( int code ) : void
code int
return void

IrcRemoveHandler() public method

public IrcRemoveHandler ( int code, IRCDelegate method ) : void
code int
method IRCDelegate
return void

IrcRemoveHandler() public method

public IrcRemoveHandler ( string code ) : void
code string
return void

IrcRemoveHandler() public method

public IrcRemoveHandler ( string code, IRCDelegate method ) : void
code string
method IRCDelegate
return void

IsConnected() public method

public IsConnected ( ) : bool
return bool

Network() public method

public Network ( ) : System
return System

Network() public method

public Network ( string Server ) : System
Server string
return System

Network() public method

public Network ( string Server, int Port ) : System
Server string
Port int
return System

Network() public method

public Network ( string ServerName, int ServerId, string Server, int Port ) : System
ServerName string
ServerId int
Server string
Port int
return System

ReConnect() public method

Visszakapcsolódás az IRC kiszolgálóhoz.
public ReConnect ( ) : void
return void

SetConnectionType() public method

public SetConnectionType ( ConnectionType ctype ) : void
ctype ConnectionType
return void

Property Details

NewNick public_oe property

public bool NewNick
return bool