private void reset ( ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "reset" ) ; throwable = null ; state = STATE_PARSING_PRIMARY_HEADER ; unparsedPrimaryHeader . position ( 0 ) ; unparsedPrimaryHeader . limit ( JFapChannelConstants . SIZEOF_PRIMARY_HEADER ) ; unparsedConversationHeader . position ( 0 ) ; unparsedConversationHeader . limit ( JFapChannelConstants . SIZEOF_CONVERSATION_HEADER ) ; unparsedFirstSegment . position ( 0 ) ; unparsedFirstSegment . limit ( JFapChannelConstants . SIZEOF_SEGMENT_START_HEADER ) ; unparsedPayloadData = null ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "reset" ) ; }
Resets the state of the parsing state machine so that it is read to parse another transmission .