libastag 0.0.1 → 0.0.2
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.
- data/BUGS +10 -0
- data/CHANGES +8 -1
- data/MIT-LICENSE +2 -1
- data/README +7 -3
- data/Rakefile +3 -2
- data/TODO +4 -7
- data/doc/classes/Helpers.html +16 -20
- data/doc/classes/Helpers/REXML.html +4 -4
- data/doc/classes/Helpers/REXML/Attributes.html +10 -10
- data/doc/classes/Libastag.html +5 -5
- data/doc/classes/Libastag/Rabbit.html +56 -56
- data/doc/classes/Libastag/RabitEar.html +4 -4
- data/doc/classes/Libastag/RabitLed.html +4 -4
- data/doc/classes/Request.html +33 -37
- data/doc/classes/Request/Action.html +34 -34
- data/doc/classes/Request/AudioStream.html +313 -0
- data/doc/classes/Request/Base.html +13 -10
- data/doc/classes/Request/Base/Event.html +58 -23
- data/doc/classes/Request/Base/EventCollection.html +35 -32
- data/doc/classes/Request/Choregraphy.html +500 -0
- data/doc/classes/Request/Choregraphy/BadChorDesc.html +135 -0
- data/doc/classes/Request/Choregraphy/Ears.html +130 -0
- data/doc/classes/Request/Choregraphy/Ears/Directions.html +141 -0
- data/doc/classes/Request/Choregraphy/Ears/Positions.html +146 -0
- data/doc/classes/Request/Choregraphy/Leds.html +130 -0
- data/doc/classes/Request/Choregraphy/Leds/Colors.html +171 -0
- data/doc/classes/Request/Choregraphy/Leds/Positions.html +161 -0
- data/doc/classes/Request/GET_EARS_POSITION.html +17 -14
- data/doc/classes/Request/IdMessage.html +234 -0
- data/doc/classes/Request/Query.html +80 -55
- data/doc/classes/Request/SetEarsPosition.html +58 -36
- data/doc/classes/Request/TtsMessage.html +74 -50
- data/doc/classes/Response.html +55 -124
- data/doc/classes/Response/AbuseSending.html +34 -34
- data/doc/classes/Response/Base.html +34 -34
- data/doc/classes/Response/Base/BadServerRsp.html +34 -34
- data/doc/classes/Response/Base/GoodServerRsp.html +34 -34
- data/doc/classes/Response/Base/ServerRsp.html +53 -53
- data/doc/classes/Response/Blacklist.html +34 -34
- data/doc/classes/Response/ChorNotSend.html +34 -34
- data/doc/classes/Response/ChorSend.html +34 -34
- data/doc/classes/Response/CommandSend.html +34 -34
- data/doc/classes/Response/EarPositionNotSend.html +34 -34
- data/doc/classes/Response/EarPositionSend.html +34 -34
- data/doc/classes/Response/EmptyServerRsp.html +34 -34
- data/doc/classes/Response/LangListUser.html +34 -34
- data/doc/classes/Response/LinkPreview.html +34 -34
- data/doc/classes/Response/ListFriend.html +34 -34
- data/doc/classes/Response/ListReceivedMsg.html +34 -34
- data/doc/classes/Response/MessageNotSend.html +34 -34
- data/doc/classes/Response/MessageSend.html +34 -34
- data/doc/classes/Response/NabCastNotSend.html +34 -34
- data/doc/classes/Response/NabCastSend.html +34 -34
- data/doc/classes/Response/NoCorrectParameters.html +34 -34
- data/doc/classes/Response/NoGoodTokenOrSerial.html +34 -34
- data/doc/classes/Response/NotV2Rabbit.html +34 -34
- data/doc/classes/Response/PositionEar.html +34 -34
- data/doc/classes/Response/ProtocolExcepion.html +35 -35
- data/doc/classes/Response/RabbitName.html +34 -34
- data/doc/classes/Response/RabbitSleep.html +34 -34
- data/doc/classes/Response/RabbitVersion.html +34 -34
- data/doc/classes/Response/Signature.html +34 -34
- data/doc/classes/Response/Timezone.html +34 -34
- data/doc/classes/Response/TtsNotSend.html +34 -34
- data/doc/classes/Response/TtsSend.html +34 -34
- data/doc/classes/Response/VoiceListTts.html +34 -34
- data/doc/classes/Response/WebRadioNotSend.html +34 -34
- data/doc/classes/Response/WebRadioSend.html +34 -34
- data/doc/created.rid +1 -1
- data/doc/dot/f_0.png +0 -0
- data/doc/dot/f_5.dot +13 -445
- data/doc/dot/f_5.png +0 -0
- data/doc/dot/f_6.dot +445 -11
- data/doc/dot/f_6.png +0 -0
- data/doc/dot/f_7.dot +30 -5
- data/doc/dot/f_7.png +0 -0
- data/doc/dot/f_8.dot +39 -0
- data/doc/dot/f_8.png +0 -0
- data/doc/files/{lib/violet/violetapi_rb.html → BUGS.html} +17 -9
- data/doc/files/CHANGES.html +15 -2
- data/doc/files/MIT-LICENSE.html +2 -2
- data/doc/files/README.html +13 -3
- data/doc/files/TODO.html +5 -8
- data/doc/files/lib/libastag_rb.html +12 -10
- data/doc/files/lib/violet/helpers_rb.html +5 -5
- data/doc/files/lib/violet/request_rb.html +16 -12
- data/doc/files/lib/violet/response_rb.html +36 -35
- data/doc/fr_class_index.html +10 -1
- data/doc/fr_file_index.html +1 -1
- data/doc/fr_method_index.html +25 -12
- data/examples/morse.rb +72 -0
- data/lib/libastag.rb +6 -2
- data/lib/violet/helpers.rb +4 -2
- data/lib/violet/request.rb +501 -47
- data/lib/violet/response.rb +5 -2
- data/test/fake_violet_srv.rb +1 -1
- data/test/test_helpers.rb +3 -5
- data/test/{test_send.rb → test_query_and_actions.rb} +27 -10
- data/test/test_request_base.rb +76 -0
- data/test/test_request_chor.rb +162 -0
- data/test/test_request_stuff.rb +171 -0
- data/test/test_response.rb +3 -4
- metadata +45 -20
- data/doc/classes/VioletAPI.html +0 -118
- data/doc/dot/f_4.dot +0 -57
- data/doc/dot/f_4.png +0 -0
- data/lib/violet/violetapi.rb +0 -14
- data/test/test_request.rb +0 -20
|
@@ -81,45 +81,45 @@
|
|
|
81
81
|
<div id="contextContent">
|
|
82
82
|
<div id="diagram">
|
|
83
83
|
<map id="map" name="map">
|
|
84
|
-
<area shape="rect" coords="
|
|
84
|
+
<area shape="rect" coords="1621,229,1731,277" href="Base/GoodServerRsp.html" alt="GoodServerRsp" />
|
|
85
85
|
<area shape="rect" coords="27,325,136,373" href="EarPositionSend.html" alt="EarPositionSend" />
|
|
86
86
|
<area shape="rect" coords="160,325,256,373" href="NabCastSend.html" alt="NabCastSend" />
|
|
87
|
-
<area shape="rect" coords="280,325,
|
|
88
|
-
<area shape="rect" coords="
|
|
89
|
-
<area shape="rect" coords="
|
|
90
|
-
<area shape="rect" coords="
|
|
91
|
-
<area shape="rect" coords="
|
|
87
|
+
<area shape="rect" coords="280,325,381,373" href="CommandSend.html" alt="CommandSend" />
|
|
88
|
+
<area shape="rect" coords="405,325,483,373" href="Signature.html" alt="Signature" />
|
|
89
|
+
<area shape="rect" coords="507,325,589,373" href="PositionEar.html" alt="PositionEar" />
|
|
90
|
+
<area shape="rect" coords="613,325,704,373" href="VoiceListTts.html" alt="VoiceListTts" />
|
|
91
|
+
<area shape="rect" coords="728,325,819,373" href="LinkPreview.html" alt="LinkPreview" />
|
|
92
92
|
<area shape="rect" coords="843,325,941,373" href="MessageSend.html" alt="MessageSend" />
|
|
93
93
|
<area shape="rect" coords="965,325,1059,373" href="LangListUser.html" alt="LangListUser" />
|
|
94
|
-
<area shape="rect" coords="1083,325,
|
|
95
|
-
<area shape="rect" coords="
|
|
96
|
-
<area shape="rect" coords="
|
|
97
|
-
<area shape="rect" coords="
|
|
98
|
-
<area shape="rect" coords="
|
|
99
|
-
<area shape="rect" coords="
|
|
100
|
-
<area shape="rect" coords="
|
|
101
|
-
<area shape="rect" coords="
|
|
102
|
-
<area shape="rect" coords="
|
|
103
|
-
<area shape="rect" coords="
|
|
104
|
-
<area shape="rect" coords="
|
|
105
|
-
<area shape="rect" coords="
|
|
106
|
-
<area shape="rect" coords="
|
|
107
|
-
<area shape="rect" coords="
|
|
108
|
-
<area shape="rect" coords="
|
|
109
|
-
<area shape="rect" coords="
|
|
110
|
-
<area shape="rect" coords="
|
|
111
|
-
<area shape="rect" coords="
|
|
112
|
-
<area shape="rect" coords="
|
|
113
|
-
<area shape="rect" coords="
|
|
114
|
-
<area shape="rect" coords="
|
|
115
|
-
<area shape="rect" coords="
|
|
116
|
-
<area shape="rect" coords="
|
|
117
|
-
<area shape="rect" coords="
|
|
118
|
-
<area shape="rect" coords="
|
|
119
|
-
<area shape="rect" coords="
|
|
120
|
-
<area shape="rect" coords="16,64,
|
|
94
|
+
<area shape="rect" coords="1083,325,1171,373" href="RabbitName.html" alt="RabbitName" />
|
|
95
|
+
<area shape="rect" coords="1195,325,1267,373" href="TtsSend.html" alt="TtsSend" />
|
|
96
|
+
<area shape="rect" coords="1291,325,1403,373" href="ListReceivedMsg.html" alt="ListReceivedMsg" />
|
|
97
|
+
<area shape="rect" coords="1427,325,1504,373" href="ListFriend.html" alt="ListFriend" />
|
|
98
|
+
<area shape="rect" coords="1528,325,1616,373" href="RabbitSleep.html" alt="RabbitSleep" />
|
|
99
|
+
<area shape="rect" coords="1640,325,1712,373" href="Blacklist.html" alt="Blacklist" />
|
|
100
|
+
<area shape="rect" coords="1736,325,1813,373" href="Timezone.html" alt="Timezone" />
|
|
101
|
+
<area shape="rect" coords="1837,325,1936,373" href="RabbitVersion.html" alt="RabbitVersion" />
|
|
102
|
+
<area shape="rect" coords="1960,325,2064,373" href="WebRadioSend.html" alt="WebRadioSend" />
|
|
103
|
+
<area shape="rect" coords="2088,325,2165,373" href="ChorSend.html" alt="ChorSend" />
|
|
104
|
+
<area shape="rect" coords="1755,229,1856,277" href="Base/BadServerRsp.html" alt="BadServerRsp" />
|
|
105
|
+
<area shape="rect" coords="2189,325,2325,373" href="NoGoodTokenOrSerial.html" alt="NoGoodTokenOrSerial" />
|
|
106
|
+
<area shape="rect" coords="2349,325,2443,373" href="ChorNotSend.html" alt="ChorNotSend" />
|
|
107
|
+
<area shape="rect" coords="2467,325,2579,373" href="NabCastNotSend.html" alt="NabCastNotSend" />
|
|
108
|
+
<area shape="rect" coords="2603,325,2717,373" href="MessageNotSend.html" alt="MessageNotSend" />
|
|
109
|
+
<area shape="rect" coords="2741,325,2843,373" href="AbuseSending.html" alt="AbuseSending" />
|
|
110
|
+
<area shape="rect" coords="2867,325,3000,373" href="NoCorrectParameters.html" alt="NoCorrectParameters" />
|
|
111
|
+
<area shape="rect" coords="3024,325,3109,373" href="TtsNotSend.html" alt="TtsNotSend" />
|
|
112
|
+
<area shape="rect" coords="3133,325,3224,373" href="NotV2Rabbit.html" alt="NotV2Rabbit" />
|
|
113
|
+
<area shape="rect" coords="3248,325,3368,373" href="WebRadioNotSend.html" alt="WebRadioNotSend" />
|
|
114
|
+
<area shape="rect" coords="3392,325,3517,373" href="EarPositionNotSend.html" alt="EarPositionNotSend" />
|
|
115
|
+
<area shape="rect" coords="1136,5,1235,53" href="../StandardError.html" alt="StandardError" />
|
|
116
|
+
<area shape="rect" coords="1128,133,1243,181" href="ProtocolExcepion.html" alt="ProtocolExcepion" />
|
|
117
|
+
<area shape="rect" coords="1764,133,1847,181" href="Base/ServerRsp.html" alt="ServerRsp" />
|
|
118
|
+
<area shape="rect" coords="1880,229,1992,277" href="EmptyServerRsp.html" alt="EmptyServerRsp" />
|
|
119
|
+
<area shape="rect" coords="1611,99,1867,288" href="Base.html" alt="Base" />
|
|
120
|
+
<area shape="rect" coords="16,64,3528,384" href="../Response.html" alt="Response" />
|
|
121
121
|
</map>
|
|
122
|
-
<img src="../../dot/
|
|
122
|
+
<img src="../../dot/f_6.png" usemap="#map" border="0" alt="dot/f_6.png">
|
|
123
123
|
</div>
|
|
124
124
|
|
|
125
125
|
<div id="description">
|
|
@@ -73,45 +73,45 @@
|
|
|
73
73
|
<div id="contextContent">
|
|
74
74
|
<div id="diagram">
|
|
75
75
|
<map id="map" name="map">
|
|
76
|
-
<area shape="rect" coords="
|
|
76
|
+
<area shape="rect" coords="1621,229,1731,277" href="Base/GoodServerRsp.html" alt="GoodServerRsp" />
|
|
77
77
|
<area shape="rect" coords="27,325,136,373" href="EarPositionSend.html" alt="EarPositionSend" />
|
|
78
78
|
<area shape="rect" coords="160,325,256,373" href="NabCastSend.html" alt="NabCastSend" />
|
|
79
|
-
<area shape="rect" coords="280,325,
|
|
80
|
-
<area shape="rect" coords="
|
|
81
|
-
<area shape="rect" coords="
|
|
82
|
-
<area shape="rect" coords="
|
|
83
|
-
<area shape="rect" coords="
|
|
79
|
+
<area shape="rect" coords="280,325,381,373" href="CommandSend.html" alt="CommandSend" />
|
|
80
|
+
<area shape="rect" coords="405,325,483,373" href="Signature.html" alt="Signature" />
|
|
81
|
+
<area shape="rect" coords="507,325,589,373" href="PositionEar.html" alt="PositionEar" />
|
|
82
|
+
<area shape="rect" coords="613,325,704,373" href="VoiceListTts.html" alt="VoiceListTts" />
|
|
83
|
+
<area shape="rect" coords="728,325,819,373" href="LinkPreview.html" alt="LinkPreview" />
|
|
84
84
|
<area shape="rect" coords="843,325,941,373" href="MessageSend.html" alt="MessageSend" />
|
|
85
85
|
<area shape="rect" coords="965,325,1059,373" href="LangListUser.html" alt="LangListUser" />
|
|
86
|
-
<area shape="rect" coords="1083,325,
|
|
87
|
-
<area shape="rect" coords="
|
|
88
|
-
<area shape="rect" coords="
|
|
89
|
-
<area shape="rect" coords="
|
|
90
|
-
<area shape="rect" coords="
|
|
91
|
-
<area shape="rect" coords="
|
|
92
|
-
<area shape="rect" coords="
|
|
93
|
-
<area shape="rect" coords="
|
|
94
|
-
<area shape="rect" coords="
|
|
95
|
-
<area shape="rect" coords="
|
|
96
|
-
<area shape="rect" coords="
|
|
97
|
-
<area shape="rect" coords="
|
|
98
|
-
<area shape="rect" coords="
|
|
99
|
-
<area shape="rect" coords="
|
|
100
|
-
<area shape="rect" coords="
|
|
101
|
-
<area shape="rect" coords="
|
|
102
|
-
<area shape="rect" coords="
|
|
103
|
-
<area shape="rect" coords="
|
|
104
|
-
<area shape="rect" coords="
|
|
105
|
-
<area shape="rect" coords="
|
|
106
|
-
<area shape="rect" coords="
|
|
107
|
-
<area shape="rect" coords="
|
|
108
|
-
<area shape="rect" coords="
|
|
109
|
-
<area shape="rect" coords="
|
|
110
|
-
<area shape="rect" coords="
|
|
111
|
-
<area shape="rect" coords="
|
|
112
|
-
<area shape="rect" coords="16,64,
|
|
86
|
+
<area shape="rect" coords="1083,325,1171,373" href="RabbitName.html" alt="RabbitName" />
|
|
87
|
+
<area shape="rect" coords="1195,325,1267,373" href="TtsSend.html" alt="TtsSend" />
|
|
88
|
+
<area shape="rect" coords="1291,325,1403,373" href="ListReceivedMsg.html" alt="ListReceivedMsg" />
|
|
89
|
+
<area shape="rect" coords="1427,325,1504,373" href="ListFriend.html" alt="ListFriend" />
|
|
90
|
+
<area shape="rect" coords="1528,325,1616,373" href="RabbitSleep.html" alt="RabbitSleep" />
|
|
91
|
+
<area shape="rect" coords="1640,325,1712,373" href="Blacklist.html" alt="Blacklist" />
|
|
92
|
+
<area shape="rect" coords="1736,325,1813,373" href="Timezone.html" alt="Timezone" />
|
|
93
|
+
<area shape="rect" coords="1837,325,1936,373" href="RabbitVersion.html" alt="RabbitVersion" />
|
|
94
|
+
<area shape="rect" coords="1960,325,2064,373" href="WebRadioSend.html" alt="WebRadioSend" />
|
|
95
|
+
<area shape="rect" coords="2088,325,2165,373" href="ChorSend.html" alt="ChorSend" />
|
|
96
|
+
<area shape="rect" coords="1755,229,1856,277" href="Base/BadServerRsp.html" alt="BadServerRsp" />
|
|
97
|
+
<area shape="rect" coords="2189,325,2325,373" href="NoGoodTokenOrSerial.html" alt="NoGoodTokenOrSerial" />
|
|
98
|
+
<area shape="rect" coords="2349,325,2443,373" href="ChorNotSend.html" alt="ChorNotSend" />
|
|
99
|
+
<area shape="rect" coords="2467,325,2579,373" href="NabCastNotSend.html" alt="NabCastNotSend" />
|
|
100
|
+
<area shape="rect" coords="2603,325,2717,373" href="MessageNotSend.html" alt="MessageNotSend" />
|
|
101
|
+
<area shape="rect" coords="2741,325,2843,373" href="AbuseSending.html" alt="AbuseSending" />
|
|
102
|
+
<area shape="rect" coords="2867,325,3000,373" href="NoCorrectParameters.html" alt="NoCorrectParameters" />
|
|
103
|
+
<area shape="rect" coords="3024,325,3109,373" href="TtsNotSend.html" alt="TtsNotSend" />
|
|
104
|
+
<area shape="rect" coords="3133,325,3224,373" href="NotV2Rabbit.html" alt="NotV2Rabbit" />
|
|
105
|
+
<area shape="rect" coords="3248,325,3368,373" href="WebRadioNotSend.html" alt="WebRadioNotSend" />
|
|
106
|
+
<area shape="rect" coords="3392,325,3517,373" href="EarPositionNotSend.html" alt="EarPositionNotSend" />
|
|
107
|
+
<area shape="rect" coords="1136,5,1235,53" href="../StandardError.html" alt="StandardError" />
|
|
108
|
+
<area shape="rect" coords="1128,133,1243,181" href="ProtocolExcepion.html" alt="ProtocolExcepion" />
|
|
109
|
+
<area shape="rect" coords="1764,133,1847,181" href="Base/ServerRsp.html" alt="ServerRsp" />
|
|
110
|
+
<area shape="rect" coords="1880,229,1992,277" href="EmptyServerRsp.html" alt="EmptyServerRsp" />
|
|
111
|
+
<area shape="rect" coords="1611,99,1867,288" href="Base.html" alt="Base" />
|
|
112
|
+
<area shape="rect" coords="16,64,3528,384" href="../Response.html" alt="Response" />
|
|
113
113
|
</map>
|
|
114
|
-
<img src="../../dot/
|
|
114
|
+
<img src="../../dot/f_6.png" usemap="#map" border="0" alt="dot/f_6.png">
|
|
115
115
|
</div>
|
|
116
116
|
|
|
117
117
|
<div id="description">
|
|
@@ -81,45 +81,45 @@
|
|
|
81
81
|
<div id="contextContent">
|
|
82
82
|
<div id="diagram">
|
|
83
83
|
<map id="map" name="map">
|
|
84
|
-
<area shape="rect" coords="
|
|
84
|
+
<area shape="rect" coords="1621,229,1731,277" href="GoodServerRsp.html" alt="GoodServerRsp" />
|
|
85
85
|
<area shape="rect" coords="27,325,136,373" href="../EarPositionSend.html" alt="EarPositionSend" />
|
|
86
86
|
<area shape="rect" coords="160,325,256,373" href="../NabCastSend.html" alt="NabCastSend" />
|
|
87
|
-
<area shape="rect" coords="280,325,
|
|
88
|
-
<area shape="rect" coords="
|
|
89
|
-
<area shape="rect" coords="
|
|
90
|
-
<area shape="rect" coords="
|
|
91
|
-
<area shape="rect" coords="
|
|
87
|
+
<area shape="rect" coords="280,325,381,373" href="../CommandSend.html" alt="CommandSend" />
|
|
88
|
+
<area shape="rect" coords="405,325,483,373" href="../Signature.html" alt="Signature" />
|
|
89
|
+
<area shape="rect" coords="507,325,589,373" href="../PositionEar.html" alt="PositionEar" />
|
|
90
|
+
<area shape="rect" coords="613,325,704,373" href="../VoiceListTts.html" alt="VoiceListTts" />
|
|
91
|
+
<area shape="rect" coords="728,325,819,373" href="../LinkPreview.html" alt="LinkPreview" />
|
|
92
92
|
<area shape="rect" coords="843,325,941,373" href="../MessageSend.html" alt="MessageSend" />
|
|
93
93
|
<area shape="rect" coords="965,325,1059,373" href="../LangListUser.html" alt="LangListUser" />
|
|
94
|
-
<area shape="rect" coords="1083,325,
|
|
95
|
-
<area shape="rect" coords="
|
|
96
|
-
<area shape="rect" coords="
|
|
97
|
-
<area shape="rect" coords="
|
|
98
|
-
<area shape="rect" coords="
|
|
99
|
-
<area shape="rect" coords="
|
|
100
|
-
<area shape="rect" coords="
|
|
101
|
-
<area shape="rect" coords="
|
|
102
|
-
<area shape="rect" coords="
|
|
103
|
-
<area shape="rect" coords="
|
|
104
|
-
<area shape="rect" coords="
|
|
105
|
-
<area shape="rect" coords="
|
|
106
|
-
<area shape="rect" coords="
|
|
107
|
-
<area shape="rect" coords="
|
|
108
|
-
<area shape="rect" coords="
|
|
109
|
-
<area shape="rect" coords="
|
|
110
|
-
<area shape="rect" coords="
|
|
111
|
-
<area shape="rect" coords="
|
|
112
|
-
<area shape="rect" coords="
|
|
113
|
-
<area shape="rect" coords="
|
|
114
|
-
<area shape="rect" coords="
|
|
115
|
-
<area shape="rect" coords="
|
|
116
|
-
<area shape="rect" coords="
|
|
117
|
-
<area shape="rect" coords="
|
|
118
|
-
<area shape="rect" coords="
|
|
119
|
-
<area shape="rect" coords="
|
|
120
|
-
<area shape="rect" coords="16,64,
|
|
94
|
+
<area shape="rect" coords="1083,325,1171,373" href="../RabbitName.html" alt="RabbitName" />
|
|
95
|
+
<area shape="rect" coords="1195,325,1267,373" href="../TtsSend.html" alt="TtsSend" />
|
|
96
|
+
<area shape="rect" coords="1291,325,1403,373" href="../ListReceivedMsg.html" alt="ListReceivedMsg" />
|
|
97
|
+
<area shape="rect" coords="1427,325,1504,373" href="../ListFriend.html" alt="ListFriend" />
|
|
98
|
+
<area shape="rect" coords="1528,325,1616,373" href="../RabbitSleep.html" alt="RabbitSleep" />
|
|
99
|
+
<area shape="rect" coords="1640,325,1712,373" href="../Blacklist.html" alt="Blacklist" />
|
|
100
|
+
<area shape="rect" coords="1736,325,1813,373" href="../Timezone.html" alt="Timezone" />
|
|
101
|
+
<area shape="rect" coords="1837,325,1936,373" href="../RabbitVersion.html" alt="RabbitVersion" />
|
|
102
|
+
<area shape="rect" coords="1960,325,2064,373" href="../WebRadioSend.html" alt="WebRadioSend" />
|
|
103
|
+
<area shape="rect" coords="2088,325,2165,373" href="../ChorSend.html" alt="ChorSend" />
|
|
104
|
+
<area shape="rect" coords="1755,229,1856,277" href="BadServerRsp.html" alt="BadServerRsp" />
|
|
105
|
+
<area shape="rect" coords="2189,325,2325,373" href="../NoGoodTokenOrSerial.html" alt="NoGoodTokenOrSerial" />
|
|
106
|
+
<area shape="rect" coords="2349,325,2443,373" href="../ChorNotSend.html" alt="ChorNotSend" />
|
|
107
|
+
<area shape="rect" coords="2467,325,2579,373" href="../NabCastNotSend.html" alt="NabCastNotSend" />
|
|
108
|
+
<area shape="rect" coords="2603,325,2717,373" href="../MessageNotSend.html" alt="MessageNotSend" />
|
|
109
|
+
<area shape="rect" coords="2741,325,2843,373" href="../AbuseSending.html" alt="AbuseSending" />
|
|
110
|
+
<area shape="rect" coords="2867,325,3000,373" href="../NoCorrectParameters.html" alt="NoCorrectParameters" />
|
|
111
|
+
<area shape="rect" coords="3024,325,3109,373" href="../TtsNotSend.html" alt="TtsNotSend" />
|
|
112
|
+
<area shape="rect" coords="3133,325,3224,373" href="../NotV2Rabbit.html" alt="NotV2Rabbit" />
|
|
113
|
+
<area shape="rect" coords="3248,325,3368,373" href="../WebRadioNotSend.html" alt="WebRadioNotSend" />
|
|
114
|
+
<area shape="rect" coords="3392,325,3517,373" href="../EarPositionNotSend.html" alt="EarPositionNotSend" />
|
|
115
|
+
<area shape="rect" coords="1136,5,1235,53" href="../../StandardError.html" alt="StandardError" />
|
|
116
|
+
<area shape="rect" coords="1128,133,1243,181" href="../ProtocolExcepion.html" alt="ProtocolExcepion" />
|
|
117
|
+
<area shape="rect" coords="1764,133,1847,181" href="ServerRsp.html" alt="ServerRsp" />
|
|
118
|
+
<area shape="rect" coords="1880,229,1992,277" href="../EmptyServerRsp.html" alt="EmptyServerRsp" />
|
|
119
|
+
<area shape="rect" coords="1611,99,1867,288" href="../Base.html" alt="Base" />
|
|
120
|
+
<area shape="rect" coords="16,64,3528,384" href="../../Response.html" alt="Response" />
|
|
121
121
|
</map>
|
|
122
|
-
<img src="../../../dot/
|
|
122
|
+
<img src="../../../dot/f_6.png" usemap="#map" border="0" alt="dot/f_6.png">
|
|
123
123
|
</div>
|
|
124
124
|
|
|
125
125
|
<div id="description">
|
|
@@ -81,45 +81,45 @@
|
|
|
81
81
|
<div id="contextContent">
|
|
82
82
|
<div id="diagram">
|
|
83
83
|
<map id="map" name="map">
|
|
84
|
-
<area shape="rect" coords="
|
|
84
|
+
<area shape="rect" coords="1621,229,1731,277" href="GoodServerRsp.html" alt="GoodServerRsp" />
|
|
85
85
|
<area shape="rect" coords="27,325,136,373" href="../EarPositionSend.html" alt="EarPositionSend" />
|
|
86
86
|
<area shape="rect" coords="160,325,256,373" href="../NabCastSend.html" alt="NabCastSend" />
|
|
87
|
-
<area shape="rect" coords="280,325,
|
|
88
|
-
<area shape="rect" coords="
|
|
89
|
-
<area shape="rect" coords="
|
|
90
|
-
<area shape="rect" coords="
|
|
91
|
-
<area shape="rect" coords="
|
|
87
|
+
<area shape="rect" coords="280,325,381,373" href="../CommandSend.html" alt="CommandSend" />
|
|
88
|
+
<area shape="rect" coords="405,325,483,373" href="../Signature.html" alt="Signature" />
|
|
89
|
+
<area shape="rect" coords="507,325,589,373" href="../PositionEar.html" alt="PositionEar" />
|
|
90
|
+
<area shape="rect" coords="613,325,704,373" href="../VoiceListTts.html" alt="VoiceListTts" />
|
|
91
|
+
<area shape="rect" coords="728,325,819,373" href="../LinkPreview.html" alt="LinkPreview" />
|
|
92
92
|
<area shape="rect" coords="843,325,941,373" href="../MessageSend.html" alt="MessageSend" />
|
|
93
93
|
<area shape="rect" coords="965,325,1059,373" href="../LangListUser.html" alt="LangListUser" />
|
|
94
|
-
<area shape="rect" coords="1083,325,
|
|
95
|
-
<area shape="rect" coords="
|
|
96
|
-
<area shape="rect" coords="
|
|
97
|
-
<area shape="rect" coords="
|
|
98
|
-
<area shape="rect" coords="
|
|
99
|
-
<area shape="rect" coords="
|
|
100
|
-
<area shape="rect" coords="
|
|
101
|
-
<area shape="rect" coords="
|
|
102
|
-
<area shape="rect" coords="
|
|
103
|
-
<area shape="rect" coords="
|
|
104
|
-
<area shape="rect" coords="
|
|
105
|
-
<area shape="rect" coords="
|
|
106
|
-
<area shape="rect" coords="
|
|
107
|
-
<area shape="rect" coords="
|
|
108
|
-
<area shape="rect" coords="
|
|
109
|
-
<area shape="rect" coords="
|
|
110
|
-
<area shape="rect" coords="
|
|
111
|
-
<area shape="rect" coords="
|
|
112
|
-
<area shape="rect" coords="
|
|
113
|
-
<area shape="rect" coords="
|
|
114
|
-
<area shape="rect" coords="
|
|
115
|
-
<area shape="rect" coords="
|
|
116
|
-
<area shape="rect" coords="
|
|
117
|
-
<area shape="rect" coords="
|
|
118
|
-
<area shape="rect" coords="
|
|
119
|
-
<area shape="rect" coords="
|
|
120
|
-
<area shape="rect" coords="16,64,
|
|
94
|
+
<area shape="rect" coords="1083,325,1171,373" href="../RabbitName.html" alt="RabbitName" />
|
|
95
|
+
<area shape="rect" coords="1195,325,1267,373" href="../TtsSend.html" alt="TtsSend" />
|
|
96
|
+
<area shape="rect" coords="1291,325,1403,373" href="../ListReceivedMsg.html" alt="ListReceivedMsg" />
|
|
97
|
+
<area shape="rect" coords="1427,325,1504,373" href="../ListFriend.html" alt="ListFriend" />
|
|
98
|
+
<area shape="rect" coords="1528,325,1616,373" href="../RabbitSleep.html" alt="RabbitSleep" />
|
|
99
|
+
<area shape="rect" coords="1640,325,1712,373" href="../Blacklist.html" alt="Blacklist" />
|
|
100
|
+
<area shape="rect" coords="1736,325,1813,373" href="../Timezone.html" alt="Timezone" />
|
|
101
|
+
<area shape="rect" coords="1837,325,1936,373" href="../RabbitVersion.html" alt="RabbitVersion" />
|
|
102
|
+
<area shape="rect" coords="1960,325,2064,373" href="../WebRadioSend.html" alt="WebRadioSend" />
|
|
103
|
+
<area shape="rect" coords="2088,325,2165,373" href="../ChorSend.html" alt="ChorSend" />
|
|
104
|
+
<area shape="rect" coords="1755,229,1856,277" href="BadServerRsp.html" alt="BadServerRsp" />
|
|
105
|
+
<area shape="rect" coords="2189,325,2325,373" href="../NoGoodTokenOrSerial.html" alt="NoGoodTokenOrSerial" />
|
|
106
|
+
<area shape="rect" coords="2349,325,2443,373" href="../ChorNotSend.html" alt="ChorNotSend" />
|
|
107
|
+
<area shape="rect" coords="2467,325,2579,373" href="../NabCastNotSend.html" alt="NabCastNotSend" />
|
|
108
|
+
<area shape="rect" coords="2603,325,2717,373" href="../MessageNotSend.html" alt="MessageNotSend" />
|
|
109
|
+
<area shape="rect" coords="2741,325,2843,373" href="../AbuseSending.html" alt="AbuseSending" />
|
|
110
|
+
<area shape="rect" coords="2867,325,3000,373" href="../NoCorrectParameters.html" alt="NoCorrectParameters" />
|
|
111
|
+
<area shape="rect" coords="3024,325,3109,373" href="../TtsNotSend.html" alt="TtsNotSend" />
|
|
112
|
+
<area shape="rect" coords="3133,325,3224,373" href="../NotV2Rabbit.html" alt="NotV2Rabbit" />
|
|
113
|
+
<area shape="rect" coords="3248,325,3368,373" href="../WebRadioNotSend.html" alt="WebRadioNotSend" />
|
|
114
|
+
<area shape="rect" coords="3392,325,3517,373" href="../EarPositionNotSend.html" alt="EarPositionNotSend" />
|
|
115
|
+
<area shape="rect" coords="1136,5,1235,53" href="../../StandardError.html" alt="StandardError" />
|
|
116
|
+
<area shape="rect" coords="1128,133,1243,181" href="../ProtocolExcepion.html" alt="ProtocolExcepion" />
|
|
117
|
+
<area shape="rect" coords="1764,133,1847,181" href="ServerRsp.html" alt="ServerRsp" />
|
|
118
|
+
<area shape="rect" coords="1880,229,1992,277" href="../EmptyServerRsp.html" alt="EmptyServerRsp" />
|
|
119
|
+
<area shape="rect" coords="1611,99,1867,288" href="../Base.html" alt="Base" />
|
|
120
|
+
<area shape="rect" coords="16,64,3528,384" href="../../Response.html" alt="Response" />
|
|
121
121
|
</map>
|
|
122
|
-
<img src="../../../dot/
|
|
122
|
+
<img src="../../../dot/f_6.png" usemap="#map" border="0" alt="dot/f_6.png">
|
|
123
123
|
</div>
|
|
124
124
|
|
|
125
125
|
<div id="description">
|
|
@@ -79,45 +79,45 @@
|
|
|
79
79
|
<div id="contextContent">
|
|
80
80
|
<div id="diagram">
|
|
81
81
|
<map id="map" name="map">
|
|
82
|
-
<area shape="rect" coords="
|
|
82
|
+
<area shape="rect" coords="1621,229,1731,277" href="GoodServerRsp.html" alt="GoodServerRsp" />
|
|
83
83
|
<area shape="rect" coords="27,325,136,373" href="../EarPositionSend.html" alt="EarPositionSend" />
|
|
84
84
|
<area shape="rect" coords="160,325,256,373" href="../NabCastSend.html" alt="NabCastSend" />
|
|
85
|
-
<area shape="rect" coords="280,325,
|
|
86
|
-
<area shape="rect" coords="
|
|
87
|
-
<area shape="rect" coords="
|
|
88
|
-
<area shape="rect" coords="
|
|
89
|
-
<area shape="rect" coords="
|
|
85
|
+
<area shape="rect" coords="280,325,381,373" href="../CommandSend.html" alt="CommandSend" />
|
|
86
|
+
<area shape="rect" coords="405,325,483,373" href="../Signature.html" alt="Signature" />
|
|
87
|
+
<area shape="rect" coords="507,325,589,373" href="../PositionEar.html" alt="PositionEar" />
|
|
88
|
+
<area shape="rect" coords="613,325,704,373" href="../VoiceListTts.html" alt="VoiceListTts" />
|
|
89
|
+
<area shape="rect" coords="728,325,819,373" href="../LinkPreview.html" alt="LinkPreview" />
|
|
90
90
|
<area shape="rect" coords="843,325,941,373" href="../MessageSend.html" alt="MessageSend" />
|
|
91
91
|
<area shape="rect" coords="965,325,1059,373" href="../LangListUser.html" alt="LangListUser" />
|
|
92
|
-
<area shape="rect" coords="1083,325,
|
|
93
|
-
<area shape="rect" coords="
|
|
94
|
-
<area shape="rect" coords="
|
|
95
|
-
<area shape="rect" coords="
|
|
96
|
-
<area shape="rect" coords="
|
|
97
|
-
<area shape="rect" coords="
|
|
98
|
-
<area shape="rect" coords="
|
|
99
|
-
<area shape="rect" coords="
|
|
100
|
-
<area shape="rect" coords="
|
|
101
|
-
<area shape="rect" coords="
|
|
102
|
-
<area shape="rect" coords="
|
|
103
|
-
<area shape="rect" coords="
|
|
104
|
-
<area shape="rect" coords="
|
|
105
|
-
<area shape="rect" coords="
|
|
106
|
-
<area shape="rect" coords="
|
|
107
|
-
<area shape="rect" coords="
|
|
108
|
-
<area shape="rect" coords="
|
|
109
|
-
<area shape="rect" coords="
|
|
110
|
-
<area shape="rect" coords="
|
|
111
|
-
<area shape="rect" coords="
|
|
112
|
-
<area shape="rect" coords="
|
|
113
|
-
<area shape="rect" coords="
|
|
114
|
-
<area shape="rect" coords="
|
|
115
|
-
<area shape="rect" coords="
|
|
116
|
-
<area shape="rect" coords="
|
|
117
|
-
<area shape="rect" coords="
|
|
118
|
-
<area shape="rect" coords="16,64,
|
|
92
|
+
<area shape="rect" coords="1083,325,1171,373" href="../RabbitName.html" alt="RabbitName" />
|
|
93
|
+
<area shape="rect" coords="1195,325,1267,373" href="../TtsSend.html" alt="TtsSend" />
|
|
94
|
+
<area shape="rect" coords="1291,325,1403,373" href="../ListReceivedMsg.html" alt="ListReceivedMsg" />
|
|
95
|
+
<area shape="rect" coords="1427,325,1504,373" href="../ListFriend.html" alt="ListFriend" />
|
|
96
|
+
<area shape="rect" coords="1528,325,1616,373" href="../RabbitSleep.html" alt="RabbitSleep" />
|
|
97
|
+
<area shape="rect" coords="1640,325,1712,373" href="../Blacklist.html" alt="Blacklist" />
|
|
98
|
+
<area shape="rect" coords="1736,325,1813,373" href="../Timezone.html" alt="Timezone" />
|
|
99
|
+
<area shape="rect" coords="1837,325,1936,373" href="../RabbitVersion.html" alt="RabbitVersion" />
|
|
100
|
+
<area shape="rect" coords="1960,325,2064,373" href="../WebRadioSend.html" alt="WebRadioSend" />
|
|
101
|
+
<area shape="rect" coords="2088,325,2165,373" href="../ChorSend.html" alt="ChorSend" />
|
|
102
|
+
<area shape="rect" coords="1755,229,1856,277" href="BadServerRsp.html" alt="BadServerRsp" />
|
|
103
|
+
<area shape="rect" coords="2189,325,2325,373" href="../NoGoodTokenOrSerial.html" alt="NoGoodTokenOrSerial" />
|
|
104
|
+
<area shape="rect" coords="2349,325,2443,373" href="../ChorNotSend.html" alt="ChorNotSend" />
|
|
105
|
+
<area shape="rect" coords="2467,325,2579,373" href="../NabCastNotSend.html" alt="NabCastNotSend" />
|
|
106
|
+
<area shape="rect" coords="2603,325,2717,373" href="../MessageNotSend.html" alt="MessageNotSend" />
|
|
107
|
+
<area shape="rect" coords="2741,325,2843,373" href="../AbuseSending.html" alt="AbuseSending" />
|
|
108
|
+
<area shape="rect" coords="2867,325,3000,373" href="../NoCorrectParameters.html" alt="NoCorrectParameters" />
|
|
109
|
+
<area shape="rect" coords="3024,325,3109,373" href="../TtsNotSend.html" alt="TtsNotSend" />
|
|
110
|
+
<area shape="rect" coords="3133,325,3224,373" href="../NotV2Rabbit.html" alt="NotV2Rabbit" />
|
|
111
|
+
<area shape="rect" coords="3248,325,3368,373" href="../WebRadioNotSend.html" alt="WebRadioNotSend" />
|
|
112
|
+
<area shape="rect" coords="3392,325,3517,373" href="../EarPositionNotSend.html" alt="EarPositionNotSend" />
|
|
113
|
+
<area shape="rect" coords="1136,5,1235,53" href="../../StandardError.html" alt="StandardError" />
|
|
114
|
+
<area shape="rect" coords="1128,133,1243,181" href="../ProtocolExcepion.html" alt="ProtocolExcepion" />
|
|
115
|
+
<area shape="rect" coords="1764,133,1847,181" href="ServerRsp.html" alt="ServerRsp" />
|
|
116
|
+
<area shape="rect" coords="1880,229,1992,277" href="../EmptyServerRsp.html" alt="EmptyServerRsp" />
|
|
117
|
+
<area shape="rect" coords="1611,99,1867,288" href="../Base.html" alt="Base" />
|
|
118
|
+
<area shape="rect" coords="16,64,3528,384" href="../../Response.html" alt="Response" />
|
|
119
119
|
</map>
|
|
120
|
-
<img src="../../../dot/
|
|
120
|
+
<img src="../../../dot/f_6.png" usemap="#map" border="0" alt="dot/f_6.png">
|
|
121
121
|
</div>
|
|
122
122
|
|
|
123
123
|
<div id="description">
|
|
@@ -208,10 +208,10 @@ malformed, a REXML::ParseException will be raised.
|
|
|
208
208
|
onclick="toggleCode('M000004-source');return false;">[Source]</a></p>
|
|
209
209
|
<div class="method-source-code" id="M000004-source">
|
|
210
210
|
<pre>
|
|
211
|
-
<span class="ruby-comment cmt"># File lib/violet/response.rb, line
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
211
|
+
<span class="ruby-comment cmt"># File lib/violet/response.rb, line 77</span>
|
|
212
|
+
77: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">raw</span>
|
|
213
|
+
78: <span class="ruby-ivar">@xml</span> = <span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Document</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">raw</span>
|
|
214
|
+
79: <span class="ruby-keyword kw">end</span>
|
|
215
215
|
</pre>
|
|
216
216
|
</div>
|
|
217
217
|
</div>
|
|
@@ -237,10 +237,10 @@ otherwhise.
|
|
|
237
237
|
onclick="toggleCode('M000006-source');return false;">[Source]</a></p>
|
|
238
238
|
<div class="method-source-code" id="M000006-source">
|
|
239
239
|
<pre>
|
|
240
|
-
<span class="ruby-comment cmt"># File lib/violet/response.rb, line
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
240
|
+
<span class="ruby-comment cmt"># File lib/violet/response.rb, line 91</span>
|
|
241
|
+
91: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">bad?</span>
|
|
242
|
+
92: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">is_a?</span> <span class="ruby-constant">BadServerRsp</span>
|
|
243
|
+
93: <span class="ruby-keyword kw">end</span>
|
|
244
244
|
</pre>
|
|
245
245
|
</div>
|
|
246
246
|
</div>
|
|
@@ -293,13 +293,13 @@ return an Array of REXML::Element.
|
|
|
293
293
|
onclick="toggleCode('M000007-source');return false;">[Source]</a></p>
|
|
294
294
|
<div class="method-source-code" id="M000007-source">
|
|
295
295
|
<pre>
|
|
296
|
-
<span class="ruby-comment cmt"># File lib/violet/response.rb, line
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
296
|
+
<span class="ruby-comment cmt"># File lib/violet/response.rb, line 120</span>
|
|
297
|
+
120: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_all</span> <span class="ruby-identifier">name</span>
|
|
298
|
+
121: <span class="ruby-comment cmt"># REXML::XPath.match(@xml, element).collect do |e| <= this one is for a recursive search.</span>
|
|
299
|
+
122: <span class="ruby-ivar">@xml</span>.<span class="ruby-identifier">root</span>.<span class="ruby-identifier">elements</span>.<span class="ruby-identifier">collect</span>(<span class="ruby-identifier">name</span>.<span class="ruby-identifier">to_s</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">e</span><span class="ruby-operator">|</span>
|
|
300
|
+
123: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span> <span class="ruby-keyword kw">then</span> <span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">e</span>) <span class="ruby-keyword kw">else</span> <span class="ruby-identifier">e</span> <span class="ruby-keyword kw">end</span>
|
|
301
|
+
124: <span class="ruby-keyword kw">end</span>
|
|
302
|
+
125: <span class="ruby-keyword kw">end</span>
|
|
303
303
|
</pre>
|
|
304
304
|
</div>
|
|
305
305
|
</div>
|
|
@@ -323,10 +323,10 @@ otherwhise.
|
|
|
323
323
|
onclick="toggleCode('M000005-source');return false;">[Source]</a></p>
|
|
324
324
|
<div class="method-source-code" id="M000005-source">
|
|
325
325
|
<pre>
|
|
326
|
-
<span class="ruby-comment cmt"># File lib/violet/response.rb, line
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
326
|
+
<span class="ruby-comment cmt"># File lib/violet/response.rb, line 86</span>
|
|
327
|
+
86: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">good?</span>
|
|
328
|
+
87: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">is_a?</span> <span class="ruby-constant">GoodServerRsp</span>
|
|
329
|
+
88: <span class="ruby-keyword kw">end</span>
|
|
330
330
|
</pre>
|
|
331
331
|
</div>
|
|
332
332
|
</div>
|