001package edu.wpi.first.wpilibj.networktables2.stream;
002
003import java.io.*;
004
005/**
006 * An abstraction for a bidirectional stream that a network table can connect through
007 * 
008 * @author mwills
009 *
010 */
011public interface IOStream {
012        
013        /**
014         * @return the input stream for this IOStream
015         */
016        public InputStream getInputStream();
017        /**
018         * @return the output stream for this IOStream
019         */
020        public OutputStream getOutputStream();
021        /**
022         * completely close the stream
023         */
024        public void close();
025}