com.pubnub.internal.endpoints.presence.WhereNowImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pubnub-gson-impl Show documentation
Show all versions of pubnub-gson-impl Show documentation
PubNub is a cross-platform client-to-client (1:1 and 1:many) push service in the cloud, capable of broadcasting real-time messages to millions of web and mobile clients simultaneously, in less than a quarter second!
package com.pubnub.internal.endpoints.presence;
import com.pubnub.api.endpoints.presence.WhereNow;
import com.pubnub.internal.EndpointInterface;
import com.pubnub.internal.PubNubCore;
import com.pubnub.internal.endpoints.IdentityMappingEndpoint;
import com.pubnub.internal.models.consumer.presence.PNWhereNowResult;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.jetbrains.annotations.NotNull;
@Setter
@Accessors(chain = true, fluent = true)
public class WhereNowImpl extends IdentityMappingEndpoint implements WhereNow {
private String uuid;
public WhereNowImpl(PubNubCore pubnub) {
super(pubnub);
uuid = pubnub.getConfiguration().getUuid();
}
@Override
@NotNull
protected EndpointInterface createAction() {
return pubnub.whereNow(uuid);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy