C# Class RemObjects.InternetPack.CommandBased.CommandBasedServer

Inheritance: Server
Afficher le fichier Open project: remobjects/internetpack Class Usage Examples

Méthodes publiques

Méthode Description
AddCustomCommand ( String name, OnCommandHandler handler ) : void
GetWorkerClass ( ) : Type

Méthodes protégées

Méthode Description
CleanStringForCommandResponse ( String rawValue ) : String
CommandBasedServer ( ) : System
CreateSession ( ) : CommandBasedSession
GetDefaultSessionClass ( ) : Type
HandleCommandException ( Connection connection, Exception ex ) : void
InitCommands ( ) : void
InvokeOnClientConnected ( SessionEventArgs e ) : void
InvokeOnClientDisconnected ( SessionEventArgs e ) : void

Method Details

AddCustomCommand() public méthode

public AddCustomCommand ( String name, OnCommandHandler handler ) : void
name String
handler OnCommandHandler
Résultat void

CleanStringForCommandResponse() protected static méthode

protected static CleanStringForCommandResponse ( String rawValue ) : String
rawValue String
Résultat String

CommandBasedServer() protected méthode

protected CommandBasedServer ( ) : System
Résultat System

CreateSession() protected méthode

protected CreateSession ( ) : CommandBasedSession
Résultat CommandBasedSession

GetDefaultSessionClass() protected méthode

protected GetDefaultSessionClass ( ) : Type
Résultat Type

GetWorkerClass() public méthode

public GetWorkerClass ( ) : Type
Résultat Type

HandleCommandException() protected méthode

protected HandleCommandException ( Connection connection, Exception ex ) : void
connection Connection
ex Exception
Résultat void

InitCommands() protected abstract méthode

protected abstract InitCommands ( ) : void
Résultat void

InvokeOnClientConnected() protected méthode

protected InvokeOnClientConnected ( SessionEventArgs e ) : void
e SessionEventArgs
Résultat void

InvokeOnClientDisconnected() protected méthode

protected InvokeOnClientDisconnected ( SessionEventArgs e ) : void
e SessionEventArgs
Résultat void