void function ( String arg0 , ZMsg arg1 ) { assert ( arg1 != null ) ; arg1 . addFirst ( arg0 ) ; arg1 . addFirst ( MDP . C_CLIENT . newFrame ( ) ) ; arg1 . addFirst ( "srini_string" ) ; if ( verbose ) { log . format ( "srini_string" , arg0 ) ; arg1 . dump ( log . out ( ) ) ; } arg1 . send ( client ) ; }
send request to broker and get reply by hook or crook takes ownership of request message and destroys it when sent . concode_field_sep ZContext ctx concode_elem_sep ZMQ.Socket client concode_elem_sep String broker concode_elem_sep long timeout concode_elem_sep Formatter log concode_elem_sep boolean verbose concode_field_sep void setTimeout concode_elem_sep ZMsg recv concode_elem_sep long getTimeout concode_elem_sep void reconnectToBroker concode_elem_sep void destroy