private void reset ( ) { if ( tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "reset" ) ; if ( iInitialised ) { // Reset the ArrayLists associated with this message iTopics . clear ( ) ; iTopicSpaces . clear ( ) ; iTopicSpaceMappings . clear ( ) ; // Create a new message to send to this Neighbour. iSubscriptionMessage = createSubscriptionMessage ( ) ; } else { iInitialised = true ; } if ( tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "reset" ) ; }
Resets the complete message state