public StormReaderNotBotheredAboutTaskIds(
     IReadNext reader,
     IProtocolReaderFormat readerFormat)
 {
     _reader       = reader;
     _readerFormat = readerFormat;
 }
 public StormReaderNotBotheredAboutTaskIds(
     IReadNext reader,
     IProtocolReaderFormat readerFormat)
 {
     _reader = reader;
     _readerFormat = readerFormat;
 }
Ejemplo n.º 3
0
 public StormReader(
     IReadNext reader,
     IProtocolReaderFormat readerFormat)
 {
     _reader = reader;
     _readerFormat = readerFormat;
 }
Ejemplo n.º 4
0
 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);
        }
Ejemplo n.º 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;
 }