Class WebSocketConnection
java.lang.Object
com.sportradar.mbs.sdk.internal.connection.WebSocketConnection
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionWebSocketConnection
(ImmutableConfig config, TokenProvider tokenProvider, BlockingQueue<WsInputMessage> sendQueue, BlockingQueue<WsOutputMessage> receiveQueue) -
Method Summary
-
Constructor Details
-
WebSocketConnection
public WebSocketConnection(ImmutableConfig config, TokenProvider tokenProvider, BlockingQueue<WsInputMessage> sendQueue, BlockingQueue<WsOutputMessage> receiveQueue)
-
-
Method Details
-
connect
public void connect() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-