[Groonga-commit] droonga/droonga.org at e55d0d5 [gh-pages] Add headings for SingleStepDefinition methods

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Mar 6 12:37:07 JST 2014


YUKI Hiroshi	2014-03-06 12:37:07 +0900 (Thu, 06 Mar 2014)

  New Revision: e55d0d5ba16ad312729d7a3ff49523e8d97c1054
  https://github.com/droonga/droonga.org/commit/e55d0d5ba16ad312729d7a3ff49523e8d97c1054

  Message:
    Add headings for SingleStepDefinition methods

  Modified files:
    reference/plugin/handler/index.md

  Modified: reference/plugin/handler/index.md (+31 -2)
===================================================================
--- reference/plugin/handler/index.md    2014-03-06 12:20:50 +0900 (98cd850)
+++ reference/plugin/handler/index.md    2014-03-06 12:37:07 +0900 (c55ba28)
@@ -41,7 +41,7 @@ end
 Steps to define a handler:
 
  1. Define a module for your plugin (ex. `Droonga::Plugins::FooPlugin`) and register it as a plugin. (required)
- 2. Define a "single step" corresponding to the handler you are going to implement. (required)
+ 2. Define a "single step" corresponding to the handler you are going to implement, via [`Droonga::SingleStepDefinition`](#class-Droonga-SingleStepDefinition). (required)
  2. Define a handler class (ex. `Droonga::Plugins::FooPlugin::Handler`) inheriting [`Droonga::Handler`](#classes-Droonga-Handler). (required)
  4. Define handling logic for requests as [`#handle`](#classes-Droonga-Handler-handle). (optional)
 
@@ -84,9 +84,38 @@ Any error raised from the handler is handled by the Droonga Engine itself. See a
 
 ## Classes and methods {#classes}
 
+### `Droonga::SingleStepDefinition` {#classes-Droonga-SingleStepDefinition}
+
+This provides methods to describe the "step" corresponding to the handler.
+
+#### `#name=(name)` {#classes-Droonga-SingleStepDefinition-name}
+
+(TBD)
+
+#### `#handler=(handler)` {#classes-Droonga-SingleStepDefinition-handler}
+
+(TBD)
+
+#### `#collector=(collector)` {#classes-Droonga-SingleStepDefinition-collector}
+
+(TBD)
+
+#### `#write=(write)` {#classes-Droonga-SingleStepDefinition-write}
+
+(TBD)
+
+#### `#inputs=(inputs)` {#classes-Droonga-SingleStepDefinition-inputs}
+
+(TBD)
+
+#### `#output=(output)` {#classes-Droonga-SingleStepDefinition-output}
+
+(TBD)
+
 ### `Droonga::Handler` {#classes-Droonga-Handler}
 
-This is the common base class of any handler. Your plugin's handler class must inherit this.
+This is the common base class of any handler.
+Your plugin's handler class must inherit this.
 
 #### `#handle(message)` {#classes-Droonga-Handler-handle}
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index