Contents

setLoginCompletion

Sets the callback to be called when a login attempt is complete.

Declaration

virtual void setLoginCompletion(
 void *refCon,
 FWSBP2LoginCallbackcallback );

Parameters

  • refCon:

    refCon passed to callback.

  • callback:

    address of callback method of type FWSBP2LoginCallback.

Overview

The supplied callback is called when a login attempt has completed. "status" in the callback's params should be checked to determine the success or failure of the login attempt. If "statusBlock" is non-null then login status was written and it has been supplied here. If the login attempt was successful then the login response will be supplied in the "loginResponse" buffer. Note: all buffers supplied to callbacks are only valid for the duration of the callback. Also, you are not to modify the contents of any supplied buffer.

See Also

Miscellaneous