public class Time extends Endpoint<java.util.List<java.lang.Long>,PNTimeResult>
| Constructor and Description |
|---|
Time(PubNub pubnub,
retrofit2.Retrofit retrofit) |
| Modifier and Type | Method and Description |
|---|---|
protected PNTimeResult |
createResponse(retrofit2.Response<java.util.List<java.lang.Long>> input) |
protected retrofit2.Call<java.util.List<java.lang.Long>> |
doWork(java.util.Map<java.lang.String,java.lang.String> params) |
protected java.util.List<java.lang.String> |
getAffectedChannelGroups() |
protected java.util.List<java.lang.String> |
getAffectedChannels() |
protected PNOperationType |
getOperationType() |
protected boolean |
isAuthRequired() |
protected void |
validateParams() |
async, createBaseParams, getPubnub, getRetrofit, retry, silentCancel, syncpublic Time(PubNub pubnub, retrofit2.Retrofit retrofit)
protected java.util.List<java.lang.String> getAffectedChannels()
getAffectedChannels in class Endpoint<java.util.List<java.lang.Long>,PNTimeResult>protected java.util.List<java.lang.String> getAffectedChannelGroups()
getAffectedChannelGroups in class Endpoint<java.util.List<java.lang.Long>,PNTimeResult>protected void validateParams()
throws PubNubException
validateParams in class Endpoint<java.util.List<java.lang.Long>,PNTimeResult>PubNubExceptionprotected retrofit2.Call<java.util.List<java.lang.Long>> doWork(java.util.Map<java.lang.String,java.lang.String> params)
doWork in class Endpoint<java.util.List<java.lang.Long>,PNTimeResult>protected PNTimeResult createResponse(retrofit2.Response<java.util.List<java.lang.Long>> input) throws PubNubException
createResponse in class Endpoint<java.util.List<java.lang.Long>,PNTimeResult>PubNubExceptionprotected PNOperationType getOperationType()
getOperationType in class Endpoint<java.util.List<java.lang.Long>,PNTimeResult>protected boolean isAuthRequired()
isAuthRequired in class Endpoint<java.util.List<java.lang.Long>,PNTimeResult>