Jive reference manual
List of all members | Public Member Functions | Protected Member Functions
jem::mp::InputChannel Class Reference

#include <jem/mp/InputChannel.h>

Inheritance diagram for jem::mp::InputChannel:
Inheritance graph

Public Member Functions

 InputChannel (idx_t bufsize=-1)
 
void open (const Port &port)
 
virtual void close ()
 
virtual idx_t poll (const Time &timeout)
 
virtual idx_t read (void *buf, idx_t n)
 
void pipeTo (io::OutputStream &out)
 
- Public Member Functions inherited from jem::io::InputStream
virtual Ref< InputStreamdup ()
 
virtual idx_t skip (idx_t n)
 
- Public Member Functions inherited from jem::Object
virtual ClassgetClass () const
 Returns the Class instance representing the runtime class of this object. More...
 
virtual String toString () const
 Returns a short textual description of this object. More...
 
virtual long hashValue () const
 Returns a hash value for this object. More...
 
virtual bool equals (const Ref< Object > &obj) const
 Tests whether two objects are equal. More...
 
Ref< Objectclone () const
 Returns a copy of this object. More...
 

Protected Member Functions

virtual ~InputChannel ()
 
- Protected Member Functions inherited from jem::io::InputStream
virtual ~InputStream ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from jem::Object
static ClassgetType ()
 Returns the Class instance representing the Object class. More...
 

Constructor & Destructor Documentation

jem::mp::InputChannel::InputChannel ( idx_t  bufsize = -1)
explicit
virtual jem::mp::InputChannel::~InputChannel ( )
protectedvirtual

Member Function Documentation

void jem::mp::InputChannel::open ( const Port port)
virtual void jem::mp::InputChannel::close ( )
virtual

Reimplemented from jem::io::InputStream.

virtual idx_t jem::mp::InputChannel::poll ( const Time timeout)
virtual

Reimplemented from jem::io::InputStream.

virtual idx_t jem::mp::InputChannel::read ( void *  buf,
idx_t  n 
)
virtual

Implements jem::io::InputStream.

void jem::mp::InputChannel::pipeTo ( io::OutputStream out)