C# Class RemObjects.InternetPack.CommandBased.CommandBasedServer

Inheritance: Server
Mostra file Open project: remobjects/internetpack Class Usage Examples

Public Methods

Method Description
AddCustomCommand ( String name, OnCommandHandler handler ) : void
GetWorkerClass ( ) : Type

Protected Methods

Method 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 method

public AddCustomCommand ( String name, OnCommandHandler handler ) : void
name String
handler OnCommandHandler
return void

CleanStringForCommandResponse() protected static method

protected static CleanStringForCommandResponse ( String rawValue ) : String
rawValue String
return String

CommandBasedServer() protected method

protected CommandBasedServer ( ) : System
return System

CreateSession() protected method

protected CreateSession ( ) : CommandBasedSession
return CommandBasedSession

GetDefaultSessionClass() protected method

protected GetDefaultSessionClass ( ) : Type
return Type

GetWorkerClass() public method

public GetWorkerClass ( ) : Type
return Type

HandleCommandException() protected method

protected HandleCommandException ( Connection connection, Exception ex ) : void
connection Connection
ex Exception
return void

InitCommands() protected abstract method

protected abstract InitCommands ( ) : void
return void

InvokeOnClientConnected() protected method

protected InvokeOnClientConnected ( SessionEventArgs e ) : void
e SessionEventArgs
return void

InvokeOnClientDisconnected() protected method

protected InvokeOnClientDisconnected ( SessionEventArgs e ) : void
e SessionEventArgs
return void