internal PayloadWriter( Version version, ITaskContextWriter taskContextWriter, IBroadcastVariableWriter broadcastVariableWriter, ICommandWriter commandWriter) { Version = version; _taskContextWriter = taskContextWriter; _broadcastVariableWriter = broadcastVariableWriter; _commandWriter = commandWriter; }
public DefaultProtocol(IProtocolFactory factory, ProtocolOptions options) { m_buffer = new Buffer <byte>(options.BufferSize); m_factory = factory; Options = options; m_keyEncoder = factory.CreateEncoder(); m_builder = factory.CreatePacketBuilder(m_buffer); m_formatter = factory.CreateObjectFormatter(); m_commandWriter = factory.CreateCommandWriter(m_builder); }
public TeamCityTestResultHandler(ICommandWriter messageWriter, string assemblyName) { _messageWriter = messageWriter; _assemblyName = assemblyName; }
public virtual void Write(ICommandWriter commandWriter) { commandWriter.WriteBytes(GetBytes()); }
public ConnectReceive(ICommandWriter writer, ICommandReader reader) { _writer = writer; _reader = reader; }
public NetworkInterface(ICommandReader reader, ICommandWriter writer) { _connection = new NetworkConnection(); _reader = reader; _writer = writer; }
public NetworkInterface(ICommandReader reader, ICommandWriter writer) { _reader = reader; _writer = writer; }