001package edu.wpi.first.wpilibj.networktables2.stream;
002
003import java.io.*;
004
005/**
006 * A factory that will create the same IOStream. A stream returned by this factory should be closed before calling createStream again
007 * 
008 * @author Mitchell
009 *
010 */
011public interface IOStreamFactory {
012        /**
013         * @return create a new stream
014         * @throws IOException
015         */
016        public IOStream createStream() throws IOException;
017}