edu.wpi.first.wpilibj.networktables2.stream
Class SocketStreamFactory
java.lang.Object
edu.wpi.first.wpilibj.networktables2.stream.SocketStreamFactory
- All Implemented Interfaces:
- IOStreamFactory
public class SocketStreamFactory
- extends Object
- implements IOStreamFactory
- Author:
- mwills
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SocketStreamFactory
public SocketStreamFactory(String host,
int port)
throws IOException
- Throws:
IOException
createStream
public IOStream createStream()
throws IOException
- Specified by:
createStream
in interface IOStreamFactory
- Returns:
- create a new stream
- Throws:
IOException
Copyright © 2013. All rights reserved.