MFEM  v3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
mfem::isockstream Class Reference

#include <isockstream.hpp>

Public Member Functions

 isockstream (int port)
 
bool good ()
 
void receive (std::istringstream **in)
 Start waiting for data and return it in an input stream. More...
 
 ~isockstream ()
 

Detailed Description

Data type for input socket stream class. The class is used as server to receive data from a client on specified port number. The user gets data from the stream as from any other input stream. This class is DEPRECATED. New code should use class socketserver (see "socketstream.hpp").

Definition at line 26 of file isockstream.hpp.

Constructor & Destructor Documentation

mfem::isockstream::isockstream ( int  port)
explicit

The constructor takes as input the port number on which it establishes a server.

Definition at line 37 of file isockstream.cpp.

mfem::isockstream::~isockstream ( )

Virtual destructor. If the data hasn't been sent it sends it.

Definition at line 156 of file isockstream.cpp.

Member Function Documentation

bool mfem::isockstream::good ( )
inline

Definition at line 41 of file isockstream.hpp.

void mfem::isockstream::receive ( std::istringstream **  in)

Start waiting for data and return it in an input stream.

Definition at line 116 of file isockstream.cpp.


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