Connected Event
This event is fired after a successful bind operation.
Syntax
class SMPPConnectedEventParams { public: int StatusCode(); const QString &Description(); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void Connected(SMPPConnectedEventParams *e);
// Or, subclass SMPP and override this emitter function. virtual int FireConnected(SMPPConnectedEventParams *e) {...}
Remarks
After establishing a socket connection to the SMPPServer, the class will attempt to send a bind as transmitter command. Upon completion of this operation, the server will respond with either a success or failure state, reflected in the Connected event's parameters.
StatusCode will contain the command status (error code) returned by the server. For a StatusCode of "0", Description will be "OK." Otherwise, it will contain a standard interpretation of the error.