Security Scol plugin
|
Redirect input to another BufferedTransformation without owning it. More...
#include <filters.h>
Public Types | |
enum | Behavior { DATA_ONLY = 0x00 , PASS_SIGNALS = 0x01 , PASS_WAIT_OBJECTS = 0x02 , PASS_EVERYTHING = PASS_SIGNALS | PASS_WAIT_OBJECTS } |
Controls signal propagation behavior. More... | |
Public Member Functions | |
Redirector () | |
Construct a Redirector. | |
Redirector (BufferedTransformation &target, Behavior behavior=PASS_EVERYTHING) | |
Construct a Redirector. | |
void | Redirect (BufferedTransformation &target) |
Redirect input to another BufferedTransformation. | |
void | StopRedirection () |
Stop redirecting input. | |
Behavior | GetBehavior () |
Retrieve signal propagation behavior. | |
void | SetBehavior (Behavior behavior) |
Set signal propagation behavior. | |
bool | GetPassSignals () const |
Retrieve signal propagation behavior. | |
void | SetPassSignals (bool pass) |
Set signal propagation behavior. | |
bool | GetPassWaitObjects () const |
Retrieve signal propagation behavior. | |
void | SetPassWaitObjects (bool pass) |
Set signal propagation behavior. | |
bool | CanModifyInput () const |
void | Initialize (const NameValuePairs ¶meters, int propagation) |
Initialize or reinitialize this object, with signal propagation. | |
byte * | CreatePutSpace (size_t &size) |
size_t | Put2 (const byte *inString, size_t length, int messageEnd, bool blocking) |
bool | Flush (bool hardFlush, int propagation=-1, bool blocking=true) |
Flush buffered input and/or output, with signal propagation. | |
bool | MessageSeriesEnd (int propagation=-1, bool blocking=true) |
byte * | ChannelCreatePutSpace (const std::string &channel, size_t &size) |
size_t | ChannelPut2 (const std::string &channel, const byte *begin, size_t length, int messageEnd, bool blocking) |
size_t | ChannelPutModifiable2 (const std::string &channel, byte *begin, size_t length, int messageEnd, bool blocking) |
bool | ChannelFlush (const std::string &channel, bool completeFlush, int propagation=-1, bool blocking=true) |
bool | ChannelMessageSeriesEnd (const std::string &channel, int propagation=-1, bool blocking=true) |
unsigned int | GetMaxWaitObjectCount () const |
void | GetWaitObjects (WaitObjectContainer &container, CallStack const &callStack) |
![]() |
Redirect input to another BufferedTransformation without owning it.
enum Redirector::Behavior |
|
inline |
Construct a Redirector.
|
inline |
Construct a Redirector.
target | the destination BufferedTransformation |
behavior | Behavior "flags" specifying signal propagation |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Flush buffered input and/or output, with signal propagation.
hardFlush | is used to indicate whether all data should be flushed |
propagation | the number of attached transformations the Flush() signal should be passed |
blocking | specifies whether the object should block when processing input |
propagation count includes this object. Setting propagation to 1
means this object only. Setting propagation to -1
means unlimited propagation.
Implements CustomFlushPropagation< T >.
|
inline |
|
inline |
|
inline |
Retrieve signal propagation behavior.
|
inline |
Retrieve signal propagation behavior.
|
inline |
|
virtual |
Initialize or reinitialize this object, with signal propagation.
parameters | a set of NameValuePairs to initialize or reinitialize this object |
propagation | the number of attached transformations the Initialize() signal should be passed |
Initialize() is used to initialize or reinitialize an object using a variable number of arbitrarily typed arguments. The function avoids the need for multiple constructors providing all possible combintations of configurable parameters.
propagation count includes this object. Setting propagation to 1
means this object only. Setting propagation to -1
means unlimited propagation.
Implements CustomSignalPropagation< Sink >.
Definition at line 474 of file filters.cpp.
|
inline |
|
inline |
|
inline |
Redirect input to another BufferedTransformation.
target | the destination BufferedTransformation |
|
inline |
|
inline |
Set signal propagation behavior.
pass | flag indicating if the Redirector should pass signals |
|
inline |
Set signal propagation behavior.
pass | flag indicating if the Redirector should pass wait objects |
|
inline |