diff options
author | Satoshi Kobayashi <satoshi-k@stratosphere.co.jp> | 2014-01-23 16:05:48 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-01-23 15:42:51 +0900 |
commit | c9325a22c020266f0f4285e70c31985632db82b1 (patch) | |
tree | e6eeb9eec9d09f4ca8ce97ec741ce923d282c8d8 /doc/source | |
parent | f1506fd0ba92929aa1fd7ebff85aec86ba967f01 (diff) |
fix bidirectional event confusion
EventRequestBase has EventReplyBase
Signed-off-by: Satoshi Kobayashi <satoshi-k@stratosphere.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'doc/source')
-rw-r--r-- | doc/source/ryu_app_api.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/source/ryu_app_api.rst b/doc/source/ryu_app_api.rst index 06a97df6..5c0b5365 100644 --- a/doc/source/ryu_app_api.rst +++ b/doc/source/ryu_app_api.rst @@ -180,11 +180,12 @@ and block until receiving a reply. Returns the received reply. The argument should be an instance of EventRequestBase. -send_reply(self, rep) +reply_to_request(self, req, rep) ````````````````````` Send a reply for a synchronous request sent by send_request. -The argument should be an instance of EventReplyBase. +The first argument should be an instance of EventRequestBase. +The second argument should be an instance of EventReplyBase. send_event(self, name, ev) `````````````````````````` |