Ignore:
Timestamp:
Feb 11, 2010, 3:48:49 PM (12 years ago)
Author:
arnold
Message:

Completely redesigned Manager-JobAdmin-Worker-infrastructure to distribute Jobs with a Peer-to-Peer infrastructure to remote CT2-Workspaces.

To test this infrastructure, open 2 instances of CT and load P2P_Manager_NEW_DES.cte and in the other instance P2P_Worker_NEW.cte.
HINT: Working with remote peers isn't possible every time, because the so called "SuperNode", which is necessary for relaying, sometimes goes down. But testing this infrastructure on different computers in the same network should work every time.

Location:
trunk/CrypPlugins/PeerToPeerBase
Files:
40 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/PeerToPeerBase/IP2PControl.cs

    r1066 r1137  
    44using System.Text;
    55using Cryptool.Plugins.PeerToPeer;
     6using Cryptool.PluginBase.Miscellaneous;
    67
    78namespace Cryptool.PluginBase.Control
  • trunk/CrypPlugins/PeerToPeerBase/P2PPeer.cs

    r1115 r1137  
    492492        #region Communication protocol
    493493
    494         /* TODO:
    495          * - Test this methods
    496          * - Integrate data types of payload
    497          * - Implement deserialize method */
    498 
    499494        /// <summary>
    500495        /// generates a ct2- and p2p-compatible and processable message
     
    583578                //    retMsg[i] = message[i + 1];
    584579                //}
    585                 Buffer.BlockCopy(message, 1, retMsg, 0, message.Length - 1);
     580                Buffer.BlockCopy(message, 1, retMsg, 0, retMsg.Length);
    586581                return retMsg;
    587582            }
Note: See TracChangeset for help on using the changeset viewer.