maxcube-client 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/data/save/20180214-2023/recv.data +12 -0
- data/data/save/20180214-2023/recv.yaml +152 -0
- data/data/save/20180214-2023/sent.data +10 -0
- data/data/save/20180214-2023/sent.yaml +26 -0
- data/data/save/20180214-2230/recv.data +2 -0
- data/data/save/20180214-2230/recv.yaml +68 -0
- data/data/save/20180214-2230/sent.data +1 -0
- data/data/save/20180214-2230/sent.yaml +19 -0
- data/data/save/20180215-0057/recv.data +3 -0
- data/data/save/20180215-0057/recv.yaml +69 -0
- data/data/save/20180215-0057/sent.data +2 -0
- data/data/save/20180215-0057/sent.yaml +22 -0
- data/data/save/20180216-1641/recv.data +4 -0
- data/data/save/20180216-1641/recv.yaml +133 -0
- data/data/save/20180216-1641/sent.data +2 -0
- data/data/save/20180216-1641/sent.yaml +3 -0
- data/lib/maxcube/version.rb +1 -1
- data/maxcube-client.gemspec +5 -6
- data/spec/msg_spec.rb +2117 -0
- data/spec/spec_helper.rb +7 -0
- metadata +21 -75
- data/.gitignore +0 -6
- data/.rubocop.yml +0 -29
- data/.yardopts +0 -1
- data/Gemfile +0 -5
- data/bin/console +0 -8
- data/bin/maxcube-client +0 -6
- data/bin/sample_server +0 -13
- data/bin/sample_socket +0 -13
- data/bin/setup +0 -6
- data/doc/MaxCube.html +0 -502
- data/doc/MaxCube/Messages.html +0 -1927
- data/doc/MaxCube/Messages/Handler.html +0 -2912
- data/doc/MaxCube/Messages/InvalidMessage.html +0 -140
- data/doc/MaxCube/Messages/InvalidMessageBody.html +0 -264
- data/doc/MaxCube/Messages/InvalidMessageFormat.html +0 -247
- data/doc/MaxCube/Messages/InvalidMessageLength.html +0 -247
- data/doc/MaxCube/Messages/InvalidMessageType.html +0 -263
- data/doc/MaxCube/Messages/Parser.html +0 -520
- data/doc/MaxCube/Messages/Serializer.html +0 -701
- data/doc/MaxCube/Messages/TCP.html +0 -172
- data/doc/MaxCube/Messages/TCP/Handler.html +0 -1396
- data/doc/MaxCube/Messages/TCP/Parser.html +0 -462
- data/doc/MaxCube/Messages/TCP/Parser/MessageA.html +0 -186
- data/doc/MaxCube/Messages/TCP/Parser/MessageC.html +0 -1077
- data/doc/MaxCube/Messages/TCP/Parser/MessageF.html +0 -206
- data/doc/MaxCube/Messages/TCP/Parser/MessageH.html +0 -338
- data/doc/MaxCube/Messages/TCP/Parser/MessageL.html +0 -535
- data/doc/MaxCube/Messages/TCP/Parser/MessageM.html +0 -510
- data/doc/MaxCube/Messages/TCP/Parser/MessageN.html +0 -226
- data/doc/MaxCube/Messages/TCP/Parser/MessageS.html +0 -225
- data/doc/MaxCube/Messages/TCP/Serializer.html +0 -460
- data/doc/MaxCube/Messages/TCP/Serializer/MessageA.html +0 -186
- data/doc/MaxCube/Messages/TCP/Serializer/MessageC.html +0 -185
- data/doc/MaxCube/Messages/TCP/Serializer/MessageF.html +0 -206
- data/doc/MaxCube/Messages/TCP/Serializer/MessageL.html +0 -185
- data/doc/MaxCube/Messages/TCP/Serializer/MessageM.html +0 -428
- data/doc/MaxCube/Messages/TCP/Serializer/MessageN.html +0 -209
- data/doc/MaxCube/Messages/TCP/Serializer/MessageQ.html +0 -185
- data/doc/MaxCube/Messages/TCP/Serializer/MessageS.html +0 -1168
- data/doc/MaxCube/Messages/TCP/Serializer/MessageT.html +0 -240
- data/doc/MaxCube/Messages/TCP/Serializer/MessageU.html +0 -206
- data/doc/MaxCube/Messages/TCP/Serializer/MessageZ.html +0 -252
- data/doc/MaxCube/Messages/UDP.html +0 -164
- data/doc/MaxCube/Messages/UDP/Handler.html +0 -832
- data/doc/MaxCube/Messages/UDP/Parser.html +0 -609
- data/doc/MaxCube/Messages/UDP/Parser/MessageH.html +0 -218
- data/doc/MaxCube/Messages/UDP/Parser/MessageI.html +0 -215
- data/doc/MaxCube/Messages/UDP/Parser/MessageN.html +0 -226
- data/doc/MaxCube/Messages/UDP/Serializer.html +0 -484
- data/doc/MaxCube/Network.html +0 -167
- data/doc/MaxCube/Network/TCP.html +0 -150
- data/doc/MaxCube/Network/TCP/Client.html +0 -1930
- data/doc/MaxCube/Network/TCP/Client/Commands.html +0 -2457
- data/doc/MaxCube/Network/TCP/SampleServer.html +0 -910
- data/doc/MaxCube/Network/UDP.html +0 -150
- data/doc/MaxCube/Network/UDP/Client.html +0 -518
- data/doc/MaxCube/Network/UDP/SampleSocket.html +0 -628
- data/doc/MaxCube/Runner.html +0 -355
- data/doc/_index.html +0 -518
- data/doc/class_list.html +0 -51
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -58
- data/doc/css/style.css +0 -499
- data/doc/file.README.html +0 -140
- data/doc/file_list.html +0 -56
- data/doc/frames.html +0 -17
- data/doc/index.html +0 -140
- data/doc/js/app.js +0 -248
- data/doc/js/full_list.js +0 -216
- data/doc/js/jquery.js +0 -4
- data/doc/method_list.html +0 -1699
- data/doc/top-level-namespace.html +0 -110
@@ -1,186 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
<title>
|
7
|
-
Module: MaxCube::Messages::TCP::Serializer::MessageA
|
8
|
-
|
9
|
-
— Documentation by YARD 0.9.12
|
10
|
-
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="../../../../css/style.css" type="text/css" charset="utf-8" />
|
14
|
-
|
15
|
-
<link rel="stylesheet" href="../../../../css/common.css" type="text/css" charset="utf-8" />
|
16
|
-
|
17
|
-
<script type="text/javascript" charset="utf-8">
|
18
|
-
pathId = "MaxCube::Messages::TCP::Serializer::MessageA";
|
19
|
-
relpath = '../../../../';
|
20
|
-
</script>
|
21
|
-
|
22
|
-
|
23
|
-
<script type="text/javascript" charset="utf-8" src="../../../../js/jquery.js"></script>
|
24
|
-
|
25
|
-
<script type="text/javascript" charset="utf-8" src="../../../../js/app.js"></script>
|
26
|
-
|
27
|
-
|
28
|
-
</head>
|
29
|
-
<body>
|
30
|
-
<div class="nav_wrap">
|
31
|
-
<iframe id="nav" src="../../../../class_list.html?1"></iframe>
|
32
|
-
<div id="resizer"></div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="main" tabindex="-1">
|
36
|
-
<div id="header">
|
37
|
-
<div id="menu">
|
38
|
-
|
39
|
-
<a href="../../../../_index.html">Index (M)</a> »
|
40
|
-
<span class='title'><span class='object_link'><a href="../../../../MaxCube.html" title="MaxCube (module)">MaxCube</a></span></span> » <span class='title'><span class='object_link'><a href="../../../Messages.html" title="MaxCube::Messages (module)">Messages</a></span></span> » <span class='title'><span class='object_link'><a href="../../TCP.html" title="MaxCube::Messages::TCP (module)">TCP</a></span></span> » <span class='title'><span class='object_link'><a href="../Serializer.html" title="MaxCube::Messages::TCP::Serializer (class)">Serializer</a></span></span>
|
41
|
-
»
|
42
|
-
<span class="title">MessageA</span>
|
43
|
-
|
44
|
-
</div>
|
45
|
-
|
46
|
-
<div id="search">
|
47
|
-
|
48
|
-
<a class="full_list_link" id="class_list_link"
|
49
|
-
href="../../../../class_list.html">
|
50
|
-
|
51
|
-
<svg width="24" height="24">
|
52
|
-
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
-
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
-
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
-
</svg>
|
56
|
-
</a>
|
57
|
-
|
58
|
-
</div>
|
59
|
-
<div class="clear"></div>
|
60
|
-
</div>
|
61
|
-
|
62
|
-
<div id="content"><h1>Module: MaxCube::Messages::TCP::Serializer::MessageA
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
</h1>
|
67
|
-
<div class="box_info">
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
<dl>
|
80
|
-
<dt>Defined in:</dt>
|
81
|
-
<dd>lib/maxcube/messages/tcp/type/a.rb</dd>
|
82
|
-
</dl>
|
83
|
-
|
84
|
-
</div>
|
85
|
-
|
86
|
-
<h2>Overview</h2><div class="docstring">
|
87
|
-
<div class="discussion">
|
88
|
-
|
89
|
-
<p>Factory reset command. Does not contain any data. Acknowledgement (A)
|
90
|
-
follows.</p>
|
91
|
-
|
92
|
-
|
93
|
-
</div>
|
94
|
-
</div>
|
95
|
-
<div class="tags">
|
96
|
-
|
97
|
-
|
98
|
-
</div>
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
<h2>
|
107
|
-
Instance Method Summary
|
108
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
109
|
-
</h2>
|
110
|
-
|
111
|
-
<ul class="summary">
|
112
|
-
|
113
|
-
<li class="private ">
|
114
|
-
<span class="summary_signature">
|
115
|
-
|
116
|
-
<a href="#serialize_tcp_a-instance_method" title="#serialize_tcp_a (instance method)">#<strong>serialize_tcp_a</strong>(_hash) ⇒ Object </a>
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
</span>
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
<span class="note title private">private</span>
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
131
|
-
|
132
|
-
</li>
|
133
|
-
|
134
|
-
|
135
|
-
</ul>
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
<div id="instance_method_details" class="method_details_list">
|
141
|
-
<h2>Instance Method Details</h2>
|
142
|
-
|
143
|
-
|
144
|
-
<div class="method_details first">
|
145
|
-
<h3 class="signature first" id="serialize_tcp_a-instance_method">
|
146
|
-
|
147
|
-
#<strong>serialize_tcp_a</strong>(_hash) ⇒ <tt>Object</tt> <span class="extras">(private)</span>
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
</h3><table class="source_code">
|
154
|
-
<tr>
|
155
|
-
<td>
|
156
|
-
<pre class="lines">
|
157
|
-
|
158
|
-
|
159
|
-
25
|
160
|
-
26
|
161
|
-
27</pre>
|
162
|
-
</td>
|
163
|
-
<td>
|
164
|
-
<pre class="code"><span class="info file"># File 'lib/maxcube/messages/tcp/type/a.rb', line 25</span>
|
165
|
-
|
166
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_serialize_tcp_a'>serialize_tcp_a</span><span class='lparen'>(</span><span class='id identifier rubyid__hash'>_hash</span><span class='rparen'>)</span>
|
167
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span>
|
168
|
-
<span class='kw'>end</span></pre>
|
169
|
-
</td>
|
170
|
-
</tr>
|
171
|
-
</table>
|
172
|
-
</div>
|
173
|
-
|
174
|
-
</div>
|
175
|
-
|
176
|
-
</div>
|
177
|
-
|
178
|
-
<div id="footer">
|
179
|
-
Generated on Fri Feb 16 13:44:01 2018 by
|
180
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
181
|
-
0.9.12 (ruby-2.5.0).
|
182
|
-
</div>
|
183
|
-
|
184
|
-
</div>
|
185
|
-
</body>
|
186
|
-
</html>
|
@@ -1,185 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
<title>
|
7
|
-
Module: MaxCube::Messages::TCP::Serializer::MessageC
|
8
|
-
|
9
|
-
— Documentation by YARD 0.9.12
|
10
|
-
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="../../../../css/style.css" type="text/css" charset="utf-8" />
|
14
|
-
|
15
|
-
<link rel="stylesheet" href="../../../../css/common.css" type="text/css" charset="utf-8" />
|
16
|
-
|
17
|
-
<script type="text/javascript" charset="utf-8">
|
18
|
-
pathId = "MaxCube::Messages::TCP::Serializer::MessageC";
|
19
|
-
relpath = '../../../../';
|
20
|
-
</script>
|
21
|
-
|
22
|
-
|
23
|
-
<script type="text/javascript" charset="utf-8" src="../../../../js/jquery.js"></script>
|
24
|
-
|
25
|
-
<script type="text/javascript" charset="utf-8" src="../../../../js/app.js"></script>
|
26
|
-
|
27
|
-
|
28
|
-
</head>
|
29
|
-
<body>
|
30
|
-
<div class="nav_wrap">
|
31
|
-
<iframe id="nav" src="../../../../class_list.html?1"></iframe>
|
32
|
-
<div id="resizer"></div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="main" tabindex="-1">
|
36
|
-
<div id="header">
|
37
|
-
<div id="menu">
|
38
|
-
|
39
|
-
<a href="../../../../_index.html">Index (M)</a> »
|
40
|
-
<span class='title'><span class='object_link'><a href="../../../../MaxCube.html" title="MaxCube (module)">MaxCube</a></span></span> » <span class='title'><span class='object_link'><a href="../../../Messages.html" title="MaxCube::Messages (module)">Messages</a></span></span> » <span class='title'><span class='object_link'><a href="../../TCP.html" title="MaxCube::Messages::TCP (module)">TCP</a></span></span> » <span class='title'><span class='object_link'><a href="../Serializer.html" title="MaxCube::Messages::TCP::Serializer (class)">Serializer</a></span></span>
|
41
|
-
»
|
42
|
-
<span class="title">MessageC</span>
|
43
|
-
|
44
|
-
</div>
|
45
|
-
|
46
|
-
<div id="search">
|
47
|
-
|
48
|
-
<a class="full_list_link" id="class_list_link"
|
49
|
-
href="../../../../class_list.html">
|
50
|
-
|
51
|
-
<svg width="24" height="24">
|
52
|
-
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
-
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
-
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
-
</svg>
|
56
|
-
</a>
|
57
|
-
|
58
|
-
</div>
|
59
|
-
<div class="clear"></div>
|
60
|
-
</div>
|
61
|
-
|
62
|
-
<div id="content"><h1>Module: MaxCube::Messages::TCP::Serializer::MessageC
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
</h1>
|
67
|
-
<div class="box_info">
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
<dl>
|
80
|
-
<dt>Defined in:</dt>
|
81
|
-
<dd>lib/maxcube/messages/tcp/type/c.rb</dd>
|
82
|
-
</dl>
|
83
|
-
|
84
|
-
</div>
|
85
|
-
|
86
|
-
<h2>Overview</h2><div class="docstring">
|
87
|
-
<div class="discussion">
|
88
|
-
|
89
|
-
<p>Request for configuration message (C). Does not contain any data.</p>
|
90
|
-
|
91
|
-
|
92
|
-
</div>
|
93
|
-
</div>
|
94
|
-
<div class="tags">
|
95
|
-
|
96
|
-
|
97
|
-
</div>
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
<h2>
|
106
|
-
Instance Method Summary
|
107
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
108
|
-
</h2>
|
109
|
-
|
110
|
-
<ul class="summary">
|
111
|
-
|
112
|
-
<li class="private ">
|
113
|
-
<span class="summary_signature">
|
114
|
-
|
115
|
-
<a href="#serialize_tcp_c-instance_method" title="#serialize_tcp_c (instance method)">#<strong>serialize_tcp_c</strong>(_hash) ⇒ Object </a>
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
</span>
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
<span class="note title private">private</span>
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
130
|
-
|
131
|
-
</li>
|
132
|
-
|
133
|
-
|
134
|
-
</ul>
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
<div id="instance_method_details" class="method_details_list">
|
140
|
-
<h2>Instance Method Details</h2>
|
141
|
-
|
142
|
-
|
143
|
-
<div class="method_details first">
|
144
|
-
<h3 class="signature first" id="serialize_tcp_c-instance_method">
|
145
|
-
|
146
|
-
#<strong>serialize_tcp_c</strong>(_hash) ⇒ <tt>Object</tt> <span class="extras">(private)</span>
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
</h3><table class="source_code">
|
153
|
-
<tr>
|
154
|
-
<td>
|
155
|
-
<pre class="lines">
|
156
|
-
|
157
|
-
|
158
|
-
243
|
159
|
-
244
|
160
|
-
245</pre>
|
161
|
-
</td>
|
162
|
-
<td>
|
163
|
-
<pre class="code"><span class="info file"># File 'lib/maxcube/messages/tcp/type/c.rb', line 243</span>
|
164
|
-
|
165
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_serialize_tcp_c'>serialize_tcp_c</span><span class='lparen'>(</span><span class='id identifier rubyid__hash'>_hash</span><span class='rparen'>)</span>
|
166
|
-
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span>
|
167
|
-
<span class='kw'>end</span></pre>
|
168
|
-
</td>
|
169
|
-
</tr>
|
170
|
-
</table>
|
171
|
-
</div>
|
172
|
-
|
173
|
-
</div>
|
174
|
-
|
175
|
-
</div>
|
176
|
-
|
177
|
-
<div id="footer">
|
178
|
-
Generated on Fri Feb 16 13:44:01 2018 by
|
179
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
180
|
-
0.9.12 (ruby-2.5.0).
|
181
|
-
</div>
|
182
|
-
|
183
|
-
</div>
|
184
|
-
</body>
|
185
|
-
</html>
|
@@ -1,206 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
<title>
|
7
|
-
Module: MaxCube::Messages::TCP::Serializer::MessageF
|
8
|
-
|
9
|
-
— Documentation by YARD 0.9.12
|
10
|
-
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="../../../../css/style.css" type="text/css" charset="utf-8" />
|
14
|
-
|
15
|
-
<link rel="stylesheet" href="../../../../css/common.css" type="text/css" charset="utf-8" />
|
16
|
-
|
17
|
-
<script type="text/javascript" charset="utf-8">
|
18
|
-
pathId = "MaxCube::Messages::TCP::Serializer::MessageF";
|
19
|
-
relpath = '../../../../';
|
20
|
-
</script>
|
21
|
-
|
22
|
-
|
23
|
-
<script type="text/javascript" charset="utf-8" src="../../../../js/jquery.js"></script>
|
24
|
-
|
25
|
-
<script type="text/javascript" charset="utf-8" src="../../../../js/app.js"></script>
|
26
|
-
|
27
|
-
|
28
|
-
</head>
|
29
|
-
<body>
|
30
|
-
<div class="nav_wrap">
|
31
|
-
<iframe id="nav" src="../../../../class_list.html?1"></iframe>
|
32
|
-
<div id="resizer"></div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="main" tabindex="-1">
|
36
|
-
<div id="header">
|
37
|
-
<div id="menu">
|
38
|
-
|
39
|
-
<a href="../../../../_index.html">Index (M)</a> »
|
40
|
-
<span class='title'><span class='object_link'><a href="../../../../MaxCube.html" title="MaxCube (module)">MaxCube</a></span></span> » <span class='title'><span class='object_link'><a href="../../../Messages.html" title="MaxCube::Messages (module)">Messages</a></span></span> » <span class='title'><span class='object_link'><a href="../../TCP.html" title="MaxCube::Messages::TCP (module)">TCP</a></span></span> » <span class='title'><span class='object_link'><a href="../Serializer.html" title="MaxCube::Messages::TCP::Serializer (class)">Serializer</a></span></span>
|
41
|
-
»
|
42
|
-
<span class="title">MessageF</span>
|
43
|
-
|
44
|
-
</div>
|
45
|
-
|
46
|
-
<div id="search">
|
47
|
-
|
48
|
-
<a class="full_list_link" id="class_list_link"
|
49
|
-
href="../../../../class_list.html">
|
50
|
-
|
51
|
-
<svg width="24" height="24">
|
52
|
-
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
-
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
-
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
-
</svg>
|
56
|
-
</a>
|
57
|
-
|
58
|
-
</div>
|
59
|
-
<div class="clear"></div>
|
60
|
-
</div>
|
61
|
-
|
62
|
-
<div id="content"><h1>Module: MaxCube::Messages::TCP::Serializer::MessageF
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
</h1>
|
67
|
-
<div class="box_info">
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
<dl>
|
80
|
-
<dt>Defined in:</dt>
|
81
|
-
<dd>lib/maxcube/messages/tcp/type/f.rb</dd>
|
82
|
-
</dl>
|
83
|
-
|
84
|
-
</div>
|
85
|
-
|
86
|
-
<h2>Overview</h2><div class="docstring">
|
87
|
-
<div class="discussion">
|
88
|
-
|
89
|
-
<p>Request for NTP servers message (F). Optionally, updates can be done.</p>
|
90
|
-
|
91
|
-
|
92
|
-
</div>
|
93
|
-
</div>
|
94
|
-
<div class="tags">
|
95
|
-
|
96
|
-
|
97
|
-
</div>
|
98
|
-
<h2>Constant Summary</h2>
|
99
|
-
<dl class="constants">
|
100
|
-
|
101
|
-
<dt id="OPT_KEYS-constant" class="">OPT_KEYS =
|
102
|
-
<div class="docstring">
|
103
|
-
<div class="discussion">
|
104
|
-
|
105
|
-
<p>Optional hash keys.</p>
|
106
|
-
|
107
|
-
|
108
|
-
</div>
|
109
|
-
</div>
|
110
|
-
<div class="tags">
|
111
|
-
|
112
|
-
|
113
|
-
</div>
|
114
|
-
</dt>
|
115
|
-
<dd><pre class="code"><span class='qsymbols_beg'>%i[</span><span class='tstring_content'>ntp_servers</span><span class='tstring_end'>]</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
116
|
-
|
117
|
-
</dl>
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
<h2>
|
127
|
-
Instance Method Summary
|
128
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
129
|
-
</h2>
|
130
|
-
|
131
|
-
<ul class="summary">
|
132
|
-
|
133
|
-
<li class="private ">
|
134
|
-
<span class="summary_signature">
|
135
|
-
|
136
|
-
<a href="#serialize_tcp_f-instance_method" title="#serialize_tcp_f (instance method)">#<strong>serialize_tcp_f</strong>(hash) ⇒ Object </a>
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
</span>
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
<span class="note title private">private</span>
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
151
|
-
|
152
|
-
</li>
|
153
|
-
|
154
|
-
|
155
|
-
</ul>
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
<div id="instance_method_details" class="method_details_list">
|
161
|
-
<h2>Instance Method Details</h2>
|
162
|
-
|
163
|
-
|
164
|
-
<div class="method_details first">
|
165
|
-
<h3 class="signature first" id="serialize_tcp_f-instance_method">
|
166
|
-
|
167
|
-
#<strong>serialize_tcp_f</strong>(hash) ⇒ <tt>Object</tt> <span class="extras">(private)</span>
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
</h3><table class="source_code">
|
174
|
-
<tr>
|
175
|
-
<td>
|
176
|
-
<pre class="lines">
|
177
|
-
|
178
|
-
|
179
|
-
28
|
180
|
-
29
|
181
|
-
30</pre>
|
182
|
-
</td>
|
183
|
-
<td>
|
184
|
-
<pre class="code"><span class="info file"># File 'lib/maxcube/messages/tcp/type/f.rb', line 28</span>
|
185
|
-
|
186
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_serialize_tcp_f'>serialize_tcp_f</span><span class='lparen'>(</span><span class='id identifier rubyid_hash'>hash</span><span class='rparen'>)</span>
|
187
|
-
<span class='id identifier rubyid_hash'>hash</span><span class='period'>.</span><span class='id identifier rubyid_key?'>key?</span><span class='lparen'>(</span><span class='symbol'>:ntp_servers</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='symbol'>:ntp_servers</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>,</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='op'>:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span>
|
188
|
-
<span class='kw'>end</span></pre>
|
189
|
-
</td>
|
190
|
-
</tr>
|
191
|
-
</table>
|
192
|
-
</div>
|
193
|
-
|
194
|
-
</div>
|
195
|
-
|
196
|
-
</div>
|
197
|
-
|
198
|
-
<div id="footer">
|
199
|
-
Generated on Fri Feb 16 13:44:01 2018 by
|
200
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
201
|
-
0.9.12 (ruby-2.5.0).
|
202
|
-
</div>
|
203
|
-
|
204
|
-
</div>
|
205
|
-
</body>
|
206
|
-
</html>
|