C# Class Lidgren.Network.Lobby.NetLobby

Afficher le fichier Open project: SleeplessByte/lidgren-srp6a

Méthodes publiques

Свойство Type Description
KeySize System.Int32
LogonManager ILogonManager

Méthodes publiques

Méthode 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

Méthode 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 méthode

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
Résultat void

IncomingMessage() public static méthode

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

Property Details

KeySize public_oe static_oe property

Keysize of SRP
public static Int32,System KeySize
Résultat System.Int32

LogonManager public_oe static_oe property

The LogonManager handler
public static ILogonManager LogonManager
Résultat ILogonManager