question: receives an array of commands ended with a ack or nack concode_field_sep Thread commandQueueThread concode_elem_sep String ip concode_elem_sep int port concode_elem_sep Socket commandSk concode_elem_sep Socket monitorSk concode_elem_sep PriorityCommandQueue commandQueue concode_elem_sep Semaphore commandMutex concode_field_sep void stopMonitoring concode_elem_sep void startMonitoring concode_elem_sep void sendCommandListAsync concode_elem_sep String receiveMonitorOPEN concode_elem_sep void sendCommandAsync concode_elem_sep void sendCommandAsync concode_elem_sep boolean checkCommandFormat concode_elem_sep void sendAction concode_elem_sep void sendCommandOPEN concode_elem_sep String[] sendCommandSync concode_elem_sep String[] sendCommandSync concode_elem_sep String readMonitoring
target: String [ ] function ( final Socket arg0 ) { BufferedReader loc0 = new BufferedReader ( new InputStreamReader ( arg0 . getInputStream ( ) ) ) ; String [ ] loc1 = MyHomeSocketFactory . readUntilAckNack ( loc0 ) ; return loc1 ; }