Esempio n. 1
0
 public void DeregisterCaps()
 {
     m_service.RemoveStreamHandler("UpdateAgentLanguage", "POST");
     m_service.RemoveStreamHandler("UpdateAgentInformation", "POST");
     m_service.RemoveStreamHandler("AvatarPickerSearch", "GET");
     m_service.RemoveStreamHandler("HomeLocation", "POST");
     m_service.RemoveStreamHandler("TeleportLocation", "POST");
 }
Esempio n. 2
0
 public void DeregisterCaps()
 {
     if (m_service == null)
     {
         return; //If display names aren't enabled
     }
     m_service.RemoveStreamHandler("SetDisplayName", "POST");
     m_service.RemoveStreamHandler("GetDisplayNames", "GET");
 }
Esempio n. 3
0
            /// <summary>
            ///
            /// </summary>
            /// <param name="data"></param>
            /// <param name="path"></param>
            /// <param name="param"></param>
            /// <returns></returns>
            public byte[] uploaderCaps(string path, Stream request,
                                       OSHttpRequest httpRequest, OSHttpResponse httpResponse)
            {
                handlerUpLoad = OnUpLoad;
                UUID newAssetID;

                handlerUpLoad(HttpServerHandlerHelpers.ReadFully(request), out newAssetID);

                OSDMap map = new OSDMap();

                map["new_asset"] = newAssetID.ToString();
                map["item_id"]   = UUID.Zero;
                map["state"]     = "complete";
                clientCaps.RemoveStreamHandler(uploadMethod, "POST", uploaderPath);

                return(OSDParser.SerializeLLSDXmlBytes(map));
            }
Esempio n. 4
0
            /// <summary>
            ///
            /// </summary>
            /// <param name="data"></param>
            /// <param name="path"></param>
            /// <param name="param"></param>
            /// <returns></returns>
            public string uploaderCaps(byte[] data, string path, string param)
            {
                UUID   inv = inventoryItemID;
                string res = String.Empty;
                OSDMap map = new OSDMap();

                map["new_asset"]          = newAssetID.ToString();
                map["new_inventory_item"] = inv;
                map["state"] = "complete";
                res          = OSDParser.SerializeLLSDXmlString(map);

                clientCaps.RemoveStreamHandler(uploadMethod, "POST", uploaderPath);

                m_invCaps.UploadCompleteHandler(m_assetName, m_assetDes, newAssetID, inv, parentFolder, data, m_invType, m_assetType);

                return(res);
            }
Esempio n. 5
0
            /// <summary>
            ///
            /// </summary>
            /// <param name="data"></param>
            /// <param name="path"></param>
            /// <param name="param"></param>
            /// <returns></returns>
            public string uploaderCaps(byte[] data, string path, string param)
            {
                handlerUpLoad = OnUpLoad;
                UUID newAssetID;

                handlerUpLoad(data, out newAssetID);

                string res = String.Empty;
                OSDMap map = new OSDMap();

                map["new_asset"] = newAssetID.ToString();
                map["item_id"]   = UUID.Zero;
                map["state"]     = "complete";
                res = OSDParser.SerializeLLSDXmlString(map);
                clientCaps.RemoveStreamHandler(uploadMethod, "POST", uploaderPath);

                return(res);
            }
            ///<summary>
            ///</summary>
            ///<param name = "data"></param>
            ///<param name = "path"></param>
            ///<param name = "param"></param>
            ///<returns></returns>
            public byte[] uploaderCaps(string path, Stream request,
                                       OSHttpRequest httpRequest, OSHttpResponse httpResponse)
            {
                UUID inv = inventoryItemID;

                byte[] data = HttpServerHandlerHelpers.ReadFully(request);
                clientCaps.RemoveStreamHandler(uploadMethod, "POST", uploaderPath);

                newAssetID = m_invCaps.UploadCompleteHandler(m_assetName, m_assetDes, newAssetID, inv, parentFolder,
                                                             data, m_invType, m_assetType, m_everyone_mask, m_group_mask,
                                                             m_next_owner_mask);

                OSDMap map = new OSDMap();

                map["new_asset"]          = newAssetID.ToString();
                map["new_inventory_item"] = inv;
                map["state"] = "complete";

                return(OSDParser.SerializeLLSDXmlBytes(map));
            }
 public void DeregisterCaps()
 {
     m_service.RemoveStreamHandler("AvatarPickerSearch", "GET");
     m_service.RemoveStreamHandler("HomeLocation", "POST");
     m_service.RemoveStreamHandler("TeleportLocation", "POST");
 }
 public void DeregisterCaps()
 {
     m_service.RemoveStreamHandler("ProductInfoRequest", "GET");
 }
Esempio n. 9
0
 public void DeregisterCaps()
 {
     m_service.RemoveStreamHandler("ViewerStats", "POST");
 }
Esempio n. 10
0
 public void DeregisterCaps()
 {
     m_service.RemoveStreamHandler("GroupMemberData", "POST");
 }
 public void DeregisterCaps()
 {
     m_service.RemoveStreamHandler("AgentPreferences", "POST");
     m_service.RemoveStreamHandler("UpdateAgentLanguage", "POST");
     m_service.RemoveStreamHandler("UpdateAgentInformation", "POST");
 }
Esempio n. 12
0
 public void DeregisterCaps()
 {
     m_service.RemoveStreamHandler("ChatSessionRequest", "POST");
 }
Esempio n. 13
0
 public void DeregisterCaps()
 {
     m_service.RemoveStreamHandler("MapLayer", "POST");
     m_mapLayer.Clear();
 }
Esempio n. 14
0
 public void DeregisterCaps()
 {
     m_service.RemoveStreamHandler("AgentExperiences", "GET");
 }
Esempio n. 15
0
 public void DeregisterCaps()
 {
     m_service.RemoveStreamHandler("GetTexture", "GET");
     m_service.RemoveStreamHandler("UploadBakedTexture", "POST");
     m_service.RemoveStreamHandler("GetMesh", "GET");
 }
Esempio n. 16
0
 public void DeregisterCaps()
 {
     m_service.RemoveStreamHandler("RetrieveNavMeshSrc", "GET");
 }
Esempio n. 17
0
 public void DeregisterCaps()
 {
     m_service.RemoveStreamHandler("ExperiencePreferences", "POST");
     m_service.RemoveStreamHandler("FindExperienceByName", "POST");
     m_service.RemoveStreamHandler("GetExperiences", "POST");
 }
Esempio n. 18
0
 public void DeregisterCaps()
 {
     m_service.RemoveStreamHandler("GroupAPIv1", "GET");
     m_service.RemoveStreamHandler("GroupAPIv1", "POST");
 }
Esempio n. 19
0
 public void DeregisterCaps()
 {
     m_service.RemoveStreamHandler("SimulatorFeatures", "GET");
 }
Esempio n. 20
0
 public void DeregisterCaps()
 {
     m_service.RemoveStreamHandler("MeshUploadFlag", "GET");
 }
Esempio n. 21
0
 public void DeregisterCaps()
 {
     m_service.RemoveStreamHandler("EventQueueGet", "POST", m_capsPath);
     MainServer.Instance.RemovePollServiceHTTPHandler("POST", m_capsPath);
 }
Esempio n. 22
0
 public void DeregisterCaps()
 {
     m_service.RemoveStreamHandler("SetDisplayName", "POST");
     m_service.RemoveStreamHandler("GetDisplayNames", "GET");
 }