@ Override public void close ( ) throws IOException { try { outputStream . write ( SaneRpcCode . SANE_NET_EXIT ) ; outputStream . close ( ) ; } finally { socket . close ( ) ; } }
Closes the connection to the SANE server . This is done immediately by closing the socket .