aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications
diff options
context:
space:
mode:
authormingchen2007-06-28 19:09:50 +0000
committermingchen2007-06-28 19:09:50 +0000
commitfe0528b98cfc13d26ac7f1bf6bc23655be1f52e5 (patch)
tree3ec7a1b247e84add390e962a58d26ec43c29e240 /OpenSim/Region/Communications
parentenabled physics plugin flying flags. (diff)
downloadopensim-SC-fe0528b98cfc13d26ac7f1bf6bc23655be1f52e5.zip
opensim-SC-fe0528b98cfc13d26ac7f1bf6bc23655be1f52e5.tar.gz
opensim-SC-fe0528b98cfc13d26ac7f1bf6bc23655be1f52e5.tar.bz2
opensim-SC-fe0528b98cfc13d26ac7f1bf6bc23655be1f52e5.tar.xz
*Added UUIDNameRequest packet support (untested, but should work -- at least in sandbox mode)
*Various small renamings
Diffstat (limited to 'OpenSim/Region/Communications')
-rw-r--r--OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs2
-rw-r--r--OpenSim/Region/Communications/OGS1/OGS1InterSimComms.cs (renamed from OpenSim/Region/Communications/OGS1/OGSInterSimComms.cs)0
-rw-r--r--OpenSim/Region/Communications/OGS1/OGS1UserServices.cs (renamed from OpenSim/Region/Communications/OGS1/OGSUserServices.cs)10
-rw-r--r--OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.csproj51
-rw-r--r--OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.dll.build6
5 files changed, 34 insertions, 35 deletions
diff --git a/OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs b/OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs
index f2b3b92..870f577 100644
--- a/OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs
+++ b/OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs
@@ -12,7 +12,7 @@ namespace OpenSim.Region.Communications.OGS1
12 { 12 {
13 GridServer = gridInterComms; 13 GridServer = gridInterComms;
14 InterRegion = gridInterComms; 14 InterRegion = gridInterComms;
15 UserServer = new OGSUserServices(this); 15 UserServer = new OGS1UserServices(this);
16 } 16 }
17 } 17 }
18} 18}
diff --git a/OpenSim/Region/Communications/OGS1/OGSInterSimComms.cs b/OpenSim/Region/Communications/OGS1/OGS1InterSimComms.cs
index 51b33e9..51b33e9 100644
--- a/OpenSim/Region/Communications/OGS1/OGSInterSimComms.cs
+++ b/OpenSim/Region/Communications/OGS1/OGS1InterSimComms.cs
diff --git a/OpenSim/Region/Communications/OGS1/OGSUserServices.cs b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs
index 56a7837..856c447 100644
--- a/OpenSim/Region/Communications/OGS1/OGSUserServices.cs
+++ b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs
@@ -11,16 +11,22 @@ using Nwc.XmlRpc;
11 11
12namespace OpenSim.Region.Communications.OGS1 12namespace OpenSim.Region.Communications.OGS1
13{ 13{
14 public class OGSUserServices :IUserServices 14 public class OGS1UserServices :IUserServices
15 { 15 {
16 CommunicationsOGS1 m_parent; 16 CommunicationsOGS1 m_parent;
17 public OGSUserServices(CommunicationsOGS1 parent) 17 public OGS1UserServices(CommunicationsOGS1 parent)
18 { 18 {
19 m_parent = parent; 19 m_parent = parent;
20 } 20 }
21 21
22 public UserProfileData ConvertXMLRPCDataToUserProfile(Hashtable data) 22 public UserProfileData ConvertXMLRPCDataToUserProfile(Hashtable data)
23 { 23 {
24 if (data.Contains("error_type"))
25 {
26 Console.WriteLine("Error sent by user server when trying to get user profile: (" + data["error_type"] + "): " + data["error_desc"]);
27 return null;
28 }
29
24 UserProfileData userData = new UserProfileData(); 30 UserProfileData userData = new UserProfileData();
25 userData.username = (string)data["firstname"]; 31 userData.username = (string)data["firstname"];
26 userData.surname = (string)data["lastname"]; 32 userData.surname = (string)data["lastname"];
diff --git a/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.csproj b/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.csproj
index b03ac7e..0a9e5fb 100644
--- a/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.csproj
+++ b/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.csproj
@@ -1,4 +1,4 @@
1<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 1<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2 <PropertyGroup> 2 <PropertyGroup>
3 <ProjectType>Local</ProjectType> 3 <ProjectType>Local</ProjectType>
4 <ProductVersion>8.0.50727</ProductVersion> 4 <ProductVersion>8.0.50727</ProductVersion>
@@ -6,8 +6,7 @@
6 <ProjectGuid>{4806E378-0000-0000-0000-000000000000}</ProjectGuid> 6 <ProjectGuid>{4806E378-0000-0000-0000-000000000000}</ProjectGuid>
7 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> 7 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
8 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> 8 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
9 <ApplicationIcon> 9 <ApplicationIcon></ApplicationIcon>
10 </ApplicationIcon>
11 <AssemblyKeyContainerName> 10 <AssemblyKeyContainerName>
12 </AssemblyKeyContainerName> 11 </AssemblyKeyContainerName>
13 <AssemblyName>OpenSim.Region.Communications.OGS1</AssemblyName> 12 <AssemblyName>OpenSim.Region.Communications.OGS1</AssemblyName>
@@ -16,11 +15,9 @@
16 <DefaultTargetSchema>IE50</DefaultTargetSchema> 15 <DefaultTargetSchema>IE50</DefaultTargetSchema>
17 <DelaySign>false</DelaySign> 16 <DelaySign>false</DelaySign>
18 <OutputType>Library</OutputType> 17 <OutputType>Library</OutputType>
19 <AppDesignerFolder> 18 <AppDesignerFolder></AppDesignerFolder>
20 </AppDesignerFolder>
21 <RootNamespace>OpenSim.Region.Communications.OGS1</RootNamespace> 19 <RootNamespace>OpenSim.Region.Communications.OGS1</RootNamespace>
22 <StartupObject> 20 <StartupObject></StartupObject>
23 </StartupObject>
24 <FileUpgradeFlags> 21 <FileUpgradeFlags>
25 </FileUpgradeFlags> 22 </FileUpgradeFlags>
26 </PropertyGroup> 23 </PropertyGroup>
@@ -31,8 +28,7 @@
31 <ConfigurationOverrideFile> 28 <ConfigurationOverrideFile>
32 </ConfigurationOverrideFile> 29 </ConfigurationOverrideFile>
33 <DefineConstants>TRACE;DEBUG</DefineConstants> 30 <DefineConstants>TRACE;DEBUG</DefineConstants>
34 <DocumentationFile> 31 <DocumentationFile></DocumentationFile>
35 </DocumentationFile>
36 <DebugSymbols>True</DebugSymbols> 32 <DebugSymbols>True</DebugSymbols>
37 <FileAlignment>4096</FileAlignment> 33 <FileAlignment>4096</FileAlignment>
38 <Optimize>False</Optimize> 34 <Optimize>False</Optimize>
@@ -41,8 +37,7 @@
41 <RemoveIntegerChecks>False</RemoveIntegerChecks> 37 <RemoveIntegerChecks>False</RemoveIntegerChecks>
42 <TreatWarningsAsErrors>False</TreatWarningsAsErrors> 38 <TreatWarningsAsErrors>False</TreatWarningsAsErrors>
43 <WarningLevel>4</WarningLevel> 39 <WarningLevel>4</WarningLevel>
44 <NoWarn> 40 <NoWarn></NoWarn>
45 </NoWarn>
46 </PropertyGroup> 41 </PropertyGroup>
47 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> 42 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
48 <AllowUnsafeBlocks>False</AllowUnsafeBlocks> 43 <AllowUnsafeBlocks>False</AllowUnsafeBlocks>
@@ -51,8 +46,7 @@
51 <ConfigurationOverrideFile> 46 <ConfigurationOverrideFile>
52 </ConfigurationOverrideFile> 47 </ConfigurationOverrideFile>
53 <DefineConstants>TRACE</DefineConstants> 48 <DefineConstants>TRACE</DefineConstants>
54 <DocumentationFile> 49 <DocumentationFile></DocumentationFile>
55 </DocumentationFile>
56 <DebugSymbols>False</DebugSymbols> 50 <DebugSymbols>False</DebugSymbols>
57 <FileAlignment>4096</FileAlignment> 51 <FileAlignment>4096</FileAlignment>
58 <Optimize>True</Optimize> 52 <Optimize>True</Optimize>
@@ -61,31 +55,30 @@
61 <RemoveIntegerChecks>False</RemoveIntegerChecks> 55 <RemoveIntegerChecks>False</RemoveIntegerChecks>
62 <TreatWarningsAsErrors>False</TreatWarningsAsErrors> 56 <TreatWarningsAsErrors>False</TreatWarningsAsErrors>
63 <WarningLevel>4</WarningLevel> 57 <WarningLevel>4</WarningLevel>
64 <NoWarn> 58 <NoWarn></NoWarn>
65 </NoWarn>
66 </PropertyGroup> 59 </PropertyGroup>
67 <ItemGroup> 60 <ItemGroup>
68 <Reference Include="libsecondlife.dll"> 61 <Reference Include="libsecondlife.dll" >
69 <HintPath>..\..\..\..\bin\libsecondlife.dll</HintPath> 62 <HintPath>..\..\..\..\bin\libsecondlife.dll</HintPath>
70 <Private>False</Private> 63 <Private>False</Private>
71 </Reference> 64 </Reference>
72 <Reference Include="System"> 65 <Reference Include="System" >
73 <HintPath>System.dll</HintPath> 66 <HintPath>System.dll</HintPath>
74 <Private>False</Private> 67 <Private>False</Private>
75 </Reference> 68 </Reference>
76 <Reference Include="System.Data"> 69 <Reference Include="System.Data" >
77 <HintPath>System.Data.dll</HintPath> 70 <HintPath>System.Data.dll</HintPath>
78 <Private>False</Private> 71 <Private>False</Private>
79 </Reference> 72 </Reference>
80 <Reference Include="System.Runtime.Remoting"> 73 <Reference Include="System.Runtime.Remoting" >
81 <HintPath>System.Runtime.Remoting.dll</HintPath> 74 <HintPath>System.Runtime.Remoting.dll</HintPath>
82 <Private>False</Private> 75 <Private>False</Private>
83 </Reference> 76 </Reference>
84 <Reference Include="System.Xml"> 77 <Reference Include="System.Xml" >
85 <HintPath>System.Xml.dll</HintPath> 78 <HintPath>System.Xml.dll</HintPath>
86 <Private>False</Private> 79 <Private>False</Private>
87 </Reference> 80 </Reference>
88 <Reference Include="XMLRPC.dll"> 81 <Reference Include="XMLRPC.dll" >
89 <HintPath>..\..\..\..\bin\XMLRPC.dll</HintPath> 82 <HintPath>..\..\..\..\bin\XMLRPC.dll</HintPath>
90 <Private>False</Private> 83 <Private>False</Private>
91 </Reference> 84 </Reference>
@@ -95,35 +88,35 @@
95 <Name>OpenSim.Framework</Name> 88 <Name>OpenSim.Framework</Name>
96 <Project>{8ACA2445-0000-0000-0000-000000000000}</Project> 89 <Project>{8ACA2445-0000-0000-0000-000000000000}</Project>
97 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> 90 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
98 <Private>False</Private> 91 <Private>False</Private>
99 </ProjectReference> 92 </ProjectReference>
100 <ProjectReference Include="..\..\..\Framework\Communications\OpenSim.Framework.Communications.csproj"> 93 <ProjectReference Include="..\..\..\Framework\Communications\OpenSim.Framework.Communications.csproj">
101 <Name>OpenSim.Framework.Communications</Name> 94 <Name>OpenSim.Framework.Communications</Name>
102 <Project>{CB52B7E7-0000-0000-0000-000000000000}</Project> 95 <Project>{CB52B7E7-0000-0000-0000-000000000000}</Project>
103 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> 96 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
104 <Private>False</Private> 97 <Private>False</Private>
105 </ProjectReference> 98 </ProjectReference>
106 <ProjectReference Include="..\..\..\Framework\Console\OpenSim.Framework.Console.csproj"> 99 <ProjectReference Include="..\..\..\Framework\Console\OpenSim.Framework.Console.csproj">
107 <Name>OpenSim.Framework.Console</Name> 100 <Name>OpenSim.Framework.Console</Name>
108 <Project>{A7CD0630-0000-0000-0000-000000000000}</Project> 101 <Project>{A7CD0630-0000-0000-0000-000000000000}</Project>
109 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> 102 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
110 <Private>False</Private> 103 <Private>False</Private>
111 </ProjectReference> 104 </ProjectReference>
112 <ProjectReference Include="..\..\..\Framework\Data\OpenSim.Framework.Data.csproj"> 105 <ProjectReference Include="..\..\..\Framework\Data\OpenSim.Framework.Data.csproj">
113 <Name>OpenSim.Framework.Data</Name> 106 <Name>OpenSim.Framework.Data</Name>
114 <Project>{36B72A9B-0000-0000-0000-000000000000}</Project> 107 <Project>{36B72A9B-0000-0000-0000-000000000000}</Project>
115 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> 108 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
116 <Private>False</Private> 109 <Private>False</Private>
117 </ProjectReference> 110 </ProjectReference>
118 <ProjectReference Include="..\..\..\Framework\Servers\OpenSim.Framework.Servers.csproj"> 111 <ProjectReference Include="..\..\..\Framework\Servers\OpenSim.Framework.Servers.csproj">
119 <Name>OpenSim.Framework.Servers</Name> 112 <Name>OpenSim.Framework.Servers</Name>
120 <Project>{2CC71860-0000-0000-0000-000000000000}</Project> 113 <Project>{2CC71860-0000-0000-0000-000000000000}</Project>
121 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> 114 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
122 <Private>False</Private> 115 <Private>False</Private>
123 </ProjectReference> 116 </ProjectReference>
124 </ItemGroup> 117 </ItemGroup>
125 <ItemGroup> 118 <ItemGroup>
126 <Compile Include="OGSInterSimComms.cs"> 119 <Compile Include="OGS1InterSimComms.cs">
127 <SubType>Code</SubType> 120 <SubType>Code</SubType>
128 </Compile> 121 </Compile>
129 <Compile Include="OGS1GridServices.cs"> 122 <Compile Include="OGS1GridServices.cs">
@@ -132,7 +125,7 @@
132 <Compile Include="CommunicationsOGS1.cs"> 125 <Compile Include="CommunicationsOGS1.cs">
133 <SubType>Code</SubType> 126 <SubType>Code</SubType>
134 </Compile> 127 </Compile>
135 <Compile Include="OGSUserServices.cs"> 128 <Compile Include="OGS1UserServices.cs">
136 <SubType>Code</SubType> 129 <SubType>Code</SubType>
137 </Compile> 130 </Compile>
138 <Compile Include="Properties\AssemblyInfo.cs"> 131 <Compile Include="Properties\AssemblyInfo.cs">
@@ -146,4 +139,4 @@
146 <PostBuildEvent> 139 <PostBuildEvent>
147 </PostBuildEvent> 140 </PostBuildEvent>
148 </PropertyGroup> 141 </PropertyGroup>
149</Project> \ No newline at end of file 142</Project>
diff --git a/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.dll.build b/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.dll.build
index 1a7cf69..2176b14 100644
--- a/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.dll.build
+++ b/OpenSim/Region/Communications/OGS1/OpenSim.Region.Communications.OGS1.dll.build
@@ -11,10 +11,10 @@
11 <resources prefix="OpenSim.Region.Communications.OGS1" dynamicprefix="true" > 11 <resources prefix="OpenSim.Region.Communications.OGS1" dynamicprefix="true" >
12 </resources> 12 </resources>
13 <sources failonempty="true"> 13 <sources failonempty="true">
14 <include name="OGSInterSimComms.cs" /> 14 <include name="OGS1InterSimComms.cs" />
15 <include name="OGS1GridServices.cs" /> 15 <include name="OGS1GridServices.cs" />
16 <include name="GridCommsManager.cs" /> 16 <include name="CommunicationsOGS1.cs" />
17 <include name="OGSUserServices.cs" /> 17 <include name="OGS1UserServices.cs" />
18 <include name="Properties/AssemblyInfo.cs" /> 18 <include name="Properties/AssemblyInfo.cs" />
19 </sources> 19 </sources>
20 <references basedir="${project::get-base-directory()}"> 20 <references basedir="${project::get-base-directory()}">