Interface WebSocketCallBack
-
public interface WebSocketCallBack
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcloseDoubleConns(WebSocketHandler current)closes all connections to the host, except the current onejava.lang.StringgetOwnSki()booleanisAutoAccept()booleanisDoubleConnection(java.lang.String host)
-
-
-
Method Detail
-
isAutoAccept
boolean isAutoAccept()
-
getOwnSki
java.lang.String getOwnSki()
-
isDoubleConnection
boolean isDoubleConnection(java.lang.String host)
-
closeDoubleConns
void closeDoubleConns(WebSocketHandler current)
closes all connections to the host, except the current one- Parameters:
current- should either be a ShipClientHandler or a ShipServerHandler
-
-