aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Client/MXP/MXPUtil.cs
diff options
context:
space:
mode:
authorAdam Frisby2009-02-22 08:48:55 +0000
committerAdam Frisby2009-02-22 08:48:55 +0000
commit937a2e6dcae6c4369ee6952a2697ae31aaba4903 (patch)
treec205d090b7595a16bd261723a1e3f1bef5dbada8 /OpenSim/Client/MXP/MXPUtil.cs
parentRefactor log4net logger handling in script engine. (#3148) (diff)
downloadopensim-SC_OLD-937a2e6dcae6c4369ee6952a2697ae31aaba4903.zip
opensim-SC_OLD-937a2e6dcae6c4369ee6952a2697ae31aaba4903.tar.gz
opensim-SC_OLD-937a2e6dcae6c4369ee6952a2697ae31aaba4903.tar.bz2
opensim-SC_OLD-937a2e6dcae6c4369ee6952a2697ae31aaba4903.tar.xz
* Adds initial support for the MXP Virtual Worlds protocol (http://www.bubblecloud.org)
* Handled via the MXPModule.cs located in OpenSim.Client.MXP namespace. * Also implements MXPClientView and MXPPacketServer for IClientAPI compatibility. * No changes were required to Core to implement this - the thing is self contained in OpenSim.Client.MXP.dll. * Includes reference implementation of MXP as MXP.dll - this is under the Apache 2.0 license. * Requires OpenSim.ini setting to enable. "[MXP] \n Enabled=true \n Port=1253" * May break. Highly untested.
Diffstat (limited to 'OpenSim/Client/MXP/MXPUtil.cs')
-rw-r--r--OpenSim/Client/MXP/MXPUtil.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Client/MXP/MXPUtil.cs b/OpenSim/Client/MXP/MXPUtil.cs
new file mode 100644
index 0000000..7ca4533
--- /dev/null
+++ b/OpenSim/Client/MXP/MXPUtil.cs
@@ -0,0 +1,15 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4using OpenMetaverse;
5
6namespace OpenSim.Client.MXP
7{
8 static class MXPUtil
9 {
10 public static string GenerateMXPURL(string server, int port, UUID bubbleID, Vector3 location)
11 {
12 return string.Format("mxp://{0}:{1}/{2}/{3}", server, port, bubbleID.Guid, location);
13 }
14 }
15}