public interface ProtoInterface
Modifier and Type | Method | Description |
---|---|---|
boolean |
connectToGame(S2Controller theGame,
java.lang.Integer connectionTimeoutInMillis,
java.lang.Integer requestTimeoutInMillis,
java.lang.Boolean traced) |
|
boolean |
connectToGame(java.lang.String address,
java.lang.Integer port,
java.lang.Integer connectionTimeoutInMillis,
java.lang.Integer requestTimeoutInMillis,
java.lang.Boolean traced) |
|
java.lang.Integer |
getBaseBuild() |
|
java.lang.String |
getConnectToIp() |
|
java.lang.Integer |
getConnectToPort() |
|
java.util.Map<ResponseType,java.lang.Integer> |
getCountUses() |
|
java.lang.String |
getDataVersion() |
|
io.reactivex.Maybe<Response> |
getResponsePending(ResponseType type) |
|
boolean |
hasResponsePending() |
|
boolean |
hasResponsePending(ResponseType type) |
|
GameStatus |
lastStatus() |
|
boolean |
pollResponse(ResponseType type) |
|
void |
quit() |
|
<T extends Request> |
sendRequest(BuilderSyntax<T> requestDataBuilder) |
|
<T extends Request> |
sendRequest(T requestData) |
|
java.util.Optional<Response> |
waitForResponse(io.reactivex.Maybe<Response> waitFor) |
boolean connectToGame(S2Controller theGame, java.lang.Integer connectionTimeoutInMillis, java.lang.Integer requestTimeoutInMillis, java.lang.Boolean traced)
boolean connectToGame(java.lang.String address, java.lang.Integer port, java.lang.Integer connectionTimeoutInMillis, java.lang.Integer requestTimeoutInMillis, java.lang.Boolean traced)
<T extends Request> io.reactivex.Maybe<Response> sendRequest(BuilderSyntax<T> requestDataBuilder)
void quit()
boolean pollResponse(ResponseType type)
boolean hasResponsePending(ResponseType type)
boolean hasResponsePending()
io.reactivex.Maybe<Response> getResponsePending(ResponseType type)
GameStatus lastStatus()
java.lang.String getConnectToIp()
java.lang.Integer getConnectToPort()
java.lang.String getDataVersion()
java.lang.Integer getBaseBuild()
java.util.Map<ResponseType,java.lang.Integer> getCountUses()
Copyright © 2017–2018 Ocraft Project. All rights reserved.