public void showStatus ( ) throws Exception { ServerStatusMessage message ; if ( _statusFile . exists ( ) ) { ServerStatusMessage [ ] messages = getAllMessages ( ) ; message = messages [ messages . length - 1 ] ; } else { message = ServerStatusMessage . NEW_SERVER_MESSAGE ; } System . out . println ( message . toString ( ) ) ; }
Show a human - readable form of the latest message in the server status file . If the status file doesn t yet exist this will print a special status message indicating the server is new . The response will have the following form .