MvOptions Class |
Namespace: RW.Server.Component
The MvOptions type exposes the following members.
Name | Description | |
---|---|---|
Connections |
Gets the requested connections.
| |
HostName |
Gets the host name of the requested connection.
| |
ServerName |
Gets the name of the server of the requested connection.
| |
Singleton |
Gets and sets the singleton.
|
Options can be set in command line by prefixing their name with "-ils":
client.exe -ilstcp.daemon.port 57023 -ilstrace.component -ilsprotocol.version 5202
ConfigurationManager.AppSettings["RW.Server.trace.component"] = "yes"; ConfigurationManager.AppSettings["RW.Server.tcp.daemon.port"] = "57023"; ConfigurationManager.AppSettings["RW.Server.protocol.version"] = "5202";
<?xml version="1.0" encoding="utf-8" ?> <configuration> <startup> <supportedRuntime version = "v4.0" sku=".NETFramework,Version=v4.5" /> </startup> <appSettings> <add key = "RW.Server.trace.component" value="yes"/> <add key = "RW.Server.tcp.daemon.port" value="57023"/> <add key = "RW.Server.protocol.version" value="5202"/> </appSettings> </configuration>
The possible options are:
Option | Description |
---|---|
trace.version | Set to "yes" for having version of the libraries at MvProcess initialization. |
trace.mapping | Set to "yes" to trace object and attribute mapping information. |
trace.mapping.filename | File where to redirect mapping traces.Console.Error by default. |
trace.component | Set to "yes" to trace notifications sent and received by components. |
trace.component.filename | File where to redirect component traces.Console.Error by default. |
trace.translation | Set to "yes" to trace locale translation related information. |
trace.translation.filename | File where to redirect translation traces.Console.Error by default. |
mapping.namespace | Define a namespace where to look for representation classes. Equivalent to Mapping.AddObjectMapper(Mapping.NameSpace(namespace)). |
tcp.listen.port | Define the listen port of the component. |
tcp.deamon.port | Define the tcpd port. |
protocol.version | Define protocole version. Only useful if server and client have different protocol versions. Last protocol version by default. |
There are also two options that are only available on command line:
-ilsconnect servername@hostname | (or -ilsc) Asks to automatically connect to the server named "servername" on host "hostname". |
-ilsview object.view | (or -ilsv) Asks to open the view "view" on the object "object". |