Moving some of the hard-coded sequential logic of the XMPPTestServer into the main packet processing loop, and instead of while(true), using while(running). Keeping track of connection state by being able to differentiate between the following states: Connected, Authenticated, Bound, HasSession, and Available.
Moving some of the hard-coded sequential logic of the XMPPTestServer into the main packet processing loop, and instead of while(true), using while(running). Keeping track of connection state by being able to differentiate between the following states: Connected, Authenticated, Bound, HasSession, and Available.

twuni/xmppt