public StormReaderNotBotheredAboutTaskIds(
     IReadNext reader,
     IProtocolReaderFormat readerFormat)
 {
     _reader       = reader;
     _readerFormat = readerFormat;
 }
 public StormReaderNotBotheredAboutTaskIds(
     IReadNext reader,
     IProtocolReaderFormat readerFormat)
 {
     _reader = reader;
     _readerFormat = readerFormat;
 }
 public StormReader(
     IReadNext reader,
     IProtocolReaderFormat readerFormat)
 {
     _reader = reader;
     _readerFormat = readerFormat;
 }
 public StormReader(
     IReadNext reader,
     IProtocolReaderFormat readerFormat)
 {
     _reader       = reader;
     _readerFormat = readerFormat;
 }
 public StrormConfigurationBuilder()
 {
     ICommunication communication = new StdInOutCommunication();
     IOsSpecific osStuff = new WindowsPidStuff();
     _outputToParent = new WriteStringWithEndTerminator(communication);
     _readerFormat = new JsonProtocolReaderFormat(new WritePidFileAndSendIdToParent(_writerFormat, osStuff, _outputToParent));
     _readNext = new ReadUntillEndRecieved(communication);
 }
        public StrormConfigurationBuilder()
        {
            ICommunication communication = new StdInOutCommunication();
            IOsSpecific    osStuff       = new WindowsPidStuff();

            _outputToParent = new WriteStringWithEndTerminator(communication);
            _readerFormat   = new JsonProtocolReaderFormat(new WritePidFileAndSendIdToParent(_writerFormat, osStuff, _outputToParent));
            _readNext       = new ReadUntillEndRecieved(communication);
        }
Beispiel #7
0
 public StormTuple(
     IProtocolReaderFormat format,
     long tupleId,
     string component,
     string stream,
     long task,
     object[] tuple) : this()
 {
     _format   = format;
     TupleId   = tupleId;
     Component = component;
     Stream    = stream;
     Task      = task;
     Tuple     = tuple;
 }
 public StormHeartBeat(
     IProtocolReaderFormat format,
     long tupleId, 
     string component, 
     string stream, 
     long task, 
     object[] tuple)
     : this()
 {
     _format = format;
     TupleId = tupleId;
     Component = component;
     Stream = stream;
     Task = task;
     Tuple = tuple;
 }