add a responsehandler by calling one of the three utility methods : startswith string prefix ; contains string phrase ; regexmatches string regex ; within the extending class 's overriding oninit method concode_field_sep ResponseHandler m_responseHandler concode_elem_sep Conversation m_conversation concode_elem_sep RequestHandler m_requestHandler concode_elem_sep int m_timeout concode_field_sep void init concode_elem_sep void setRequestHandler concode_elem_sep ResponseHandler matches concode_elem_sep ResponseHandler getResponseHandler concode_elem_sep RequestHandler getRequestHandler concode_elem_sep void setTimeout concode_elem_sep ResponseHandler contains concode_elem_sep void setResponseHandler concode_elem_sep int getTimeout concode_elem_sep RequestHandler multilineLineRequest concode_elem_sep boolean matchResponseByString concode_elem_sep boolean processResponse concode_elem_sep boolean sendRequest concode_elem_sep RequestHandler singleLineRequest concode_elem_sep ResponseHandler startsWith
void function ( ResponseHandler arg0 , RequestHandler arg1 ) { m_conversation . addExchange ( new SimpleExchange ( arg0 , arg1 ) ) ; }