Qorus Integration Engine®  5.0.12_git
OMQ::FsReceiveStreamConfig Class Reference

filesystem receive stream base config class More...

Inheritance diagram for OMQ::FsReceiveStreamConfig:
OMQ::StreamConfig OMQ::QueuedBlockConfigBase

Public Member Methods

 constructor (string remote, string path, string streamType=AbstractFsRemoteReceive::TYPE_FILE, *hash< auto > options)
 creates the configuration object from the arguments
 
 constructor (QorusSystemRestHelper remote, string path, string streamType=AbstractFsRemoteReceive::TYPE_FILE, *hash< auto > options)
 creates the configuration object from the arguments
 
string path ()
 returns the path
 
string encoding ()
 returns the file's character encoding
 
 logStreamConfigImpl (string what, string url)
 logs the stream configuration when created
 
 updatePath (string path)
 updates the stored path
 
- Public Member Methods inherited from OMQ::StreamConfig
 constructor (string stream, string remote, *hash< auto > options)
 constructor taking a string giving the name of the remote connection for the remote server More...
 
 constructor (string stream, QorusSystemRestHelper remote, *hash< auto > options)
 constructor taking an OMQ::QorusSystemRestHelper object for the remote connection More...
 
 logStreamConfig (string what)
 logs the stream configuration when created
 
 logStreamConfigImpl (string what, string url)
 logs the stream configuration when created
 
string stream ()
 returns the stream name
 
string streamDesc ()
 returns a description of the stream for error reporting
 
QorusSystemRestHelper remote ()
 returns the remote connection object (see OMQ::QorusSystemRestHelper)
 
timeout timeout ()
 returns the timeout value in milliseconds
 
int block ()
 returns the block size
 
bool suppressRemoteTimeout ()
 returns True if no "timeout" option should be sent to the remote
 
 update (string stream, *hash< auto > options)
 updates the configuration for a new stream
 
- Public Member Methods inherited from OMQ::QueuedBlockConfigBase
 constructor (*hash< auto > options)
 creates the object and assigns config info
 
*int queueBlockSize ()
 returns the queue block size
 
int queueTimeout ()
 returns the queue timeout in milliseconds
 
 update (*hash< auto > options)
 updates options
 

Private Member Methods

 setOptions (string path, string streamType, *hash< auto > options)
 sets configuration options
 
int getDefaultBlockSize ()
 returns the default block size for this object (16384)
 
- Private Member Methods inherited from OMQ::StreamConfig
 setOptions (*hash< auto > options)
 sets configuration values from an optional option hash
 
int getDefaultBlockSize ()
 returns the default block size for this object (1000)
 

Private Attributes

string m_path
 target path
 
string m_encoding = get_default_encoding()
 target file encoding
 
const MinBlockSize = 4096
 minimum block size in bytes
 
string m_streamType
 One of supported stream types. See AbstractFsRemoteReceive public constants.
 
hash< auto > m_csvUtilOpts
 Potential options for csv when is the m_streamType = AbstractFsRemoteReceive::TYPE_CSV;.
 
string m_xmlElement
 Potential xml element for csv when is the m_streamType = AbstractFsRemoteReceive::TYPE_XML;.
 
- Private Attributes inherited from OMQ::StreamConfig
string m_stream
 no public members More...
 
QorusSystemRestHelper m_remote
 real remote rest helper
 
timeout m_timeout = 5m
 timeout for rest connections
 
bool m_no_remote_timeout = False
 flag to suppress sending the timeout option to the remote
 
int m_logLevel = LoggerLevel::INFO
 default log level; default LL_INFO
 
softint m_block
 block size
 
- Private Attributes inherited from OMQ::QueuedBlockConfigBase
*softint m_queue_block_size = 2
 data queue block size; the number of blocks to queue for sending before the main data thread will block; default: 2
 
timeout m_queue_timeout = 5m
 queue timeout; maximum amount of time a message can wait for the queue to become free; default: 5m
 
const MinQueueBlockSize = 2
 minimum queue block size
 

Detailed Description

filesystem receive stream base config class


The documentation for this class was generated from the following file: