<!DOCTYPE html>
<html>
<head>
</head>
<body>
<dl style="line-height: 1.5; margin-left: 2em">
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
<dd style="margin-left: 8.5em">YUKI Hiroshi <shimo****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2015-04-29 01:38:16 +0900 (Wed, 29 Apr 2015)</dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
<dd style="margin-left: 8.5em"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374">642eeeb31a930f9b0d8711f9a23c4463f7c78374</a></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
<dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Specify "targetRole" to the envelope (by default "service-provider")</pre></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
<dd style="margin-left: 8.5em">
<ul>
<li><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#diff-0">lib/droonga-protocol/connection.js</a></li>
</ul>
</dd>
</dl>
<div class="diff-section" style="clear: both">
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: lib/droonga-protocol/connection.js (+2 -0)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0L61">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0L62">62</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0L63">63</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0L64">64</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0L65">65</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0L66">66</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0L67">67</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0L233">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0L234">234</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0L235">235</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0L236">236</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0L237">237</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0L238">238</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0L239">239</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0R61">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0R62">62</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0R63">63</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0R64">64</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0R65">65</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0R66">66</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0R67">67</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0R68">68</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0R234">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0R235">235</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0R236">236</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0R237">237</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0R238">238</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0R239">239</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0R240">240</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/642eeeb31a930f9b0d8711f9a23c4463f7c78374#L0R241">241</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -62,6 +62,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">Connection.prototype._init = function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this.defaultDataset = process.env.DROONGA_ENGINE_DEFAULT_DATASET ||</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this._params.defaultDataset ||</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> '';</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ this.defaultTargetRole = 'service-provider';</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this.defaultTimeout = this._params.defaultTimeout ||</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> DEFAULT_RESPONSE_TIMEOUT_SECONDS;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this.hostName = this._params.hostName ||</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -234,6 +235,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">Connection.prototype.emitMessage = function(type, body, callback, options) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> date: getCurrentTime(),</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> dataset: options.dataset || this.defaultDataset,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> type: type,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ targetRole: options.targetRole || this.defaultTargetRole,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> body: body</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> };</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (typeof envelope.timeout != 'number') {</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>