Class VoidRequestService
java.lang.Object
pro.gravit.launcher.request.websockets.VoidRequestService
- All Implemented Interfaces:
RequestService
-
Nested Class Summary
Nested classes/interfaces inherited from interface pro.gravit.launcher.request.RequestService
RequestService.EventHandler -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisClosed()void<T extends WebSocketEvent>
CompletableFuture<T>voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface pro.gravit.launcher.request.RequestService
requestSync
-
Constructor Details
-
VoidRequestService
-
VoidRequestService
public VoidRequestService()
-
-
Method Details
-
request
public <T extends WebSocketEvent> CompletableFuture<T> request(Request<T> request) throws IOException - Specified by:
requestin interfaceRequestService- Throws:
IOException
-
registerEventHandler
- Specified by:
registerEventHandlerin interfaceRequestService
-
unregisterEventHandler
- Specified by:
unregisterEventHandlerin interfaceRequestService
-
isClosed
public boolean isClosed()- Specified by:
isClosedin interfaceRequestService
-