edu.wpi.first.wpilibj.networktables2.stream
Class SocketConnectionStreamFactory
java.lang.Object
edu.wpi.first.wpilibj.networktables2.stream.SocketConnectionStreamFactory
- All Implemented Interfaces:
- IOStreamFactory
public class SocketConnectionStreamFactory
- extends Object
- implements IOStreamFactory
- Author:
- mwills
SocketConnectionStreamFactory
public SocketConnectionStreamFactory(String host,
int port)
throws IOException
- Create a new factory that will create socket connections with the given host and port
- Parameters:
host
- port
-
- Throws:
IOException
createStream
public IOStream createStream()
throws IOException
- Specified by:
createStream
in interface IOStreamFactory
- Returns:
- create a new stream
- Throws:
IOException
"For updated information see the Java FRC site"