Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/27/09 14:04:47 (16 years ago)
Author:
svonolfe
Message:

Refactored DAL (now using GUIDs as IDs instead of longs) (#527)

Location:
trunk/sources/HeuristicLab.Hive.Server.Console
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.Console/HiveServerManagementConsole.cs

    r1377 r1449  
    4545    private ResponseList<Job> jobs = null;
    4646
    47     private Dictionary<long, ListViewGroup> clientObjects;
    48     private Dictionary<long, ListViewItem> clientInfoObjects;
    49     private Dictionary<long, ListViewItem> jobObjects;
    50     private Dictionary<long, ListViewGroup> userGroupsObjects;
    51     private Dictionary<long, ListViewItem> userListObjects;
     47    private Dictionary<Guid, ListViewGroup> clientObjects;
     48    private Dictionary<Guid, ListViewItem> clientInfoObjects;
     49    private Dictionary<Guid, ListViewItem> jobObjects;
     50    private Dictionary<Guid, ListViewGroup> userGroupsObjects;
     51    private Dictionary<Guid, ListViewItem> userListObjects;
    5252
    5353    private Job currentJob = null;
     
    8585    private void AddClients() {
    8686      try {
    87         clientObjects = new Dictionary<long, ListViewGroup>();
    88         clientInfoObjects = new Dictionary<long, ListViewItem>();
     87        clientObjects = new Dictionary<Guid, ListViewGroup>();
     88        clientInfoObjects = new Dictionary<Guid, ListViewItem>();
    8989        IClientManager clientManager =
    9090          ServiceLocator.GetClientManager();
     
    131131    private void AddJobs() {
    132132      try {
    133         jobObjects = new Dictionary<long, ListViewItem>();
     133        jobObjects = new Dictionary<Guid, ListViewItem>();
    134134        IJobManager jobManager =
    135135          ServiceLocator.GetJobManager();
  • trunk/sources/HeuristicLab.Hive.Server.Console/ServiceLocator.cs

    r1377 r1449  
    2727        Port != String.Empty) {
    2828
    29         NetTcpBinding binding = 
    30              new NetTcpBinding();
     29        NetTcpBinding binding =
     30             new NetTcpBinding(SecurityMode.None, true);
    3131
    3232        binding.MaxReceivedMessageSize = 5000000;
Note: See TracChangeset for help on using the changeset viewer.