B2BITS FIX Antenna C++ 2.32.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Engine::NewIncomingConnectionError Class Reference

New Incoming Connection Error. More...

#include <B2BITS_Event.h>

+ Inheritance diagram for Engine::NewIncomingConnectionError:
+ Collaboration diagram for Engine::NewIncomingConnectionError:

Public Member Functions

virtual Type getType () const
 Returns the event type.
 
 NewIncomingConnectionError (const std::string &remoteAddress, int remotePort, const std::string &localAddress, const System::SocketEndpoint &localEndpoint, const std::string &msg)
 Constructor.
 
virtual ~NewIncomingConnectionError ()
 Destructor.
 
- Public Member Functions inherited from Engine::Error
 Error (const std::string &msg)
 Constructor.
 
virtual const std::string * what () const
 Describes the event.
 
virtual ~Error ()
 Destructor.
 

Additional Inherited Members

- Public Types inherited from Engine::Event
enum  Type {
  EVENT , ERROR_EVENT , NOTIFICATION , WARNING ,
  SESSION_ERROR , SESSION_LOGON_ERROR , PARSE_ERROR_IN_SESSION , NEW_INCOMING_CONNECTION ,
  NEW_INCOMING_CONNECTION_ERROR , SESSION_NOTIFICATION , SESSION_WAS_REJECTED , 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.
 
- Protected Attributes inherited from Engine::Error
std::string m_reason
 Contains std::string that describes the event.
 

Detailed Description

New Incoming Connection Error.

Constructor & Destructor Documentation

◆ NewIncomingConnectionError()

Engine::NewIncomingConnectionError::NewIncomingConnectionError ( const std::string & remoteAddress,
int remotePort,
const std::string & localAddress,
const System::SocketEndpoint & localEndpoint,
const std::string & msg )

Constructor.

Parameters
remoteAddressRemote host address.
remotePortRemote port.
localAddressLocal host address.
localPortLocal port.
msgstd::string that describes the event.

◆ ~NewIncomingConnectionError()

virtual Engine::NewIncomingConnectionError::~NewIncomingConnectionError ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ getType()

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

Returns the event type.

Can be used instead of C++ RTTI.

Reimplemented from Engine::Error.

References Engine::Event::NEW_INCOMING_CONNECTION_ERROR.