C# 클래스 Shadowsocks.Controller.ShadowsocksController

파일 보기 프로젝트 열기: icylogic/shadowsocks-windows 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
inboundCounter long
outboundCounter long

공개 메소드들

메소드 설명
AddServerBySSURL ( string ssURL ) : bool
GetAServer ( IStrategyCallerType type, IPEndPoint localIPEndPoint ) : Server
GetConfigurationCopy ( ) : Configuration
GetCurrentConfiguration ( ) : Configuration
GetCurrentServer ( ) : Server
GetCurrentStrategy ( ) : IStrategy
GetQRCode ( Server server ) : string
GetQRCodeForCurrentServer ( ) : string
GetStrategies ( ) : IList
SaveLogViewerConfig ( Shadowsocks.Model.LogViewerConfig newConfig ) : void
SavePACUrl ( string pacUrl ) : void
SaveServers ( List servers, int localPort ) : void
SaveStrategyConfigurations ( StatisticsStrategyConfiguration configuration ) : void
SelectServerIndex ( int index ) : void
SelectStrategy ( string strategyID ) : void
ShadowsocksController ( ) : System
Start ( ) : void
Stop ( ) : void
ToggleCheckingUpdate ( bool enabled ) : void
ToggleEnable ( bool enabled ) : void
ToggleGlobal ( bool global ) : void
ToggleShareOverLAN ( bool enabled ) : void
TouchPACFile ( ) : void
TouchUserRuleFile ( ) : void
UpdateInboundCounter ( long n ) : void
UpdateOutboundCounter ( long n ) : void
UpdatePACFromGFWList ( ) : void
UpdateStatisticsConfiguration ( bool enabled ) : void
UseOnlinePAC ( bool useOnlinePac ) : void

보호된 메소드들

메소드 설명
Reload ( ) : void
ReportError ( Exception e ) : void
SaveConfig ( Configuration newConfig ) : void

비공개 메소드들

메소드 설명
ReleaseMemory ( ) : void
StartReleasingMemory ( ) : void
UpdateSystemProxy ( ) : void
pacServer_PACFileChanged ( object sender, EventArgs e ) : void
pacServer_PACUpdateCompleted ( object sender, GFWListUpdater e ) : void
pacServer_PACUpdateError ( object sender, ErrorEventArgs e ) : void
pacServer_UserRuleFileChanged ( object sender, EventArgs e ) : void

메소드 상세

AddServerBySSURL() 공개 메소드

public AddServerBySSURL ( string ssURL ) : bool
ssURL string
리턴 bool

GetAServer() 공개 메소드

public GetAServer ( IStrategyCallerType type, IPEndPoint localIPEndPoint ) : Server
type IStrategyCallerType
localIPEndPoint IPEndPoint
리턴 Shadowsocks.Model.Server

GetConfigurationCopy() 공개 메소드

public GetConfigurationCopy ( ) : Configuration
리턴 Shadowsocks.Model.Configuration

GetCurrentConfiguration() 공개 메소드

public GetCurrentConfiguration ( ) : Configuration
리턴 Shadowsocks.Model.Configuration

GetCurrentServer() 공개 메소드

public GetCurrentServer ( ) : Server
리턴 Shadowsocks.Model.Server

GetCurrentStrategy() 공개 메소드

public GetCurrentStrategy ( ) : IStrategy
리턴 IStrategy

GetQRCode() 공개 정적인 메소드

public static GetQRCode ( Server server ) : string
server Shadowsocks.Model.Server
리턴 string

GetQRCodeForCurrentServer() 공개 메소드

public GetQRCodeForCurrentServer ( ) : string
리턴 string

GetStrategies() 공개 메소드

public GetStrategies ( ) : IList
리턴 IList

Reload() 보호된 메소드

protected Reload ( ) : void
리턴 void

ReportError() 보호된 메소드

protected ReportError ( Exception e ) : void
e System.Exception
리턴 void

SaveConfig() 보호된 메소드

protected SaveConfig ( Configuration newConfig ) : void
newConfig Shadowsocks.Model.Configuration
리턴 void

SaveLogViewerConfig() 공개 메소드

public SaveLogViewerConfig ( Shadowsocks.Model.LogViewerConfig newConfig ) : void
newConfig Shadowsocks.Model.LogViewerConfig
리턴 void

SavePACUrl() 공개 메소드

public SavePACUrl ( string pacUrl ) : void
pacUrl string
리턴 void

SaveServers() 공개 메소드

public SaveServers ( List servers, int localPort ) : void
servers List
localPort int
리턴 void

SaveStrategyConfigurations() 공개 메소드

public SaveStrategyConfigurations ( StatisticsStrategyConfiguration configuration ) : void
configuration Shadowsocks.Model.StatisticsStrategyConfiguration
리턴 void

SelectServerIndex() 공개 메소드

public SelectServerIndex ( int index ) : void
index int
리턴 void

SelectStrategy() 공개 메소드

public SelectStrategy ( string strategyID ) : void
strategyID string
리턴 void

ShadowsocksController() 공개 메소드

public ShadowsocksController ( ) : System
리턴 System

Start() 공개 메소드

public Start ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void

ToggleCheckingUpdate() 공개 메소드

public ToggleCheckingUpdate ( bool enabled ) : void
enabled bool
리턴 void

ToggleEnable() 공개 메소드

public ToggleEnable ( bool enabled ) : void
enabled bool
리턴 void

ToggleGlobal() 공개 메소드

public ToggleGlobal ( bool global ) : void
global bool
리턴 void

ToggleShareOverLAN() 공개 메소드

public ToggleShareOverLAN ( bool enabled ) : void
enabled bool
리턴 void

TouchPACFile() 공개 메소드

public TouchPACFile ( ) : void
리턴 void

TouchUserRuleFile() 공개 메소드

public TouchUserRuleFile ( ) : void
리턴 void

UpdateInboundCounter() 공개 메소드

public UpdateInboundCounter ( long n ) : void
n long
리턴 void

UpdateOutboundCounter() 공개 메소드

public UpdateOutboundCounter ( long n ) : void
n long
리턴 void

UpdatePACFromGFWList() 공개 메소드

public UpdatePACFromGFWList ( ) : void
리턴 void

UpdateStatisticsConfiguration() 공개 메소드

public UpdateStatisticsConfiguration ( bool enabled ) : void
enabled bool
리턴 void

UseOnlinePAC() 공개 메소드

public UseOnlinePAC ( bool useOnlinePac ) : void
useOnlinePac bool
리턴 void

프로퍼티 상세

inboundCounter 공개적으로 프로퍼티

public long inboundCounter
리턴 long

outboundCounter 공개적으로 프로퍼티

public long outboundCounter
리턴 long