/// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="ownerUser">User that owns specified remote server.</param>
 /// <param name="owner">Owner UserRemoteServerCollection collection that owns this remote server.</param>
 /// <param name="id">Remote server ID.</param>
 /// <param name="description">Remote server description.</param>
 /// <param name="host">Remote server name or IP.</param>
 /// <param name="port">Remote server port.</param>
 /// <param name="ssl">Specifies if connected to remote server via SSL.</param>
 /// <param name="userName">Remote server user name.</param>
 /// <param name="password">Remote server password.</param>
 /// <param name="enabled">Specifies if remote server is enabled.</param>
 internal UserRemoteServer(User ownerUser,UserRemoteServerCollection owner,string id,string description,string host,int port,bool ssl,string userName,string password,bool enabled)
 {
     m_pUser       = ownerUser;
     m_pOwner      = owner;
     m_ID          = id;
     m_Description = description;
     m_Host        = host;
     m_Port        = port;
     m_SSL         = ssl;
     m_UserName    = userName;
     m_Password    = password;
     m_Enabled     = enabled;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="ownerUser">User that owns specified remote server.</param>
 /// <param name="owner">Owner UserRemoteServerCollection collection that owns this remote server.</param>
 /// <param name="id">Remote server ID.</param>
 /// <param name="description">Remote server description.</param>
 /// <param name="host">Remote server name or IP.</param>
 /// <param name="port">Remote server port.</param>
 /// <param name="ssl">Specifies if connected to remote server via SSL.</param>
 /// <param name="userName">Remote server user name.</param>
 /// <param name="password">Remote server password.</param>
 /// <param name="enabled">Specifies if remote server is enabled.</param>
 internal UserRemoteServer(User ownerUser, UserRemoteServerCollection owner, string id, string description, string host, int port, bool ssl, string userName, string password, bool enabled)
 {
     m_pUser       = ownerUser;
     m_pOwner      = owner;
     m_ID          = id;
     m_Description = description;
     m_Host        = host;
     m_Port        = port;
     m_SSL         = ssl;
     m_UserName    = userName;
     m_Password    = password;
     m_Enabled     = enabled;
 }