You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by bu...@apache.org on 2015/10/11 20:34:52 UTC

svn commit: r968527 - in /websites/staging/thrift/trunk/content: ./ index.html

Author: buildbot
Date: Sun Oct 11 18:34:52 2015
New Revision: 968527

Log:
Staging update by buildbot for thrift

Modified:
    websites/staging/thrift/trunk/content/   (props changed)
    websites/staging/thrift/trunk/content/index.html

Propchange: websites/staging/thrift/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Oct 11 18:34:52 2015
@@ -1 +1 @@
-1707895
+1708007

Modified: websites/staging/thrift/trunk/content/index.html
==============================================================================
--- websites/staging/thrift/trunk/content/index.html (original)
+++ websites/staging/thrift/trunk/content/index.html Sun Oct 11 18:34:52 2015
@@ -93,9 +93,7 @@
         <li>
           <b>Writing a .thrift file</b>
           <p>After the Thrift compiler is installed you will need to create a thrift file. This file is an <a href="/docs/idl">interface definition</a> made up of <a href="/docs/types">thrift types</a> and Services. The services you define in this file are implemented by the server and are called by any clients. The Thrift compiler is used to generate your Thrift File into source code which is used by the different client libraries and the server you write. To generate the source from a thrift file run</p>
-          <pre>
-            <code>thrift --gen &lt;language&gt; &lt;Thrift filename&gt;</code>
-          </pre>
+          <pre><code>thrift --gen &lt;language&gt; &lt;Thrift filename&gt;</code></pre>
           <p>The sample tutorial.thrift file used for all the client and server tutorials can be found <a href="https://git-wip-us.apache.org/repos/asf/thrift/?p=thrift.git;a=tree;f=tutorial">here</a>. </p>
         </li>
       </ul>
@@ -154,9 +152,7 @@
   visibility: hidden;
 }
 h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
-<div class="codehilite"><pre> * and can optionally inherit from another service using the extends keyword.
- */
-service Calculator extends shared.SharedService {
+<div class="codehilite"><pre>service Calculator extends shared.SharedService {
 
   /**
    * A method definition looks like C code. It has a return type, arguments,
@@ -177,6 +173,8 @@ service Calculator extends shared.Shared
     * must be void.
     */
    oneway void zip()
+
+}
 </pre></div>
 <p class='snippet_footer'>
   This snippet was generated by Apache Thrift's <strong>source tree docs</strong>: