Package com.ngt.jopenmetaverse.shared.sim.message.LindenMessages

Examples of com.ngt.jopenmetaverse.shared.sim.message.LindenMessages.UpdateAgentLanguageMessage


  /// <param name="isPublic">Share language info with scripts</param>
  public void UpdateAgentLanguage(String language, boolean isPublic)
  {
    try
    {
      UpdateAgentLanguageMessage msg = new UpdateAgentLanguageMessage();
      msg.Language = language;
      msg.LanguagePublic = isPublic;

      URI url = Client.network.getCurrentSim().Caps.CapabilityURI("UpdateAgentLanguage");
      CapsHttpClient request = new CapsHttpClient(url);
      request.BeginGetResponse(msg.Serialize(), OSDFormat.Xml, Client.settings.CAPS_TIMEOUT);
    }
    catch (Exception ex)
    {
      JLogger.error("Failes to update agent language" + Utils.getExceptionStackTraceAsString(ex));
    }
View Full Code Here

TOP

Related Classes of com.ngt.jopenmetaverse.shared.sim.message.LindenMessages.UpdateAgentLanguageMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.