Пример #1
0
 internal PayloadWriter(
     Version version,
     ITaskContextWriter taskContextWriter,
     IBroadcastVariableWriter broadcastVariableWriter,
     ICommandWriter commandWriter)
 {
     Version                  = version;
     _taskContextWriter       = taskContextWriter;
     _broadcastVariableWriter = broadcastVariableWriter;
     _commandWriter           = commandWriter;
 }
Пример #2
0
        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;
 }
Пример #4
0
 public virtual void Write(ICommandWriter commandWriter)
 {
     commandWriter.WriteBytes(GetBytes());
 }
 public TeamCityTestResultHandler(ICommandWriter messageWriter, string assemblyName)
 {
     _messageWriter = messageWriter;
     _assemblyName  = assemblyName;
 }
Пример #6
0
 public ConnectReceive(ICommandWriter writer, ICommandReader reader)
 {
     _writer = writer;
     _reader = reader;
 }
Пример #7
0
 public NetworkInterface(ICommandReader reader, ICommandWriter writer)
 {
     _connection = new NetworkConnection();
     _reader     = reader;
     _writer     = writer;
 }
Пример #8
0
 public NetworkInterface(ICommandReader reader, ICommandWriter writer)
 {
     _reader = reader;
     _writer = writer;
 }
Пример #9
0
 public NetworkInterface(ICommandReader reader, ICommandWriter writer)
 {
     _reader = reader;
     _writer = writer;
 }
Пример #10
0
 public ConnectReceive(ICommandWriter writer, ICommandReader reader)
 {
     _writer = writer;
     _reader = reader;
 }