|
" 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.SocketConnectionServerStreamProvider
public class SocketConnectionServerStreamProvider
An object that will provide cRIO socket connections when a client connects to the server on the given port
Constructor Summary | |
---|---|
SocketConnectionServerStreamProvider(int port)
Create a new Stream provider that wraps a Socket Server on the given port |
Method Summary | |
---|---|
IOStream |
accept()
|
void |
close()
Close the source of the IOStreams. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SocketConnectionServerStreamProvider(int port) throws IOException
port
-
IOException
Method Detail |
---|
public IOStream accept() throws IOException
accept
in interface IOStreamProvider
IOException
public void close() throws IOException
IOStreamProvider
IOStreamProvider.accept()
should not be called after this is called
close
in interface IOStreamProvider
IOException
|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |