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
You can build using Ant, Maven or Leiningen but there is nothing against just putting the source path ```src/main/java ``` on your applications buildpath.
22
+
You can build using Ant or Leiningen but there is nothing against just putting the source path ```src/main/java ``` on your applications buildpath.
23
23
24
-
###Ant
24
+
###Ant
25
25
26
26
```bash
27
27
ant
28
28
```
29
29
30
-
will create the javadoc of this library at ```doc/``` and build the library itself: ```dest/java_websocket.jar```
30
+
will create the javadoc of this library at ```doc/``` and build the library itself: ```dist/java_websocket.jar```
31
31
32
32
The ant targets are: ```compile```, ```jar```, ```doc``` and ```clean```
33
33
34
-
###Maven
35
-
36
-
To use maven just add this dependency to your pom.xml:
37
-
```xml
38
-
<dependency>
39
-
<groupId>org.java-websocket</groupId>
40
-
<artifactId>Java-WebSocket</artifactId>
41
-
<version>1.3.0</version>
42
-
</dependency>
43
-
```
44
34
45
35
### Leiningen
46
36
@@ -89,7 +79,7 @@ connections though HTTP. After that it's up to **your** subclass to add purpose.
89
79
Writing your own WebSocket Client
90
80
---------------------------------
91
81
92
-
The `org.java_websocket.server.WebSocketClient` abstract class can connect to
82
+
The `org.java_websocket.client.WebSocketClient` abstract class can connect to
93
83
valid WebSocket servers. The constructor expects a valid `ws://` URI to
94
84
connect to. Important events `onOpen`, `onClose`, `onMessage` and `onIOError`
95
85
get fired throughout the life of the WebSocketClient, and must be implemented
0 commit comments