C# Class OpenSim.OpenSim

Interactive OpenSim region server
Inheritance: OpenSimBase
Datei anzeigen Open project: N3X15/VoxelSim Class Usage Examples

Protected Properties

Property Type Description
m_consolePort uint
m_consoleType string
m_gui bool
m_shutdownCommandsFile string
m_startupCommandsFile string

Public Methods

Method Description
HandleShow ( string mod, string cmd ) : void

Many commands list objects for debugging. Some of the types are listed here

OpenSim ( IConfigSource configSource ) : System
RunCommand ( string module, string cmdparams ) : void

Runs commands issued by the server console from the operator

ShutdownSpecific ( ) : void

Protected Methods

Method Description
ChangeSelectedRegion ( string module, string cmdparams ) : void

Change the currently selected region. The selected region is that operated upon by single region commands.

Debug ( string module, string args ) : void

Turn on some debugging values for OpenSim.

KillUUID ( string module, string cmdparams ) : void

Kill an object given its UUID.

LoadOar ( string module, string cmdparams ) : void

Load a whole region from an opensimulator archive.

LoadXml ( string module, string cmdparams ) : void

Loads data and region objects from XML format.

LoadXml2 ( string module, string cmdparams ) : void

Load region data from Xml2Format

ReadExtraConfigSettings ( ) : void
SaveOar ( string module, string cmdparams ) : void

Save a region to a file, including all the assets needed to restore it.

SavePrimsXml2 ( string module, string cmdparams ) : void

Use XML2 format to serialize data to a file

SaveXml ( string module, string cmdparams ) : void

Use XML format to serialize data to a file

SaveXml2 ( string module, string cmdparams ) : void

Serialize region data to XML2Format

StartupSpecific ( ) : void

Performs initialisation of the scene, such as loading configuration from disk.

Private Methods

Method Description
CombineParams ( string commandParams, int pos ) : string
GetQueuesReport ( ) : string

print UDP Queue data for each client

HandleClearAssets ( string module, string args ) : void
HandleConfig ( string module, string cmd ) : void

Change and load configuration file data.

HandleCreateRegion ( string module, string cmd ) : void

Creates a new region based on the parameters specified. This will ask the user questions on the console

HandleEditScale ( string module, string args ) : void

Edits the scale of a primative with the name specified

HandleForceUpdate ( string module, string args ) : void

Force resending of all updates to all clients in active region(s)

HandleModules ( string module, string cmd ) : void

Load, Unload, and list Region modules in use

KickUserCommand ( string module, string cmdparams ) : void

Kicks users off the region

PrintFileToConsole ( string fileName ) : void

Opens a file and uses it as input to the console command parser.

RegisterConsoleCommands ( ) : void

Register standard set of region console commands

RunAutoTimerScript ( object sender, EventArgs e ) : void

Timer to run a specific text file as console commands. Configured in in the main ini file

RunCommandScript ( string fileName ) : void

Run an optional startup list of commands

WatchdogTimeoutHandler ( System thread, int lastTick ) : void

Method Details

ChangeSelectedRegion() protected method

Change the currently selected region. The selected region is that operated upon by single region commands.
protected ChangeSelectedRegion ( string module, string cmdparams ) : void
module string
cmdparams string
return void

Debug() protected method

Turn on some debugging values for OpenSim.
protected Debug ( string module, string args ) : void
module string
args string
return void

HandleShow() public method

Many commands list objects for debugging. Some of the types are listed here
public HandleShow ( string mod, string cmd ) : void
mod string
cmd string
return void

KillUUID() protected method

Kill an object given its UUID.
protected KillUUID ( string module, string cmdparams ) : void
module string
cmdparams string
return void

LoadOar() protected method

Load a whole region from an opensimulator archive.
protected LoadOar ( string module, string cmdparams ) : void
module string
cmdparams string
return void

LoadXml() protected method

Loads data and region objects from XML format.
protected LoadXml ( string module, string cmdparams ) : void
module string
cmdparams string
return void

LoadXml2() protected method

Load region data from Xml2Format
protected LoadXml2 ( string module, string cmdparams ) : void
module string
cmdparams string
return void

OpenSim() public method

public OpenSim ( IConfigSource configSource ) : System
configSource IConfigSource
return System

ReadExtraConfigSettings() protected method

protected ReadExtraConfigSettings ( ) : void
return void

RunCommand() public method

Runs commands issued by the server console from the operator
public RunCommand ( string module, string cmdparams ) : void
module string
cmdparams string Additional arguments passed to the command
return void

SaveOar() protected method

Save a region to a file, including all the assets needed to restore it.
protected SaveOar ( string module, string cmdparams ) : void
module string
cmdparams string
return void

SavePrimsXml2() protected method

Use XML2 format to serialize data to a file
protected SavePrimsXml2 ( string module, string cmdparams ) : void
module string
cmdparams string
return void

SaveXml() protected method

Use XML format to serialize data to a file
protected SaveXml ( string module, string cmdparams ) : void
module string
cmdparams string
return void

SaveXml2() protected method

Serialize region data to XML2Format
protected SaveXml2 ( string module, string cmdparams ) : void
module string
cmdparams string
return void

ShutdownSpecific() public method

public ShutdownSpecific ( ) : void
return void

StartupSpecific() protected method

Performs initialisation of the scene, such as loading configuration from disk.
protected StartupSpecific ( ) : void
return void

Property Details

m_consolePort protected_oe property

protected uint m_consolePort
return uint

m_consoleType protected_oe property

protected string m_consoleType
return string

m_gui protected_oe property

protected bool m_gui
return bool

m_shutdownCommandsFile protected_oe property

protected string m_shutdownCommandsFile
return string

m_startupCommandsFile protected_oe property

protected string m_startupCommandsFile
return string