/// <summary> /// Encapsulate request in utopia request. /// </summary> public XMLement utopiaRequest(XMLement anElement) { XMLement req = new XMLement(); req.tag = Protocol.TAG_UTOPIA_REQ; req.addChild(anElement); lock (this) { req = doRequest(req, 0); } if ((req != null) && (req.tag == "utopia-rsp")) { return(req.firstChild()); } else { // add error handling! } return(null); }