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

#include <B2BITS_SessionEvent.h>

+ Inheritance diagram for Engine::IncomingThrottlerTriggeredEvent:
+ Collaboration diagram for Engine::IncomingThrottlerTriggeredEvent:

Public Member Functions

 IncomingThrottlerTriggeredEvent (const std::string &throttlerName, const ThrottlerAction defaultAction, const std::string &reason)
 Constructor.
 
virtual const std::string * what () const
 Reimplemented from SessionEvent.
 

Public Attributes

ThrottlerAction action_
 Action that the session must do after the event.
 
std::string reason_
 Reason for logout and reject messages.
 
const std::string throttlerName_
 Name of triggered throttler.
 

Additional Inherited Members

- Protected Member Functions inherited from Engine::SessionEvent
virtual ~SessionEvent ()
 Destructor.
 

Constructor & Destructor Documentation

◆ IncomingThrottlerTriggeredEvent()

Engine::IncomingThrottlerTriggeredEvent::IncomingThrottlerTriggeredEvent ( const std::string & throttlerName,
const ThrottlerAction defaultAction,
const std::string & reason )

Constructor.

Member Function Documentation

◆ what()

virtual const std::string * Engine::IncomingThrottlerTriggeredEvent::what ( ) const
virtual

Reimplemented from SessionEvent.

See also
SessionEvent

Implements Engine::SessionEvent.

Member Data Documentation

◆ action_

ThrottlerAction Engine::IncomingThrottlerTriggeredEvent::action_
mutable

Action that the session must do after the event.

See also
ThrottlerAction

◆ reason_

std::string Engine::IncomingThrottlerTriggeredEvent::reason_
mutable

Reason for logout and reject messages.

Note
The text will be used for the 58 tag.
The reason is used only for the TerminateWithLogout and SendReject actions.

◆ throttlerName_

const std::string Engine::IncomingThrottlerTriggeredEvent::throttlerName_

Name of triggered throttler.