9 implementations of INodePacketHandler
Microsoft.Build (9)
BackEnd\BuildManager\BuildManager.cs (1)
50
public class BuildManager :
INodePacketHandler
, IBuildComponentHost, IDisposable
BackEnd\Client\MSBuildClientPacketPump.cs (1)
17
internal sealed class MSBuildClientPacketPump :
INodePacketHandler
, INodePacketFactory, IDisposable
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (1)
21
internal class NodeProviderOutOfProcTaskHost : NodeProviderOutOfProcBase, INodeProvider, INodePacketFactory,
INodePacketHandler
BackEnd\Components\Logging\LoggingService.cs (1)
73
internal partial class LoggingService : ILoggingService,
INodePacketHandler
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
24
internal partial class LoggingService : ILoggingService,
INodePacketHandler
, IBuildComponent
BackEnd\Components\SdkResolution\HostedSdkResolverServiceBase.cs (1)
17
internal abstract class HostedSdkResolverServiceBase : IBuildComponent,
INodePacketHandler
, ISdkResolverService
BackEnd\Node\OutOfProcNode.cs (1)
30
public class OutOfProcNode : INode, IBuildComponentHost, INodePacketFactory,
INodePacketHandler
BackEnd\Node\OutOfProcServerNode.cs (1)
25
public sealed class OutOfProcServerNode : INode, INodePacketFactory,
INodePacketHandler
Instance\TaskFactories\TaskHostTask.cs (1)
27
internal class TaskHostTask : IGeneratedTask, ICancelableTask, INodePacketFactory,
INodePacketHandler
28 references to INodePacketHandler
Microsoft.Build (27)
BackEnd\BuildManager\BuildManager.cs (3)
604
_nodeManager.RegisterPacketHandler(NodePacketType.ResolveSdkRequest, SdkResolverRequest.FactoryForDeserialization, SdkResolverService as
INodePacketHandler
);
634
_nodeManager!.RegisterPacketHandler(NodePacketType.LogMessage, LogMessagePacket.FactoryForDeserialization, loggingService as
INodePacketHandler
);
1195
void
INodePacketHandler
.PacketReceived(int node, INodePacket packet)
BackEnd\Client\MSBuildClientPacketPump.cs (1)
101
public void RegisterPacketHandler(NodePacketType packetType, NodePacketFactoryMethod factory,
INodePacketHandler
handler)
BackEnd\Components\Communications\NodeManager.cs (1)
228
public void RegisterPacketHandler(NodePacketType packetType, NodePacketFactoryMethod factory,
INodePacketHandler
handler)
BackEnd\Components\Communications\NodeProviderInProc.cs (1)
270
public void RegisterPacketHandler(NodePacketType packetType, NodePacketFactoryMethod factory,
INodePacketHandler
handler)
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (6)
98
private IDictionary<int,
INodePacketHandler
> _nodeIdToPacketHandler;
230
_nodeIdToPacketHandler = new Dictionary<int,
INodePacketHandler
>();
258
public void RegisterPacketHandler(NodePacketType packetType, NodePacketFactoryMethod factory,
INodePacketHandler
handler)
319
if (_nodeIdToPacketHandler.TryGetValue(node, out
INodePacketHandler
packetHandler))
487
internal bool AcquireAndSetUpHost(HandshakeOptions hostContext, INodePacketFactory factory,
INodePacketHandler
handler, TaskHostConfiguration configuration)
528
internal bool CreateNode(HandshakeOptions hostContext, INodePacketFactory factory,
INodePacketHandler
handler, TaskHostConfiguration configuration)
BackEnd\Components\Communications\TaskHostNodeManager.cs (1)
127
public void RegisterPacketHandler(NodePacketType packetType, NodePacketFactoryMethod factory,
INodePacketHandler
handler)
BackEnd\Components\SdkResolution\HostedSdkResolverServiceBase.cs (1)
47
/// <inheritdoc cref="
INodePacketHandler
.PacketReceived"/>
BackEnd\Components\SdkResolution\MainNodeSdkResolverService.cs (1)
58
/// <inheritdoc cref="
INodePacketHandler
.PacketReceived"/>
BackEnd\Components\SdkResolution\OutOfProcNodeSdkResolverService.cs (1)
55
/// <inheritdoc cref="
INodePacketHandler
.PacketReceived"/>
BackEnd\Node\InProcNode.cs (1)
203
public void RegisterPacketHandler(NodePacketType packetType, NodePacketFactoryMethod factory,
INodePacketHandler
handler)
BackEnd\Node\OutOfProcNode.cs (3)
184
(this as INodePacketFactory).RegisterPacketHandler(NodePacketType.ResolveSdkResponse, SdkResult.FactoryForDeserialization, _sdkResolverService as
INodePacketHandler
);
319
void INodePacketFactory.RegisterPacketHandler(NodePacketType packetType, NodePacketFactoryMethod factory,
INodePacketHandler
handler)
363
void
INodePacketHandler
.PacketReceived(int node, INodePacket packet)
BackEnd\Node\OutOfProcServerNode.cs (2)
190
void INodePacketFactory.RegisterPacketHandler(NodePacketType packetType, NodePacketFactoryMethod factory,
INodePacketHandler
handler)
234
void
INodePacketHandler
.PacketReceived(int node, INodePacket packet)
INodePacketFactory.cs (1)
29
void RegisterPacketHandler(NodePacketType packetType, NodePacketFactoryMethod factory,
INodePacketHandler
handler);
Instance\TaskFactories\TaskHostTask.cs (1)
350
public void RegisterPacketHandler(NodePacketType packetType, NodePacketFactoryMethod factory,
INodePacketHandler
handler)
NodePacketFactory.cs (3)
34
public void RegisterPacketHandler(NodePacketType packetType, NodePacketFactoryMethod factory,
INodePacketHandler
handler)
80
private
INodePacketHandler
_handler;
90
public PacketFactoryRecord(
INodePacketHandler
handler, NodePacketFactoryMethod factoryMethod)
Microsoft.Build.Engine.UnitTests (1)
BackEnd\NodeEndpointInProc_Tests.cs (1)
94
public void RegisterPacketHandler(NodePacketType packetType, NodePacketFactoryMethod factory,
INodePacketHandler
handler)