B2BITS FIX Antenna HFT  1.0.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
Engine::NewIncomingConnection Class Reference

New Incoming Connection. More...

#include <B2BITS_Event.h>

+ Inheritance diagram for Engine::NewIncomingConnection:
+ Collaboration diagram for Engine::NewIncomingConnection:

Public Member Functions

virtual Type getType () const
 Returns the event type. More...
 
 NewIncomingConnection (const std::string &remoreAddress, int remotePort, const std::string &localAddress, int localPort)
 Constructor. More...
 
virtual ~NewIncomingConnection ()
 Destructor. More...
 
- Public Member Functions inherited from Engine::Notification
 Notification (const std::string &msg)
 Constructor. More...
 
virtual const std::string * what () const
 Describes the event. More...
 
virtual ~Notification ()
 Destructor. More...
 

Additional Inherited Members

- Public Types inherited from Engine::Event
enum  Type {
  EVENT, ERROR_EVENT, NOTIFICATION, WARNING,
  SESSION_ERROR, PARSE_ERROR_IN_SESSION, NEW_INCOMING_CONNECTION, SESSION_NOTIFICATION,
  SESSION_WAS_CREATED, SESSION_WAS_CONNECTED, SESSION_WAS_CLOSED, SESSION_WAS_ESTABLISHED,
  SESSION_WAS_RESTORED, SYNCHRONIZATION_COMPLETE, SESSION_WARNING, LINK_ERROR_WAS_DETECTED,
  LINK_WAS_RESTORED, PERSISTENT_DATA_WERE_FOUND, DEBUG_MESSAGE, SESSION_DEBUG_MESSAGE
}
 Event types. More...
 
- Protected Member Functions inherited from Engine::Event
virtual ~Event ()
 Destructor. More...
 
- Protected Attributes inherited from Engine::Notification
std::string m_reason
 Contains std::string that describes the event. More...
 

Detailed Description

New Incoming Connection.

Constructor & Destructor Documentation

Engine::NewIncomingConnection::NewIncomingConnection ( const std::string &  remoreAddress,
int  remotePort,
const std::string &  localAddress,
int  localPort 
)

Constructor.

Parameters
remoreAddressRemote host address.
remotePortRemote port.
localAddressLocal host address.
localPortLocal port.
virtual Engine::NewIncomingConnection::~NewIncomingConnection ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual Type Engine::NewIncomingConnection::getType ( ) const
inlinevirtual

Returns the event type.

Can be used instead of C++ RTTI.

Reimplemented from Engine::Notification.

References Engine::Event::NEW_INCOMING_CONNECTION.