internal PubSubNode(XmppStream stream, JID jid, string node, int maxItems) { if (stream == null) throw new ArgumentException("must not be null", "stream"); if (node == null) throw new ArgumentException("must not be null", "node"); if (node == "") throw new ArgumentException("must not be empty", "node"); m_stream = stream; m_jid = jid; m_node = node; m_items = new ItemList(this, maxItems); }