diff options
author | Dr Scofield | 2008-06-04 13:06:24 +0000 |
---|---|---|
committer | Dr Scofield | 2008-06-04 13:06:24 +0000 |
commit | 67dee6410dcb982b899ec0bb9644d5afa4a8e2d1 (patch) | |
tree | 1bad930de9ec6088b6ce8695c028668f54a6ac4d /OpenSim/Framework/Communications/XMPP/XmppError.cs | |
parent | applied patch from mantis #1268 , thanks mikem (diff) | |
download | opensim-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 | ||
28 | using System; | ||
29 | using System.Xml; | ||
30 | using System.Xml.Serialization; | ||
31 | |||
28 | namespace OpenSim.Framework.Communications.XMPP | 32 | namespace 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 | } |