/******************************************************************* * * DESCRIPTION: class BSDChannel * * AUTHOR: Amir Barylko & Jorge Beyoglonian * * EMAIL: mailto://amir@dc.uba.ar * mailto://jbeyoglo@dc.uba.ar * * DATE: 27/6/1998 * *******************************************************************/ #ifndef __BSD_CHANNEL_H #define __BSD_CHANNEL_H /** include files **/ #include #include "commchan.h" // base class CommChannel /** forward declarations **/ /** declarations **/ class BSDChannel: public CommChannel { public: BSDChannel( const string &serviceName ); BSDChannel( int portNumber ); ~BSDChannel(); //Destructor string readLine() ; CommChannel &writeLine( const string & ) ; private: BSDChannel &open( int portNumber ) ; int connection ; }; // class BSDChannel #endif //__BSD_CHANNEL_H