aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/XMPP/XmppError.cs
diff options
context:
space:
mode:
authorDr Scofield2008-06-04 13:06:24 +0000
committerDr Scofield2008-06-04 13:06:24 +0000
commit67dee6410dcb982b899ec0bb9644d5afa4a8e2d1 (patch)
tree1bad930de9ec6088b6ce8695c028668f54a6ac4d /OpenSim/Framework/Communications/XMPP/XmppError.cs
parentapplied patch from mantis #1268 , thanks mikem (diff)
downloadopensim-SC_OLD-67dee6410dcb982b899ec0bb9644d5afa4a8e2d1.zip
opensim-SC_OLD-67dee6410dcb982b899ec0bb9644d5afa4a8e2d1.tar.gz
opensim-SC_OLD-67dee6410dcb982b899ec0bb9644d5afa4a8e2d1.tar.bz2
opensim-SC_OLD-67dee6410dcb982b899ec0bb9644d5afa4a8e2d1.tar.xz
* fleshing out XMPP entities, adding XmppWriter and XmppSerializer
having spent the last couple of days wrestling with .NET XmlSerializer and trying to get it to do what is required by XMPP (RFC 3920 & 3921) this is the preliminary result of that wrestling (you should see the other guy!): XmppSerializer allows us to serialize Xmpp stanza (and theoretically deserialize [or reify] them), XmppWriter helps avoiding various gratuitous crap added in by off-the-shelf XmlSerializer. this is currently not used anywhere but the plan is to use it for at least an XMPPBridgeModule.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Communications/XMPP/XmppError.cs (renamed from OpenSim/Framework/Communications/XMPP/XMPPParser.cs)11
1 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/Framework/Communications/XMPP/XMPPParser.cs b/OpenSim/Framework/Communications/XMPP/XmppError.cs
index 26a78b2..1698b6a 100644
--- a/OpenSim/Framework/Communications/XMPP/XMPPParser.cs
+++ b/OpenSim/Framework/Communications/XMPP/XmppError.cs
@@ -25,10 +25,17 @@
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28using System;
29using System.Xml;
30using System.Xml.Serialization;
31
28namespace OpenSim.Framework.Communications.XMPP 32namespace OpenSim.Framework.Communications.XMPP
29{ 33{
30 public class XMPPParser 34 [XmlRoot("error")]
35 public class XmppErrorStanza
31 { 36 {
32 37 public XmppErrorStanza()
38 {
39 }
33 } 40 }
34} 41}