Changeset 1365


Ignore:
Timestamp:
03/19/09 14:45:53 (11 years ago)
Author:
msteinbi
Message:

Renamed methods of ClientCommunicator (#466)

Location:
trunk/sources
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Contracts/Interfaces/IClientCommunicator.cs

    r1133 r1365  
    3636    Response Login(ClientInfo clientInfo);
    3737    [OperationContract]
    38     ResponseHB SendHeartBeat(HeartBeatData hbData);
     38    ResponseHB ProcessHeartBeat(HeartBeatData hbData);
    3939    [OperationContract]
    40     ResponseJob PullJob(Guid clientId);
     40    ResponseJob SendJob(Guid clientId);
    4141    [OperationContract]
    42     ResponseResultReceived SendJobResult(Guid clientId,
     42    ResponseResultReceived ProcessJobResult(Guid clientId,
    4343      long jobId,
    4444      byte[] result,
  • trunk/sources/HeuristicLab.Hive.Server.Core/ClientCommunicator.cs

    r1340 r1365  
    168168    /// <returns></returns>
    169169    // todo: new name for "SendHeartBeat" e.g. ProcessHeartBeat
    170     public ResponseHB SendHeartBeat(HeartBeatData hbData) {
     170    public ResponseHB ProcessHeartBeat(HeartBeatData hbData) {
    171171      ResponseHB response = new ResponseHB();
    172172
     
    224224    /// <param name="clientId"></param>
    225225    /// <returns></returns>
    226     public ResponseJob PullJob(Guid clientId) {
     226    public ResponseJob SendJob(Guid clientId) {
    227227      ResponseJob response = new ResponseJob();
    228228
     
    251251    /// <param name="finished"></param>
    252252    /// <returns></returns>
    253     public ResponseResultReceived SendJobResult(Guid clientId,
     253    public ResponseResultReceived ProcessJobResult(Guid clientId,
    254254      long jobId,
    255255      byte[] result,
  • trunk/sources/HeuristicLab.Hive.Server.Core/ClientFacade.cs

    r1133 r1365  
    4040    }
    4141
    42     public ResponseHB SendHeartBeat(HeartBeatData hbData) {
    43       return clientCommunicator.SendHeartBeat(hbData);
     42    public ResponseHB ProcessHeartBeat(HeartBeatData hbData) {
     43      return clientCommunicator.ProcessHeartBeat(hbData);
    4444    }
    4545
    46     public ResponseJob PullJob(Guid clientId) {
    47       return clientCommunicator.PullJob(clientId);
     46    public ResponseJob SendJob(Guid clientId) {
     47      return clientCommunicator.SendJob(clientId);
    4848    }
    4949
    50     public ResponseResultReceived SendJobResult(Guid clientId,
     50    public ResponseResultReceived ProcessJobResult(Guid clientId,
    5151      long jobId,
    5252      byte[] result,
     
    5454      Exception exception,
    5555      bool finished) {
    56       return clientCommunicator.SendJobResult(clientId, jobId, result, percentage, exception, finished);
     56      return clientCommunicator.ProcessJobResult(clientId, jobId, result, percentage, exception, finished);
    5757    }
    5858
Note: See TracChangeset for help on using the changeset viewer.