ForeignUserProfileData.cs 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. /**
  2. * Copyright (c) 2008, Contributors. All rights reserved.
  3. * See CONTRIBUTORS.TXT for a full list of copyright holders.
  4. *
  5. * Redistribution and use in source and binary forms, with or without modification,
  6. * are permitted provided that the following conditions are met:
  7. *
  8. * * Redistributions of source code must retain the above copyright notice,
  9. * this list of conditions and the following disclaimer.
  10. * * Redistributions in binary form must reproduce the above copyright notice,
  11. * this list of conditions and the following disclaimer in the documentation
  12. * and/or other materials provided with the distribution.
  13. * * Neither the name of the Organizations nor the names of Individual
  14. * Contributors may be used to endorse or promote products derived from
  15. * this software without specific prior written permission.
  16. *
  17. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
  18. * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  19. * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
  20. * THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  21. * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
  22. * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
  23. * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  24. * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
  25. * OF THE POSSIBILITY OF SUCH DAMAGE.
  26. *
  27. */
  28. using System;
  29. using OpenSim.Framework;
  30. namespace OpenSim.Framework
  31. {
  32. public class ForeignUserProfileData : UserProfileData
  33. {
  34. /// <summary>
  35. /// The address of the users home sim, used for foreigners.
  36. /// </summary>
  37. private string _userUserServerURI = String.Empty;
  38. /// <summary>
  39. /// The address of the users home sim, used for foreigners.
  40. /// </summary>
  41. private string _userHomeAddress = String.Empty;
  42. /// <summary>
  43. /// The port of the users home sim, used for foreigners.
  44. /// </summary>
  45. private string _userHomePort = String.Empty;
  46. /// <summary>
  47. /// The remoting port of the users home sim, used for foreigners.
  48. /// </summary>
  49. private string _userHomeRemotingPort = String.Empty;
  50. public string UserServerURI
  51. {
  52. get { return _userUserServerURI; }
  53. set { _userUserServerURI = value; }
  54. }
  55. public string UserHomeAddress
  56. {
  57. get { return _userHomeAddress; }
  58. set { _userHomeAddress = value; }
  59. }
  60. public string UserHomePort
  61. {
  62. get { return _userHomePort; }
  63. set { _userHomePort = value; }
  64. }
  65. public string UserHomeRemotingPort
  66. {
  67. get { return _userHomeRemotingPort; }
  68. set { _userHomeRemotingPort = value; }
  69. }
  70. }
  71. }