Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Advanced Tools Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWSynchronizedByteInputStreamImp

Module:  Advanced Tools   Package:  Streams


RWSynchronizedByteInputStreamImp RWTInputStreamLockImp<RWByteInputStream, RWFilteredByteInputStreamImp>

Local Index

Members

Header File

#include <rw/stream/RWSynchronizedByteInputStreamImp.h>

Description

Class RWSynchronizedByteInputStreamImp implements a simple lock stream that is used with binary input stream. The stream locks its internal synchronization mechanism before forwarding input requests to its associated source stream, and then unlocks the internal synchronization mechanism upon completion. The stream's internal synchronization mechanism is locked using a guard object, ensuring its proper release in the event that an exception is thrown.

Protected Constructor

RWSynchronizedByteInputStreamImp(RWByteInputStream&
sourceStream);

Static Public Member Function

static RWByteInputStream 
make(RWByteInputStream& sourceStream);

Public Member Function

virtual RWSize 
readUntil(RWByte* byteArray, RWSize maxSize, RWByte delim);


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.