|
" 2013 FRC Java API " |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.wpi.first.wpilibj.networktables2.stream.SocketConnectionStream
public class SocketConnectionStream
A socket connection on the cRIO
| Constructor Summary | |
|---|---|
SocketConnectionStream(SocketConnection socket)
Create a new IOStream for a socket connection |
|
SocketConnectionStream(String host,
int port)
Create a new IOStream for a socket connection with the given host and port |
|
| Method Summary | |
|---|---|
void |
close()
completely close the stream |
InputStream |
getInputStream()
|
OutputStream |
getOutputStream()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SocketConnectionStream(String host,
int port)
throws IOException
host - port -
IOException
public SocketConnectionStream(SocketConnection socket)
throws IOException
socket -
IOException| Method Detail |
|---|
public InputStream getInputStream()
getInputStream in interface IOStreampublic OutputStream getOutputStream()
getOutputStream in interface IOStreampublic void close()
IOStream
close in interface IOStream
|
" 2013 FRC Java API " |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||