Public Member Functions
MasterStream Class Reference

Brief description of class still missing. More...

#include <MasterStream.h>

Inheritance diagram for MasterStream:
GpCoreTools::TcpClientStream GpCoreTools::Stream

List of all members.

Public Member Functions

MasterBufferbuffer () const
virtual bool connect (GpsStation *station, uint16_t port)
virtual void hungUp ()
 MasterStream (std::list< GpsStation * > *stations, int fileDescriptor, const Address &peer)
 MasterStream (GpsStation *station, int fileDescriptor, const Address &peer)

Detailed Description

Brief description of class still missing.

Full description of class still missing


Constructor & Destructor Documentation

MasterStream::MasterStream ( std::list< GpsStation * > *  stations,
int  fileDescriptor,
const Address peer 
)

Description of constructor still missing

References GpCoreTools::TcpClientStream::setBuffer(), and TRACE.

MasterStream::MasterStream ( GpsStation station,
int  fileDescriptor,
const Address peer 
)

Member Function Documentation

MasterBuffer* MasterStream::buffer ( ) const [inline]

Reimplemented from GpCoreTools::TcpClientStream.

Referenced by connect().

{return static_cast<MasterBuffer *>(TcpClientStream::buffer());}
bool MasterStream::connect ( GpsStation station,
uint16_t  port 
) [virtual]

References buffer(), GpCoreTools::Stream::fileDescriptor(), GpCoreTools::TcpClientStream::setBuffer(), and TRACE.

{
  TRACE;
  if(TcpClientStream::connect(port)) {
    MasterBuffer * buffer=new MasterBuffer(fileDescriptor(), station);
    setBuffer(buffer);
    return true;
  } else {
    return false;
  }
}
void MasterStream::hungUp ( ) [virtual]

Reimplemented from GpCoreTools::TcpClientStream.

References TRACE.

{
  TRACE;
}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines