fix8  version 1.4.0
Open Source C++ FIX Framework
FIX8::SessionInstanceBase Class Referenceabstract

Base Server session instance. More...

#include <sessionwrapper.hpp>

Inheritance diagram for FIX8::SessionInstanceBase:
FIX8::SessionInstance< T >

Public Member Functions

 SessionInstanceBase ()=default
 Ctor. Prepares session instance with inbound connection. More...
 
virtual ~SessionInstanceBase ()
 Dtor. More...
 
virtual Sessionsession_ptr ()=0
 
virtual void start (bool wait, unsigned send_seqnum=0, unsigned recv_seqnum=0)
 
virtual void stop ()
 Stop the session. Cleanup. More...
 

Detailed Description

Base Server session instance.

Definition at line 592 of file sessionwrapper.hpp.

Constructor & Destructor Documentation

FIX8::SessionInstanceBase::SessionInstanceBase ( )
default

Ctor. Prepares session instance with inbound connection.

virtual FIX8::SessionInstanceBase::~SessionInstanceBase ( )
inlinevirtual

Dtor.

Definition at line 599 of file sessionwrapper.hpp.

599 {}

Member Function Documentation

virtual Session* FIX8::SessionInstanceBase::session_ptr ( )
pure virtual

Get a pointer to the session

Returns
the session pointer

Implemented in FIX8::SessionInstance< T >.

virtual void FIX8::SessionInstanceBase::start ( bool  wait,
unsigned  send_seqnum = 0,
unsigned  recv_seqnum = 0 
)
inlinevirtual

Start the session - accept the connection, logon and start heartbeating.

Parameters
waitif true wait till session finishes before returning
send_seqnumif supplied, override the send login sequence number, set next send to seqnum+1
recv_seqnumif supplied, override the receive login sequence number, set next recv to seqnum+1

Reimplemented in FIX8::SessionInstance< T >.

Definition at line 609 of file sessionwrapper.hpp.

609 {}
virtual void FIX8::SessionInstanceBase::stop ( )
inlinevirtual

Stop the session. Cleanup.

Reimplemented in FIX8::SessionInstance< T >.

Definition at line 612 of file sessionwrapper.hpp.

612 {}

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