CloseConnection Event
Fires when the update session completes.
Syntax
ANSI (Cross Platform) virtual int FireCloseConnection(QBWCServerCloseConnectionEventParams *e);
typedef struct {
const char *SessionTicket;
char *ResponseMessage; int reserved; } QBWCServerCloseConnectionEventParams; Unicode (Windows) virtual INT FireCloseConnection(QBWCServerCloseConnectionEventParams *e);
typedef struct {
LPCWSTR SessionTicket;
LPWSTR ResponseMessage; INT reserved; } QBWCServerCloseConnectionEventParams;
- (void)onCloseConnection:(NSString*)sessionTicket :(NSString**)responseMessage;
#define EID_QBWCSERVER_CLOSECONNECTION 3 virtual INT INQB_CALL FireCloseConnection(LPSTR &lpszSessionTicket, LPSTR &lpszResponseMessage);
Remarks
This event fires when QuickBooks Web Connector notifies your application that the update is complete. This is the last event to fire in a session. Parameters are as follows:
SessionTicket identifies the session.
ResponseMessage may be set to a message that will be displayed in the "Last result" field in QuickBooks Web Connector.