Package nl.harm27.obswebsocket.websocket
Class OBSWebSocketClient
- java.lang.Object
-
- nl.harm27.obswebsocket.websocket.OBSWebSocketClient
-
public class OBSWebSocketClient extends Object
-
-
Constructor Summary
Constructors Constructor Description OBSWebSocketClient(String ip, int port)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
connect(MessageSender messageSender, MessageReceiver messageReceiver)
boolean
isConnected()
void
notifyShutdown()
void
sendText(String message)
void
setWebSocket(WebSocket webSocket)
-
-
-
Constructor Detail
-
OBSWebSocketClient
public OBSWebSocketClient(String ip, int port)
-
-
Method Detail
-
connect
public void connect(MessageSender messageSender, MessageReceiver messageReceiver)
-
setWebSocket
public void setWebSocket(WebSocket webSocket)
-
notifyShutdown
public void notifyShutdown()
-
sendText
public void sendText(String message)
-
isConnected
public boolean isConnected()
-
-