C# Class Primelabs.Twingly.MogileFsApi.TrackerBackend

Inheritance: ITrackerBackend
显示文件 Open project: twingly/MogileFsApi

Public Methods

Method Description
Dispose ( ) : void
DoRequest ( string command, string>.IDictionary args ) : string>.IDictionary
IsConnected ( ) : bool
Reload ( Uri trackers ) : void
TrackerBackend ( Uri trackers ) : System

Protected Methods

Method Description
GetSocketReaderAndWriter ( ) : SocketWithReaderAndWriter
SocketCloseAndDispose ( ) : void

Private Methods

Method Description
DecodeUrlString ( string encoded ) : String>.Dictionary
EncodeUrlParameters ( string>.IDictionary args ) : string

Method Details

Dispose() public method

public Dispose ( ) : void
return void

DoRequest() public method

public DoRequest ( string command, string>.IDictionary args ) : string>.IDictionary
command string
args string>.IDictionary
return string>.IDictionary

GetSocketReaderAndWriter() protected method

protected GetSocketReaderAndWriter ( ) : SocketWithReaderAndWriter
return SocketWithReaderAndWriter

IsConnected() public method

public IsConnected ( ) : bool
return bool

Reload() public method

public Reload ( Uri trackers ) : void
trackers System.Uri
return void

SocketCloseAndDispose() protected method

protected SocketCloseAndDispose ( ) : void
return void

TrackerBackend() public method

public TrackerBackend ( Uri trackers ) : System
trackers System.Uri
return System