本文整理汇总了C++中FIXWriter类的典型用法代码示例。如果您正苦于以下问题:C++ FIXWriter类的具体用法?C++ FIXWriter怎么用?C++ FIXWriter使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了FIXWriter类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: writer_poll
/*! Check if the writer will block
\param ts timeout
\return true if won't block */
bool writer_poll(const Poco::Timespan &ts = Poco::Timespan()) const { return _writer.poll(ts); }
示例2: send
/*! Write a string message to the underlying socket.
\param from Message (string) to write
\return number of bytes written */
int send(const f8String& from) { return _writer.send(from.data(), from.size()); }
示例3: writer_execute
/*! Call the FIXreader method
\return result of call */
int writer_execute() { return _writer.execute(_writer.cancellation_token()); }
示例4: write_batch
/*! Write messages to the underlying socket as a single batch.
\param msgs vector of Message to write
\param destroy if true delete after send
\return true on success */
size_t write_batch(const std::vector<Message *>& msgs, bool destroy) { return _writer.write_batch(msgs, destroy); }
示例5: write
/*! Write a message to the underlying socket. Non-pipelined version.
\param from Message to write
\return true on success */
virtual bool write(Message& from) { return _writer.write(from); }
示例6: writer_poll
/*! Check if the writer will block
\return true if won't block */
bool writer_poll() const { return _writer.poll(); }
示例7: writer_execute
/*! Call the FIXreader method
\return result of call */
int writer_execute() { return _writer.execute(); }
示例8: send
/*! Write a string message to the underlying socket.
\param from Message (string) to write
\return number of bytes written */
int send(const f8String& from) { return _writer.send(from); }