You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Gets the URI that this WebSocketClient is connected to.
119
-
*
118
+
*
120
119
* @return The <tt>URI</tt> for this WebSocketClient.
121
120
*/
122
121
publicURIgetURI() {
@@ -163,7 +162,7 @@ public void closeBlocking() throws InterruptedException {
163
162
164
163
/**
165
164
* Sends <var>text</var> to the connected WebSocket server.
166
-
*
165
+
*
167
166
* @param text
168
167
* The String to send to the WebSocket server.
169
168
*/
@@ -173,7 +172,7 @@ public void send( String text ) throws NotYetConnectedException {
173
172
174
173
/**
175
174
* Sends <var>data</var> to the connected WebSocket server.
176
-
*
175
+
*
177
176
* @param data
178
177
* The Byte-Array of data to send to the WebSocket server.
179
178
*/
@@ -191,7 +190,7 @@ public void run() {
191
190
192
191
}
193
192
194
-
privatefinalvoidinterruptableRun() {
193
+
privatevoidinterruptableRun() {
195
194
if( channel == null ) {
196
195
return;// channel will be initialized in the constructor and only be null if no socket channel could be created or if blocking mode could be established
197
196
}
@@ -221,6 +220,10 @@ private final void interruptableRun() {
0 commit comments