Skip to content
Snippets Groups Projects
Commit eb0ba735 authored by Brutzman, Don's avatar Brutzman, Don
Browse files

javadoc

parent cb87dcf2
No related branches found
No related tags found
No related merge requests found
......@@ -271,6 +271,7 @@ public class DisNative implements Runnable, DISEndpoint {
}
}
/** set sentinel value to exit infinite loop */
public void quit() {
quit = true;
}
......
......@@ -14,6 +14,10 @@ import java.net.*;
*/
public class DisSocketFactory
{
/** create a MulticastSocket for DIS traffic
* @param port internet port of interest
* @param multicastGroup multicast address of interest
* @return a MulticastSocket for DIS traffic */
public static MulticastSocket getDisSocket(int port, String multicastGroup)
{
MulticastSocket socket = null;
......
......@@ -81,6 +81,10 @@ public class WebPageConnection implements DISEndpoint
ConnectionManager.getConnectionManager().repeatBinaryMessage(buf, this);
}
/**
* Error-handling method
* @param error Exception of interest
*/
@OnWebSocketError
public void onWebSocketError(Throwable error) {
if (fut != null)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment