fromChar

Converts the single-character protocol response into a TransactionState.

Return

The corresponding TransactionState.

Parameters

c

The character code representing the transaction state ('I', 'T', or 'E').

Throws

If an unknown state character is provided.