"

2013 FRC Java API

"

edu.wpi.first.wpilibj.networktables2.stream
Class SocketConnectionStreamFactory

java.lang.Object
  extended by edu.wpi.first.wpilibj.networktables2.stream.SocketConnectionStreamFactory
All Implemented Interfaces:
IOStreamFactory

public class SocketConnectionStreamFactory
extends Object
implements IOStreamFactory

Author:
mwills

Constructor Summary
SocketConnectionStreamFactory(String host, int port)
          Create a new factory that will create socket connections with the given host and port
 
Method Summary
 IOStream createStream()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

createStream

public IOStream createStream()
                      throws IOException
Specified by:
createStream in interface IOStreamFactory
Returns:
create a new stream
Throws:
IOException

"

2013 FRC Java API

"

"
For updated information see the Java FRC site
"