#include <diameter_api.h>
Public Member Functions | |
AAAMessageControl (AAASession *session) | |
~AAAMessageControl () | |
AAAReturnCode | SetResultCode (AAAMessage &response, AAAMessage &request, AAAResultCode resultCode) |
AAAReturnCode | Send (AAAMessage &msg) |
Protected Attributes | |
AAASession & | session |
The class definition in this section allows a client application to send messages to a destination. It provides diameter client the functionality to direct a message to a particular server, determine the server for a message, etc. It also allows a server to respond to messages received from clients.
The model provided for message control is to associate it with an existing session since the functionality provided is for delivery of messages to known entities via established sessions. The message control class requires an instance of a session and therefore associates the message control to the application core.
|
constructor
|
|
destructor |
|
This function sends a message to the server assigned to the message by SetServer(). If no server id has been assigned to the message, a server id is selected. If no servers are currently active, the message is queued for later sending.
|
|
This function sets the result code for a response message and makes all changes based on the original request and the application defined result code.
|
|
Session instance |