C# Class Simpl.OODSS.Distributed.Impl.AbstractServer

Datei anzeigen Open project: ecologylab/simplCSharp

Public Methods

Method Description
ComposeTranslations ( Type newTranslations, int portNumber, IPAddress ipAddress, SimplTypesScope requestTranslationSpace, String prefix = "server_base: " ) : SimplTypesScope
ComposeTranslations ( int portNumber, IPAddress ipAddress, SimplTypesScope requestTranslationSpace ) : SimplTypesScope
Start ( ) : bool
Stop ( ) : void

Protected Methods

Method Description
AbstractServer ( int portNumber, IPAddress ipAddresses, SimplTypesScope requestTranslationScope, Scope objectRegistry, int idleConnectionTimeout = -1, int maxMessageLength = -1 ) : System

Creates an instance of an NIOServer of some flavor. Creates the backend using the information in the arguments. Registers itself as the MAIN_START_AND_STOPPABLE in the object registry.

GenerateContextManager ( string seesionId, SimplTypesScope translationScope, Scope globalScope ) : BaseSessionManager

Method Details

AbstractServer() protected method

Creates an instance of an NIOServer of some flavor. Creates the backend using the information in the arguments. Registers itself as the MAIN_START_AND_STOPPABLE in the object registry.
protected AbstractServer ( int portNumber, IPAddress ipAddresses, SimplTypesScope requestTranslationScope, Scope objectRegistry, int idleConnectionTimeout = -1, int maxMessageLength = -1 ) : System
portNumber int
ipAddresses System.Net.IPAddress
requestTranslationScope Simpl.Serialization.SimplTypesScope
objectRegistry Scope
idleConnectionTimeout int
maxMessageLength int
return System

ComposeTranslations() public static method

public static ComposeTranslations ( Type newTranslations, int portNumber, IPAddress ipAddress, SimplTypesScope requestTranslationSpace, String prefix = "server_base: " ) : SimplTypesScope
newTranslations System.Type
portNumber int
ipAddress System.Net.IPAddress
requestTranslationSpace Simpl.Serialization.SimplTypesScope
prefix String
return Simpl.Serialization.SimplTypesScope

ComposeTranslations() public static method

public static ComposeTranslations ( int portNumber, IPAddress ipAddress, SimplTypesScope requestTranslationSpace ) : SimplTypesScope
portNumber int
ipAddress System.Net.IPAddress
requestTranslationSpace Simpl.Serialization.SimplTypesScope
return Simpl.Serialization.SimplTypesScope

GenerateContextManager() protected abstract method

protected abstract GenerateContextManager ( string seesionId, SimplTypesScope translationScope, Scope globalScope ) : BaseSessionManager
seesionId string
translationScope Simpl.Serialization.SimplTypesScope
globalScope Scope
return Simpl.OODSS.Distributed.Server.ClientSessionManager.BaseSessionManager

Start() public abstract method

public abstract Start ( ) : bool
return bool

Stop() public abstract method

public abstract Stop ( ) : void
return void