C# Class Deluge.Commands

Show file Open project: voltagex/junkcode Class Usage Examples

Public Properties

Property Type Description
OnError EventHandler
OnLogin EventHandler

Public Methods

Method Description
AddTorrent ( string magnetUri ) : void
Commands ( SslStream connectedDelugeServerStream ) : System
GetConfig ( ) : void
GetConfigValuesDefault ( ) : void
GetFilterTree ( bool showZeroHits = false, string hideCat = null ) : void
GetFreeSpace ( ) : void
GetNumConnections ( ) : void
HandleResponse ( object response ) : void
Info ( ) : void
Login ( string username, string password ) : void
OnLoginResponse ( RPCResponseMessage loginResponseMessage ) : void
ProcessQueuedMessages ( ) : void
Receive ( RPCResponseMessage response ) : void
SetEventInterest ( ) : void

Private Methods

Method Description
GetSessionStatus ( List keys = null ) : void
HandleEvent ( object response ) : void
HandleNormalResponse ( object response ) : void
Queue_RPCMessageReceived ( object sender, RPCMessageReceivedEventArgs e ) : void
SendCommand ( string commandName ) : void
SendCommand ( string commandName, object oneParameter ) : void
SendRPCMessage ( RPCMessage messageToSend ) : void
UnhandledError ( object response ) : void

Method Details

AddTorrent() public method

public AddTorrent ( string magnetUri ) : void
magnetUri string
return void

Commands() public method

public Commands ( SslStream connectedDelugeServerStream ) : System
connectedDelugeServerStream System.Net.Security.SslStream
return System

GetConfig() public method

public GetConfig ( ) : void
return void

GetConfigValuesDefault() public method

public GetConfigValuesDefault ( ) : void
return void

GetFilterTree() public method

public GetFilterTree ( bool showZeroHits = false, string hideCat = null ) : void
showZeroHits bool
hideCat string
return void

GetFreeSpace() public method

public GetFreeSpace ( ) : void
return void

GetNumConnections() public method

public GetNumConnections ( ) : void
return void

HandleResponse() public method

public HandleResponse ( object response ) : void
response object
return void

Info() public method

public Info ( ) : void
return void

Login() public method

public Login ( string username, string password ) : void
username string
password string
return void

OnLoginResponse() public method

public OnLoginResponse ( RPCResponseMessage loginResponseMessage ) : void
loginResponseMessage NullReference.DelugeRPC.RPCResponseMessage
return void

ProcessQueuedMessages() public method

public ProcessQueuedMessages ( ) : void
return void

Receive() public method

public Receive ( RPCResponseMessage response ) : void
response NullReference.DelugeRPC.RPCResponseMessage
return void

SetEventInterest() public method

public SetEventInterest ( ) : void
return void

Property Details

OnError public property

public EventHandler OnError
return EventHandler

OnLogin public property

public EventHandler OnLogin
return EventHandler