init
Initializes the session.
Throws
If the sessionState code is termination.
When a termination status code is sent during the session.
If data transport fails.
CancellationException
is caught and ignored, as it is handled by resetTimeout().
Initializes the session.
If the sessionState code is termination.
When a termination status code is sent during the session.
If data transport fails.
CancellationException
is caught and ignored, as it is handled by resetTimeout().