I have no idea what that function is for, or why it even exists. (I could look it up, sure, but I'm just saying that I've never had to use it.)
The start()
call should cause the initiator to start attempting logins (assuming the current time is in the defined session). You shouldn't even have a while loop like this.
You should just call start()
, and then do nothing. If logon succeeds, you'll see the FromApp
and FromAdmin
callbacks start to get triggered for incoming messages (including your logon response).