C# Class Shadowsocks.Controller.Handler

Exibir arquivo Open project: nladuo/AutoShadowsocks Class Usage Examples

Public Properties

Property Type Description
connection Socket
controller ShadowsocksController
encryptor IEncryptor
lastActivity System.DateTime
relay TCPRelay
remote Socket
server Shadowsocks.Model.Server

Public Methods

Method Description
Close ( ) : void
CreateRemote ( ) : void
Start ( byte firstPacket, int length ) : void

Private Methods

Method Description
CheckClose ( ) : void
ConnectCallback ( IAsyncResult ar ) : void
HandleUDPAssociate ( ) : void
HandshakeReceive ( ) : void
HandshakeSendCallback ( IAsyncResult ar ) : void
PipeConnectionReceiveCallback ( IAsyncResult ar ) : void
PipeConnectionSendCallback ( IAsyncResult ar ) : void
PipeRemoteReceiveCallback ( IAsyncResult ar ) : void
PipeRemoteSendCallback ( IAsyncResult ar ) : void
ReadAll ( IAsyncResult ar ) : void
ResponseCallback ( IAsyncResult ar ) : void
RetryConnect ( ) : void
StartConnect ( ) : void
StartPipe ( ) : void
connectTimer_Elapsed ( object sender, ElapsedEventArgs e ) : void
handshakeReceive2Callback ( IAsyncResult ar ) : void

Method Details

Close() public method

public Close ( ) : void
return void

CreateRemote() public method

public CreateRemote ( ) : void
return void

Start() public method

public Start ( byte firstPacket, int length ) : void
firstPacket byte
length int
return void

Property Details

connection public_oe property

public Socket connection
return Socket

controller public_oe property

public ShadowsocksController,Shadowsocks.Controller controller
return ShadowsocksController

encryptor public_oe property

public IEncryptor encryptor
return IEncryptor

lastActivity public_oe property

public DateTime,System lastActivity
return System.DateTime

relay public_oe property

public TCPRelay,Shadowsocks.Controller relay
return TCPRelay

remote public_oe property

public Socket remote
return Socket

server public_oe property

public Server,Shadowsocks.Model server
return Shadowsocks.Model.Server