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

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

public class SocketStreamFactory
extends Object
implements IOStreamFactory

Author:
mwills

Constructor Summary
SocketStreamFactory(String host, int port)
           
 
Method Summary
 IOStream createStream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocketStreamFactory

public SocketStreamFactory(String host,
                           int port)
                    throws IOException
Throws:
IOException
Method Detail

createStream

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


Copyright © 2013. All rights reserved.