C# Class Lidgren.Network.Lobby.NetLobby

ファイルを表示 Open project: SleeplessByte/lidgren-srp6a

Public Properties

Property Type Description
KeySize System.Int32
LogonManager ILogonManager

Public Methods

Method Description
Authenticate ( NetConnection connection, String username, String password, Byte data = null ) : void

Authenticates the connection

IncomingMessage ( NetIncomingMessage message ) : Handshake.Contents

Handles incoming messages

Private Methods

Method Description
Create ( NetConnection connection, Handshake reason, Int32 size = 4 ) : NetOutgoingMessage

Creates a new message

ExceptionHandle ( NetIncomingMessage message, String reason ) : void

Handles exceptions

ReceiveActiveVerification ( NetIncomingMessage message ) : void

Receives active party verification

ReceiveAuthenticate ( NetIncomingMessage message ) : void

Receives authentication

ReceiveFromExpired ( NetIncomingMessage message ) : void

Receives expired

ReceivePassiveVerification ( NetIncomingMessage message ) : void

Recieves passive verification

ReceiveResponse ( NetIncomingMessage message ) : void

Receives authentication response

Method Details

Authenticate() public static method

Authenticates the connection
public static Authenticate ( NetConnection connection, String username, String password, Byte data = null ) : void
connection Lidgren.Network.NetConnection Connection to authenticate
username String Username
password String Password
data Byte Additional data to send
return void

IncomingMessage() public static method

Handles incoming messages
public static IncomingMessage ( NetIncomingMessage message ) : Handshake.Contents
message Lidgren.Network.NetIncomingMessage
return Handshake.Contents

Property Details

KeySize public_oe static_oe property

Keysize of SRP
public static Int32,System KeySize
return System.Int32

LogonManager public_oe static_oe property

The LogonManager handler
public static ILogonManager LogonManager
return ILogonManager