C# Class OfflineServer.Servers.Xmpp.BasicXmppServer

Inheritance: XmppServer
Datei anzeigen Open project: berkay2578/nfsw-server

Public Methods

Method Description
BasicXmppServer ( System.Boolean ssl = false, Int32 port ) : System
calculateHash ( String messageResponse ) : System.Int64
doHandshake ( ) : void
doLogin ( Int32 newPersonaId ) : void
doLogout ( Int32 personaId ) : void
initialize ( ) : void
listenLoop ( ) : void
shutdown ( ) : void

Private Methods

Method Description
_read ( System.Boolean increaseAmountRead = true ) : Task
_write ( ) : Task
definePackets ( ) : void
switchToTls ( ) : void

Method Details

BasicXmppServer() public method

public BasicXmppServer ( System.Boolean ssl = false, Int32 port ) : System
ssl System.Boolean
port System.Int32
return System

calculateHash() public method

public calculateHash ( String messageResponse ) : System.Int64
messageResponse String
return System.Int64

doHandshake() public method

public doHandshake ( ) : void
return void

doLogin() public method

public doLogin ( Int32 newPersonaId ) : void
newPersonaId System.Int32
return void

doLogout() public method

public doLogout ( Int32 personaId ) : void
personaId System.Int32
return void

initialize() public method

public initialize ( ) : void
return void

listenLoop() public method

public listenLoop ( ) : void
return void

shutdown() public method

public shutdown ( ) : void
return void