public class VkStreamingApiClient
extends java.lang.Object
implements java.io.Closeable
| Constructor and Description |
|---|
VkStreamingApiClient(TransportClient transportClient) |
VkStreamingApiClient(TransportClient transportClient,
com.google.gson.Gson gson,
org.asynchttpclient.AsyncHttpClient asyncHttpClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.asynchttpclient.AsyncHttpClient |
getAsyncHttpClient() |
com.google.gson.Gson |
getGson() |
TransportClient |
getTransportClient() |
StreamingRules |
rules() |
StreamingStream |
stream() |
public VkStreamingApiClient(TransportClient transportClient)
public VkStreamingApiClient(TransportClient transportClient, com.google.gson.Gson gson, org.asynchttpclient.AsyncHttpClient asyncHttpClient)
public com.google.gson.Gson getGson()
public TransportClient getTransportClient()
public org.asynchttpclient.AsyncHttpClient getAsyncHttpClient()
public StreamingRules rules()
public StreamingStream stream()
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOException