OnixS C++ FIX Engine  4.7.0
API Documentation
Stack Class Reference

#include <OnixS/FIXEngine/FIX/TcpStandardStack.h>

Public Member Functions

 Stack ()
 
 ~Stack ()
 
void dispatchEvents () ONIXS_FIXENGINE_OVERRIDE
 
bool isQuiescent () const ONIXS_FIXENGINE_OVERRIDE
 
Threading::ThreadId threadId () const ONIXS_FIXENGINE_OVERRIDE
 
ReactorType::Enum type () const ONIXS_FIXENGINE_OVERRIDE
 
- Public Member Functions inherited from ISessionReactor
virtual ~ISessionReactor () ONIXS_FIXENGINE_DEFAULT
 

Friends

class FIX::ReactorOperator
 

Detailed Description

Definition at line 32 of file TcpStandardStack.h.

Constructor & Destructor Documentation

Stack ( )

Allocates a TCP stack.

~Stack ( )

Member Function Documentation

void dispatchEvents ( )
inlinevirtual

Processes events on a stack and performs the necessary handling.

These events include transmit and receive events raised by the hardware, and also software events such as TCP and FIX protocol timers.

Implements ISessionReactor.

Definition at line 57 of file TcpStandardStack.h.

bool isQuiescent ( ) const
inlinevirtual
Returns
a boolean value indicating whether a stack is quiescent.

This can be used to ensure that all connections have been closed gracefully before destroying a stack (or exiting the application). Destroying a stack while it is not quiescent is permitted by the API, but when doing so there is no guarantee that sent data has been acknowledged by the peer or even transmitted, and there is the possibility that peers' connections will be reset.

Implements ISessionReactor.

Definition at line 69 of file TcpStandardStack.h.

Threading::ThreadId threadId ( ) const
inlinevirtual
Returns
the ID of the thread that created the stack.

Implements ISessionReactor.

Definition at line 76 of file TcpStandardStack.h.

ReactorType::Enum type ( ) const
inlinevirtual
Returns
the type of the stack.

Implements ISessionReactor.

Definition at line 80 of file TcpStandardStack.h.

Friends And Related Function Documentation

friend class FIX::ReactorOperator
friend

Definition at line 99 of file TcpStandardStack.h.


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