private void reset ( Connection connection , JFapByteBuffer buffer , int priority , boolean isPooled , boolean isExchange , int segmentType , int conversationId , int requestNumber , Conversation conversation , SendListener sendListener , boolean isTerminal , int size ) { if ( tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "reset" , new Object [ ] { connection , buffer , "" + priority , "" + isPooled , "" + isExchange , "" + segmentType , "" + conversationId , "" + requestNumber , conversation , sendListener , "" + isTerminal , "" + size } ) ; setFields ( connection , buffer , priority , isPooled , isExchange , segmentType , conversationId , requestNumber , conversation , sendListener , isTerminal , size ) ; int sizeIncludingHeaders = size + JFapChannelConstants . SIZEOF_PRIMARY_HEADER + JFapChannelConstants . SIZEOF_CONVERSATION_HEADER ; transmissionsRemaining = true ; if ( sizeIncludingHeaders > connection . getMaxTransmissionSize ( ) ) { if ( tc . isDebugEnabled ( ) ) SibTr . debug ( this , tc , "segmenting" ) ; layout = JFapChannelConstants . XMIT_SEGMENT_START ; } else layout = JFapChannelConstants . XMIT_CONVERSATION ; if ( tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "reset" ) ; }
Resets the iterator so it is read for use with a new piece of user data .