question: public void runSessions ( Session [ ] sessions ) throws Exception { this . sessions = sessions ; elementsIterator = testElements . iterator ( ) ; while ( elementsIterator . hasNext ( ) ) { Object obj = elementsIterator . next ( ) ; if ( obj instanceof ProtocolElement ) { ProtocolElement test = ( ProtocolElement ) obj ; test . testProtocol ( sessions , continueAfterFailure ) ; } } }
target:  Executes the ProtocolSession in real time against the readers and writers supplied, writing client requests and reading server responses in the order that they appear in the test elements. The index of a reader/writer in the array corresponds to the number of the session. If an exception occurs, no more test elements are executed.