Base class for input rejecting filters.
More...
#include <simple.h>
|
|
size_t | Put2 (const byte *inString, size_t length, int messageEnd, bool blocking) |
| Input a byte array for processing. More...
|
|
|
bool | IsolatedFlush (bool hardFlush, bool blocking) |
|
bool | IsolatedMessageSeriesEnd (bool blocking) |
|
size_t | ChannelPut2 (const std::string &channel, const byte *inString, size_t length, int messageEnd, bool blocking) |
|
bool | ChannelMessageSeriesEnd (const std::string &channel, int messageEnd, bool blocking) |
|
template<class T>
class InputRejecting< T >
Base class for input rejecting filters.
- Template Parameters
-
T should be a BufferedTransformation derived class
Definition at line 121 of file simple.h.
template<class T>
bool InputRejecting< T >::ChannelMessageSeriesEnd |
( |
const std::string & |
channel, |
|
|
int |
messageEnd, |
|
|
bool |
blocking |
|
) |
| |
|
inline |
template<class T>
size_t InputRejecting< T >::ChannelPut2 |
( |
const std::string & |
channel, |
|
|
const byte * |
inString, |
|
|
size_t |
length, |
|
|
int |
messageEnd, |
|
|
bool |
blocking |
|
) |
| |
|
inline |
template<class T>
size_t InputRejecting< T >::Put2 |
( |
const byte * |
inString, |
|
|
size_t |
length, |
|
|
int |
messageEnd, |
|
|
bool |
blocking |
|
) |
| |
|
inline |
Input a byte array for processing.
- Parameters
-
inString | the byte array to process |
length | the size of the string, in bytes |
messageEnd | means how many filters to signal MessageEnd() to, including this one |
blocking | specifies whether the object should block when processing input |
- Exceptions
-
- Returns
- the number of bytes that remain in the block (i.e., bytes not processed)
Internally, the default implementation throws InputRejected.
Definition at line 138 of file simple.h.
The documentation for this class was generated from the following file: