edu.wpi.first.wpilibj.networktables2.stream
Class SocketStream
java.lang.Object
edu.wpi.first.wpilibj.networktables2.stream.SimpleIOStream
edu.wpi.first.wpilibj.networktables2.stream.SocketStream
- All Implemented Interfaces:
- IOStream
public class SocketStream
- extends SimpleIOStream
A socket connection on a standard Java VM
- Author:
- mwills
Method Summary |
void |
close()
completely close the stream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SocketStream
public SocketStream(String host,
int port)
throws IOException
- Throws:
IOException
SocketStream
public SocketStream(Socket socket)
throws IOException
- Throws:
IOException
close
public void close()
- Description copied from interface:
IOStream
- completely close the stream
- Specified by:
close
in interface IOStream
- Overrides:
close
in class SimpleIOStream
Copyright © 2013. All rights reserved.