C# Class IrcShark.Connectors.TerminalChatting.ServerCommand

Inheritance: IrcShark.Extensions.Terminal.TerminalCommand
Show file Open project: hapm/IrcShark

Public Methods

Method Description
Execute ( ) : void

Executes the command with the given parameters.

Init ( TerminalExtension terminal ) : void

Initializes the ServerCommand.

Private Methods

Method Description
AddServer ( string paramList ) : void

Adds a new server to a network.

GetNetwork ( string ident ) : INetwork

Gets the network instance for the given identication string.

GetServer ( INetwork network, string ident ) : IServer

Gets the server instance for the given identication string.

ListServers ( string paramList ) : void

Shows a list of servers for a given network.

RemoveServer ( string paramList ) : void

Removes a server form the server list of the network.

Method Details

Execute() public method

Executes the command with the given parameters.
public Execute ( ) : void
return void

Init() public method

Initializes the ServerCommand.
public Init ( TerminalExtension terminal ) : void
terminal IrcShark.Extensions.Terminal.TerminalExtension The terminal to create the command for.
return void