public void OnRemoveMuteListEntry(IClientAPI client, UUID MuteID, string Name, UUID AgentID) { //m_log.DebugFormat("[NSL MUTE LIST] OnRemoveMuteListEntry {0}, {1}, {2}", MuteID.ToString(), Name, AgentID.ToString()); GridMuteList ml = new GridMuteList(AgentID, MuteID, Name, 0, 0); bool success = SynchronousRestObjectPoster.BeginPostObject <GridMuteList, bool>("POST", m_RestURL + "/DeleteList/", ml); }
////////////////////////////////////////////////////////////////////////////////////////////////////////// // // public void OnUpdateMuteListEntry(IClientAPI client, UUID MuteID, string Name, int Type, UUID AgentID) { //m_log.DebugFormat("[NSL MUTE LIST] OnUpdateMuteListEntry {0}, {1}, {2}, {3}", MuteID.ToString(), Name, Type.ToString(), AgentID.ToString()); GridMuteList ml = new GridMuteList(AgentID, MuteID, Name, Type, 0); //bool success = SynchronousRestObjectPoster.BeginPostObject<GridMuteList, bool>("POST", m_RestURL+"/UpdateList/", ml); bool success = SynchronousRestObjectRequester.MakeRequest <GridMuteList, bool>("POST", m_RestURL + "/UpdateList/", ml); }
public void OnRemoveMuteListEntry(IClientAPI client, UUID MuteID, string Name, UUID AgentID) { //m_log.DebugFormat("[NSL MUTE LIST] OnRemoveMuteListEntry {0}, {1}, {2}", MuteID.ToString(), Name, AgentID.ToString()); GridMuteList ml = new GridMuteList(AgentID, MuteID, Name, 0, 0); bool success = SynchronousRestObjectPoster.BeginPostObject<GridMuteList, bool>("POST", m_RestURL+"/DeleteList/", ml); }
////////////////////////////////////////////////////////////////////////////////////////////////////////// // // public void OnUpdateMuteListEntry(IClientAPI client, UUID MuteID, string Name, int Type, UUID AgentID) { //m_log.DebugFormat("[NSL MUTE LIST] OnUpdateMuteListEntry {0}, {1}, {2}, {3}", MuteID.ToString(), Name, Type.ToString(), AgentID.ToString()); GridMuteList ml = new GridMuteList(AgentID, MuteID, Name, Type, 0); //bool success = SynchronousRestObjectPoster.BeginPostObject<GridMuteList, bool>("POST", m_RestURL+"/UpdateList/", ml); bool success = SynchronousRestObjectRequester.MakeRequest<GridMuteList, bool>("POST", m_RestURL+"/UpdateList/", ml); }