WPILibC++  trunk
Public Member Functions | List of all members
SocketServerStreamProvider Class Reference
Inheritance diagram for SocketServerStreamProvider:
Inheritance graph
[legend]
Collaboration diagram for SocketServerStreamProvider:
Collaboration graph
[legend]

Public Member Functions

 SocketServerStreamProvider (int port)
 
IOStreamaccept ()
 
void close ()
 

Detailed Description

Definition at line 20 of file SocketServerStreamProvider.h.

Member Function Documentation

IOStream * SocketServerStreamProvider::accept ( )
virtual
Returns
a new IOStream normally from a server
Exceptions
IOException

Implements IOStreamProvider.

Definition at line 93 of file SocketServerStreamProvider.cpp.

void SocketServerStreamProvider::close ( )
virtual

Close the source of the IOStreams. accept() should not be called after this is called

Exceptions
IOException

Implements IOStreamProvider.

Definition at line 125 of file SocketServerStreamProvider.cpp.


The documentation for this class was generated from the following files: