12345678910111213141516171819202122232425262728293031323334353637383940 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- namespace Networkreader
- {
- public interface INWReader
- {
- /// <summary>
- /// Starts reading from the tcp stream and dumping the result to a file.
- /// </summary>
- /// <returns>
- /// Returns the path of the file that will contain the stream data.
- /// </returns>
- string StartNWRead();
- /// <summary>
- /// Stops the tcp stream.
- /// </summary>
- void StopReading();
- /// <summary>
- /// Returns the Timestamp of the last saved Element.
- /// </summary>
- /// <returns>
- /// The timestamp of the last entry.
- /// </returns>
- double GetNewestTimestamp();
- /// <summary>
- /// Returns the Timestamp of the first saved Element.
- /// </summary>
- /// <returns>
- /// The timestamp of the first entry.
- /// </returns>
- double GetOldestTimestamp();
- }
- }
|