private String recvStatus ( ) { if ( ! agent . sign ( ) ) { return EXITED ; } // receive the status response final ZMsg msg = agent . recv ( ) ; if ( msg == null ) { return EXITED ; } String status = msg . popString ( ) ; msg . destroy ( ) ; return status ; }
receives the last known state of the proxy