Changeset 619
- Timestamp:
- 11/29/2008 2:52:45 AM (5 years ago)
- File:
-
- 1 edited
-
branches/eraser6/Manager/RemoteExecutor.cs (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/Manager/RemoteExecutor.cs
r615 r619 222 222 public const string ClientName = "EraserRemoteExecutorClient_"; 223 223 224 private NamedPipeClientStream client = 224 private NamedPipeClientStream client = 225 225 new NamedPipeClientStream(RemoteExecutorServer.ServerName, 226 226 ClientName + Instances.ToString(), PipeDirection.InOut); … … 228 228 public enum Function : uint 229 229 { 230 ADD_TASK = 0, 230 RUN = 0, 231 ADD_TASK, 232 GET_TASK, 233 GET_TASKS, 231 234 CANCEL_TASK, 232 235 DELETE_TASK, 233 GET_TASK,234 GET_TASKS,235 RUN,236 QUEUE_RESTART_TASK,237 236 QUEUE_TASK, 238 237 REPLACE_TASK, 239 LOAD_TASK_LIST,240 238 SCHEDULE_TASK, 241 239 SAVE_TASK_LIST, 240 LOAD_TASK_LIST, 241 QUEUE_RESTART_TASK, 242 242 } 243 243 … … 270 270 client = new NamedPipeClientStream(RemoteExecutorServer.ServerName, 271 271 ClientName + Instances.ToString(), PipeDirection.InOut); 272 272 273 273 // wait for a connection for at least 5s 274 client.Connect(5000); 274 client.Connect(5000); 275 275 276 276 // serialise the data
Note: See TracChangeset
for help on using the changeset viewer.
