25 implementations of INodePacket
Microsoft.Build (23)
BackEnd\Components\BuildRequestEngine\BuildRequestConfigurationResponse.cs (1)
14
internal class BuildRequestConfigurationResponse :
INodePacket
BackEnd\Components\FileAccesses\FileAccessReport.cs (1)
9
internal sealed class FileAccessReport :
INodePacket
BackEnd\Components\FileAccesses\ProcessReport.cs (1)
9
internal sealed class ProcessReport :
INodePacket
BackEnd\Components\SdkResolution\SdkResolverRequest.cs (1)
15
internal sealed class SdkResolverRequest :
INodePacket
BackEnd\Components\SdkResolution\SdkResult.cs (1)
18
internal sealed class SdkResult : SdkResultBase,
INodePacket
BackEnd\Node\NodeConfiguration.cs (1)
19
internal class NodeConfiguration :
INodePacket
BackEnd\Node\ServerNodeBuildCancel.cs (1)
6
internal sealed class ServerNodeBuildCancel :
INodePacket
BackEnd\Node\ServerNodeBuildCommand.cs (1)
15
internal sealed class ServerNodeBuildCommand :
INodePacket
BackEnd\Node\ServerNodeBuildResult.cs (1)
6
internal sealed class ServerNodeBuildResult :
INodePacket
BackEnd\Node\ServerNodeConsoleWrite.cs (1)
6
internal sealed class ServerNodeConsoleWrite :
INodePacket
BackEnd\Shared\BuildRequest.cs (1)
20
internal class BuildRequest :
INodePacket
BackEnd\Shared\BuildRequestBlocker.cs (1)
39
internal class BuildRequestBlocker :
INodePacket
BackEnd\Shared\BuildRequestConfiguration.cs (1)
28
INodePacket
BackEnd\Shared\BuildRequestUnblocker.cs (1)
21
internal class BuildRequestUnblocker : ITranslatable,
INodePacket
BackEnd\Shared\BuildResult.cs (1)
36
public class BuildResult : BuildResultBase,
INodePacket
, IBuildResults
BackEnd\Shared\ResourceRequest.cs (1)
11
internal sealed class ResourceRequest :
INodePacket
BackEnd\Shared\ResourceResponse.cs (1)
11
internal sealed class ResourceResponse :
INodePacket
LogMessagePacketBase.cs (1)
261
internal abstract class LogMessagePacketBase :
INodePacket
NodeBuildComplete.cs (1)
14
internal class NodeBuildComplete :
INodePacket
NodeShutdown.cs (1)
36
internal class NodeShutdown :
INodePacket
TaskHostConfiguration.cs (1)
19
internal class TaskHostConfiguration :
INodePacket
TaskHostTaskCancelled.cs (1)
12
internal class TaskHostTaskCancelled :
INodePacket
TaskHostTaskComplete.cs (1)
53
internal class TaskHostTaskComplete :
INodePacket
Microsoft.Build.Engine.UnitTests (2)
BackEnd\LoggingService_Tests.cs (1)
1504
internal sealed class NonLoggingPacket :
INodePacket
BackEnd\NodeEndpointInProc_Tests.cs (1)
127
private sealed class TestPacket :
INodePacket
149 references to INodePacket
Microsoft.Build (114)
BackEnd\BuildManager\BuildManager.cs (4)
1185
void INodePacketHandler.PacketReceived(int node,
INodePacket
packet)
1591
private void ProcessPacket(int node,
INodePacket
packet)
3072
private static I ExpectPacketType<I>(
INodePacket
packet, NodePacketType expectedType) where I : class,
INodePacket
BackEnd\Client\MSBuildClient.cs (5)
354
while (packetPump.ReceivedPacketsQueue.TryDequeue(out
INodePacket
? packet) &&
420
private bool TrySendPacket(Func<
INodePacket
> packetResolver)
422
INodePacket
? packet = null;
569
private void HandlePacket(
INodePacket
packet)
648
private void WritePacket(Stream nodeStream,
INodePacket
packet)
BackEnd\Client\MSBuildClientPacketPump.cs (4)
22
public ConcurrentQueue<
INodePacket
> ReceivedPacketsQueue { get; }
84
ReceivedPacketsQueue = new ConcurrentQueue<
INodePacket
>();
131
public void RoutePacket(int nodeId,
INodePacket
packet)
145
public void PacketReceived(int node,
INodePacket
packet)
BackEnd\Components\BuildRequestEngine\BuildRequestConfigurationResponse.cs (1)
87
internal static
INodePacket
FactoryForDeserialization(ITranslator translator)
BackEnd\Components\Communications\INodeManager.cs (1)
36
void SendData(int node,
INodePacket
packet);
BackEnd\Components\Communications\INodeProvider.cs (1)
78
void SendData(int node,
INodePacket
packet);
BackEnd\Components\Communications\LogMessagePacket.cs (1)
41
internal static
INodePacket
FactoryForDeserialization(ITranslator translator)
BackEnd\Components\Communications\NodeEndpointInProc.cs (5)
93
private ConcurrentQueue<
INodePacket
> _packetQueue;
211
public void SendData(
INodePacket
packet)
332
private void EnqueuePacket(
INodePacket
packet)
371
_packetQueue = new ConcurrentQueue<
INodePacket
>();
436
INodePacket
packet;
BackEnd\Components\Communications\NodeManager.cs (2)
122
public void SendData(int node,
INodePacket
packet)
263
public void RoutePacket(int nodeId,
INodePacket
packet)
BackEnd\Components\Communications\NodeProviderInProc.cs (2)
157
public void SendData(int nodeId,
INodePacket
packet)
299
public void RoutePacket(int nodeId,
INodePacket
packet)
BackEnd\Components\Communications\NodeProviderOutOfProc.cs (1)
132
public void SendData(int nodeId,
INodePacket
packet)
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (7)
96
protected void SendData(NodeContext context,
INodePacket
packet)
579
private BlockingCollection<
INodePacket
> _packetWriteQueue = new BlockingCollection<
INodePacket
>();
708
public void SendData(
INodePacket
packet)
738
while (_packetWriteQueue.TryTake(out
var
packet))
752
private void SendDataCore(
INodePacket
packet)
797
private static bool IsExitPacket(
INodePacket
packet)
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (4)
174
public void SendData(int nodeId,
INodePacket
packet)
184
public void SendData(HandshakeOptions hostContext,
INodePacket
packet)
295
public void RoutePacket(int nodeId,
INodePacket
packet)
317
public void PacketReceived(int node,
INodePacket
packet)
BackEnd\Components\Communications\TaskHostNodeManager.cs (2)
57
public void SendData(int node,
INodePacket
packet)
157
public void RoutePacket(int nodeId,
INodePacket
packet)
BackEnd\Components\FileAccesses\FileAccessReport.cs (1)
25
internal static
INodePacket
FactoryForDeserialization(ITranslator translator) => new FileAccessReport(translator);
BackEnd\Components\FileAccesses\OutOfProcNodeFileAccessManager.cs (3)
22
private readonly Action<
INodePacket
> _sendPacket;
24
private OutOfProcNodeFileAccessManager(Action<
INodePacket
> sendPacket) => _sendPacket = sendPacket;
26
public static IBuildComponent CreateComponent(BuildComponentType type, Action<
INodePacket
> sendPacket)
BackEnd\Components\FileAccesses\ProcessReport.cs (1)
22
internal static
INodePacket
FactoryForDeserialization(ITranslator translator) => new ProcessReport(translator);
BackEnd\Components\Logging\BuildEventArgTransportSink.cs (1)
16
internal delegate void SendDataDelegate(
INodePacket
packetToSend);
BackEnd\Components\Logging\LoggingService.cs (1)
959
public void PacketReceived(int node,
INodePacket
packet)
BackEnd\Components\SdkResolution\HostedSdkResolverServiceBase.cs (2)
30
public Action<
INodePacket
> SendPacket { get; set; }
49
public abstract void PacketReceived(int node,
INodePacket
packet);
BackEnd\Components\SdkResolution\ISdkResolverService.cs (1)
21
Action<
INodePacket
> SendPacket { get; }
BackEnd\Components\SdkResolution\MainNodeSdkResolverService.cs (1)
59
public override void PacketReceived(int node,
INodePacket
packet)
BackEnd\Components\SdkResolution\OutOfProcNodeSdkResolverService.cs (3)
48
public OutOfProcNodeSdkResolverService(Action<
INodePacket
> sendPacket)
56
public override void PacketReceived(int node,
INodePacket
packet)
124
INodePacket
packet = SdkResolverRequest.Create(submissionId, sdk, loggingContext.BuildEventContext, sdkReferenceLocation, solutionPath, projectPath, interactive, isRunningInVisualStudio);
BackEnd\Components\SdkResolution\OutOfProcNodeSdkResolverServiceFactory.cs (2)
19
private readonly Action<
INodePacket
> _sendPacket;
21
public OutOfProcNodeSdkResolverServiceFactory(Action<
INodePacket
> sendPacket)
BackEnd\Components\SdkResolution\SdkResolverRequest.cs (2)
13
/// with an additional <see cref="
INodePacket
"/> implementation.
76
public static
INodePacket
FactoryForDeserialization(ITranslator translator)
BackEnd\Components\SdkResolution\SdkResolverService.cs (1)
79
public Action<
INodePacket
> SendPacket { get; }
BackEnd\Components\SdkResolution\SdkResult.cs (1)
99
public static
INodePacket
FactoryForDeserialization(ITranslator translator)
BackEnd\Node\InProcNode.cs (5)
54
private readonly ConcurrentQueue<
INodePacket
> _receivedPackets;
113
_receivedPackets = new ConcurrentQueue<
INodePacket
>();
162
while (_receivedPackets.TryDequeue(out
INodePacket
packet))
230
public void RoutePacket(int nodeId,
INodePacket
packet)
368
private void HandlePacket(
INodePacket
packet)
BackEnd\Node\NodeConfiguration.cs (1)
187
internal static
INodePacket
FactoryForDeserialization(ITranslator translator)
BackEnd\Node\OutOfProcNode.cs (7)
102
private readonly ConcurrentQueue<
INodePacket
> _receivedPackets;
141
_receivedPackets = new ConcurrentQueue<
INodePacket
>();
267
while (_receivedPackets.TryDequeue(out
INodePacket
packet))
349
void INodePacketFactory.RoutePacket(int nodeId,
INodePacket
packet)
363
void INodePacketHandler.PacketReceived(int node,
INodePacket
packet)
582
private void SendPacket(
INodePacket
packet)
613
private void HandlePacket(
INodePacket
packet)
BackEnd\Node\OutOfProcServerNode.cs (7)
52
private readonly ConcurrentQueue<
INodePacket
> _receivedPackets;
84
_receivedPackets = new ConcurrentQueue<
INodePacket
>();
156
while (_receivedPackets.TryDequeue(out
INodePacket
? packet))
220
void INodePacketFactory.RoutePacket(int nodeId,
INodePacket
packet)
234
void INodePacketHandler.PacketReceived(int node,
INodePacket
packet)
285
private void SendPacket(
INodePacket
packet)
296
private void HandlePacket(
INodePacket
packet)
BackEnd\Node\ServerNodeBuildCancel.cs (1)
14
internal static
INodePacket
FactoryForDeserialization(ITranslator translator)
BackEnd\Node\ServerNodeBuildCommand.cs (1)
122
internal static
INodePacket
FactoryForDeserialization(ITranslator translator)
BackEnd\Node\ServerNodeBuildResult.cs (1)
41
internal static
INodePacket
FactoryForDeserialization(ITranslator translator)
BackEnd\Node\ServerNodeConsoleWrite.cs (1)
40
internal static
INodePacket
FactoryForDeserialization(ITranslator translator)
BackEnd\Shared\BuildRequest.cs (1)
443
internal static
INodePacket
FactoryForDeserialization(ITranslator translator)
BackEnd\Shared\BuildRequestBlocker.cs (1)
244
internal static
INodePacket
FactoryForDeserialization(ITranslator translator)
BackEnd\Shared\BuildRequestUnblocker.cs (1)
120
internal static
INodePacket
FactoryForDeserialization(ITranslator translator)
BackEnd\Shared\BuildResult.cs (1)
429
NodePacketType
INodePacket
.Type
BackEnd\Shared\ResourceRequest.cs (1)
108
internal static
INodePacket
FactoryForDeserialization(ITranslator translator)
BackEnd\Shared\ResourceResponse.cs (1)
71
internal static
INodePacket
FactoryForDeserialization(ITranslator translator)
INodeEndpoint.cs (2)
21
internal delegate void DataReceivedDelegate(INodeEndpoint endpoint,
INodePacket
packet);
104
void SendData(
INodePacket
packet);
INodePacketFactory.cs (2)
13
internal delegate
INodePacket
NodePacketFactoryMethod(ITranslator translator);
50
void RoutePacket(int nodeId,
INodePacket
packet);
INodePacketHandler.cs (1)
19
void PacketReceived(int node,
INodePacket
packet);
Instance\TaskFactories\TaskHostTask.cs (6)
68
private ConcurrentQueue<
INodePacket
> _receivedPackets;
160
_receivedPackets = new ConcurrentQueue<
INodePacket
>();
306
INodePacket
packet = null;
380
public void RoutePacket(int nodeId,
INodePacket
packet)
391
public void PacketReceived(int node,
INodePacket
packet)
409
private void HandlePacket(
INodePacket
packet, out bool taskFinished)
NodeEndpointOutOfProcBase.cs (7)
102
private ConcurrentQueue<
INodePacket
> _packetQueue;
182
public void SendData(
INodePacket
packet)
315
private void EnqueuePacket(
INodePacket
packet)
337
_packetQueue = new ConcurrentQueue<
INodePacket
>();
353
ConcurrentQueue<
INodePacket
> localPacketQueue = _packetQueue;
515
ConcurrentQueue<
INodePacket
> localPacketQueue, AutoResetEvent localPacketAvailable, AutoResetEvent localTerminatePacketPump)
626
INodePacket
packet;
NodePacketFactory.cs (3)
64
public void RoutePacket(int nodeId,
INodePacket
packet)
101
INodePacket
packet = _factoryMethod(translator);
108
public void RoutePacket(int nodeId,
INodePacket
packet)
TaskHostConfiguration.cs (1)
471
internal static
INodePacket
FactoryForDeserialization(ITranslator translator)
TaskHostTaskCancelled.cs (1)
41
internal static
INodePacket
FactoryForDeserialization(ITranslator translator)
TaskHostTaskComplete.cs (1)
258
internal static
INodePacket
FactoryForDeserialization(ITranslator translator)
Microsoft.Build.Engine.UnitTests (35)
BackEnd\BuildEventArgTransportSink_Tests.cs (4)
68
void TransportDelegate(
INodePacket
packet)
91
void TransportDelegate(
INodePacket
packet)
112
void TransportDelegate(
INodePacket
packet)
155
private static void PacketProcessor(
INodePacket
packet)
BackEnd\BuildRequest_Tests.cs (2)
123
INodePacket
packet = BuildRequest.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
169
INodePacket
packet = BuildRequest.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
BackEnd\BuildRequestConfiguration_Tests.cs (2)
253
INodePacket
packet = BuildRequestConfiguration.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
294
INodePacket
packet = BuildRequestConfiguration.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
BackEnd\BuildRequestConfigurationResponse_Tests.cs (1)
84
INodePacket
deserializedPacket = BuildRequestConfigurationResponse.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
BackEnd\BuildResult_Tests.cs (3)
119
Assert.Equal(NodePacketType.BuildResult, ((
INodePacket
)result).Type);
326
Assert.Equal(NodePacketType.BuildResult, (result as
INodePacket
).Type);
328
INodePacket
packet = BuildResult.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
BackEnd\MockHost.cs (1)
224
public
INodePacket
DeserializePacket(NodePacketType type, byte[] serializedPacket)
BackEnd\MockSdkResolverService.cs (1)
17
public Action<
INodePacket
> SendPacket { get; }
BackEnd\NodeEndpointInProc_Tests.cs (7)
109
public void RoutePacket(int nodeId,
INodePacket
packet)
159
public readonly
INodePacket
packet;
161
public DataReceivedContext(Thread thread,
INodePacket
packet)
298
INodePacket
managerPacket = new TestPacket();
299
INodePacket
nodePacket = new TestPacket();
327
INodePacket
managerPacket = new TestPacket();
328
INodePacket
nodePacket = new TestPacket();
BackEnd\NodePackets_Tests.cs (1)
327
INodePacket
tempPacket = LogMessagePacket.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()) as LogMessagePacket;
BackEnd\TaskHostConfiguration_Tests.cs (7)
367
INodePacket
packet = TaskHostConfiguration.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
464
INodePacket
packet = TaskHostConfiguration.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
515
INodePacket
packet = TaskHostConfiguration.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
564
INodePacket
packet = TaskHostConfiguration.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
612
INodePacket
packet = TaskHostConfiguration.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
667
INodePacket
packet = TaskHostConfiguration.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
717
INodePacket
packet = TaskHostConfiguration.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
BackEnd\TaskHostTaskCancelled_Tests.cs (1)
35
INodePacket
packet = TaskHostTaskCancelled.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
BackEnd\TaskHostTaskComplete_Tests.cs (5)
120
INodePacket
packet = TaskHostTaskComplete.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
143
INodePacket
packet = TaskHostTaskComplete.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
169
INodePacket
packet = TaskHostTaskComplete.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
196
INodePacket
packet = TaskHostTaskComplete.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());
222
INodePacket
packet = TaskHostTaskComplete.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());