C# Class SMProxy.Proxy

Datei anzeigen Open project: SirCmpwn/SMProxy

Private Properties

Property Type Description
CreateHash string
DoWork void
FinializeClientEncryption bool
FinializeServerEncryption void
InitializeEncryption void
UpdateClient void
UpdateServer void

Public Methods

Method Description
Proxy ( NetworkStream client, NetworkStream server, Log log, SMProxy.ProxySettings settings ) : System
Start ( ) : void
Stop ( ) : void

Private Methods

Method Description
CreateHash ( ) : string
DoWork ( ) : void
FinializeClientEncryption ( Craft.Net.Networking.EncryptionKeyResponsePacket encryptionKeyResponsePacket ) : bool
FinializeServerEncryption ( Craft.Net.Networking.EncryptionKeyResponsePacket encryptionKeyResponsePacket ) : void
InitializeEncryption ( Craft.Net.Networking.EncryptionKeyRequestPacket packet ) : void
UpdateClient ( ) : void
UpdateServer ( ) : void

Method Details

Proxy() public method

public Proxy ( NetworkStream client, NetworkStream server, Log log, SMProxy.ProxySettings settings ) : System
client NetworkStream
server NetworkStream
log Log
settings SMProxy.ProxySettings
return System

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void