Package | Description |
---|---|
com.mixer.interactive |
Provides all interfaces and classes related to implementing the Interactive 2.0 specification.
|
com.mixer.interactive.protocol |
Provides classes for implementing Interactive 2.0's network protocol.
|
com.mixer.interactive.services |
Contains classes that act as service providers for the client.
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Map<InteractiveMethod,ThrottleState>> |
GameClient.getThrottleState()
Retrieves statistics on the state of throttling rules set up in
SET_BANDWIDTH_THROTTLE method requests. |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Boolean> |
GameClient.setBandwidthThrottle(Map<InteractiveMethod,BandwidthThrottle> throttleMap)
Sets up throttling for certain server-to-client method calls, such as
GIVE_INPUT ,
which could become problematic in very high-traffic scenarios. |
Modifier and Type | Method and Description |
---|---|
static InteractiveMethod |
InteractiveMethod.from(String methodName)
Returns the associated
InteractiveMethod object for the provided method name (if there is one). |
InteractiveMethod |
MethodPacket.getMethod()
Retrieves the
InteractiveMethod to call on the Interactive service. |
static InteractiveMethod |
InteractiveMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InteractiveMethod[] |
InteractiveMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
MethodPacket(int id,
InteractiveMethod method,
com.google.gson.JsonElement params)
Initializes a new
MethodPacket . |
MethodPacket(int id,
InteractiveMethod method,
com.google.gson.JsonElement params,
Boolean discard)
Initializes a new
MethodPacket . |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Boolean> |
RemoteProcedureCallServiceProvider.makeRequest(InteractiveMethod method,
com.google.gson.JsonElement params)
Prepares and sends a request to the Interactive service.
|
<T> CompletableFuture<T> |
RemoteProcedureCallServiceProvider.makeRequest(InteractiveMethod method,
com.google.gson.JsonElement params,
String memberName,
Type type)
Prepares and sends a request to the Interactive service, returning the parsed reply.
|
<T> CompletableFuture<T> |
RemoteProcedureCallServiceProvider.makeRequest(InteractiveMethod method,
com.google.gson.JsonElement params,
Type type)
Prepares and sends a request to the Interactive service, returning the parsed reply.
|
void |
RemoteProcedureCallServiceProvider.makeRequestNoReply(InteractiveMethod method,
com.google.gson.JsonElement params)
Prepares and sends a request to the Interactive service, expecting no reply.
|
Copyright © 2018. All rights reserved.