Class BaseRequest
- java.lang.Object
-
- nl.harm27.obswebsocket.api.requests.BaseRequest
-
- Direct Known Subclasses:
Authenticate.Request
,BroadcastCustomMessage.Request
,GetAuthRequired.Request
,GetCurrentScene.Request
,GetFilenameFormatting.Request
,GetSceneList.Request
,GetStats.Request
,GetVersion.Request
,GetVideoInfo.Request
,OpenProjector.Request
,ReorderSceneItems.Request
,SetCurrentScene.Request
,SetFilenameFormatting.Request
,SetHeartbeat.Request
public abstract class BaseRequest extends Object
Requests are sent by the client.- See Also:
-
-
-
Constructor Summary
Constructors Constructor Description BaseRequest(RequestType type, String messageId)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
getMessageId()
Client defined identifier for the message, will be echoed in the response.abstract Class<?>
getResponseType()
Response type class to map the response to the correct datatype.
-
-
-
-
Constructor Detail
-
BaseRequest
public BaseRequest(RequestType type, String messageId)
- Parameters:
type
- String name of the request type.messageId
- Client defined identifier for the message, will be echoed in the response.
-
-