Modifier and Type | Class | Description |
---|---|---|
static class |
S2Client.Builder |
Modifier and Type | Method | Description |
---|---|---|
boolean |
await() |
|
boolean |
fullStop() |
|
int |
getConnectTimeoutInMillis() |
|
java.lang.String |
getConnectToIp() |
|
java.lang.Integer |
getConnectToPort() |
|
int |
getRequestTimeoutInMillis() |
|
boolean |
isDone() |
|
boolean |
isTraced() |
|
void |
onComplete() |
|
void |
onError(java.lang.Throwable throwable) |
|
void |
onNext(Response response) |
|
<T extends Request> |
request(BuilderSyntax<T> requestDataBuilder) |
|
<T extends Request> |
request(T requestData) |
|
<T extends Request> |
requestSync(BuilderSyntax<T> requestDataBuilder) |
|
<T extends Request,S extends Response> |
requestSync(BuilderSyntax<T> requestDataBuilder,
java.lang.Class<S> responseClass) |
|
<T extends Request> |
requestSync(T requestData) |
|
<T extends Request,S extends Response> |
requestSync(T requestData,
java.lang.Class<S> responseClass) |
|
io.reactivex.Flowable<Response> |
responseStream() |
|
static S2ClientSyntax |
starcraft2Client() |
|
boolean |
stop() |
|
java.lang.String |
toString() |
|
S2Client |
untilReady() |
|
S2Client |
untilReady(java.lang.Runnable onPull) |
|
io.reactivex.Maybe<Response> |
waitForResponse(ResponseType responseType) |
public static S2ClientSyntax starcraft2Client()
public io.reactivex.Flowable<Response> responseStream()
public <T extends Request> void request(T requestData)
public <T extends Request> void request(BuilderSyntax<T> requestDataBuilder)
public io.reactivex.Maybe<Response> waitForResponse(ResponseType responseType)
public <T extends Request> Response requestSync(BuilderSyntax<T> requestDataBuilder)
public <T extends Request,S extends Response> S requestSync(T requestData, java.lang.Class<S> responseClass)
public <T extends Request,S extends Response> S requestSync(BuilderSyntax<T> requestDataBuilder, java.lang.Class<S> responseClass)
public boolean isDone()
public boolean stop()
public boolean fullStop()
public boolean await()
public void onNext(Response response)
public void onError(java.lang.Throwable throwable)
public void onComplete()
public java.lang.String getConnectToIp()
public java.lang.Integer getConnectToPort()
public int getRequestTimeoutInMillis()
public int getConnectTimeoutInMillis()
public boolean isTraced()
public S2Client untilReady() throws java.util.concurrent.TimeoutException
java.util.concurrent.TimeoutException
public S2Client untilReady(java.lang.Runnable onPull) throws java.util.concurrent.TimeoutException
java.util.concurrent.TimeoutException
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2017–2018 Ocraft Project. All rights reserved.