コード例 #1
0
ファイル: PayloadWriter.cs プロジェクト: imback82/spark-3
 internal void Write(
     Stream stream,
     Payload payload,
     CommandPayload commandPayload)
 {
     SerDe.Write(stream, payload.SplitIndex);
     SerDe.Write(stream, payload.Version);
     _taskContextWriter.Write(stream, payload.TaskContext);
     SerDe.Write(stream, payload.SparkFilesDir);
     Write(stream, payload.IncludeItems);
     _broadcastVariableWriter.Write(stream, payload.BroadcastVariables);
     _commandWriter.Write(stream, commandPayload);
 }
コード例 #2
0
 public void PublishStart()
 {
     _messageWriter.Write(
         CommandFactory.TestSuiteStarted(_assemblyName));
 }