diff options
author | Adam Frisby | 2009-02-22 08:48:55 +0000 |
---|---|---|
committer | Adam Frisby | 2009-02-22 08:48:55 +0000 |
commit | 937a2e6dcae6c4369ee6952a2697ae31aaba4903 (patch) | |
tree | c205d090b7595a16bd261723a1e3f1bef5dbada8 /OpenSim/Client/MXP/MXPUtil.cs | |
parent | Refactor log4net logger handling in script engine. (#3148) (diff) | |
download | opensim-SC-937a2e6dcae6c4369ee6952a2697ae31aaba4903.zip opensim-SC-937a2e6dcae6c4369ee6952a2697ae31aaba4903.tar.gz opensim-SC-937a2e6dcae6c4369ee6952a2697ae31aaba4903.tar.bz2 opensim-SC-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.cs | 15 |
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 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using OpenMetaverse; | ||
5 | |||
6 | namespace 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 | } | ||