Class MappingRemoteAction<T,U>
- java.lang.Object
-
- com.pubnub.api.endpoints.remoteaction.MappingRemoteAction<T,U>
-
- All Implemented Interfaces:
RemoteAction<U>
public class MappingRemoteAction<T,U> extends java.lang.Object implements RemoteAction<U>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
async(@NotNull PNCallback<U> callback)
static <T,U>
RemoteAction<U>map(T result, PNFunction<T,U> function)
void
retry()
void
silentCancel()
U
sync()
-
-
-
Method Detail
-
map
public static <T,U> RemoteAction<U> map(T result, PNFunction<T,U> function)
-
sync
public U sync() throws PubNubException
- Specified by:
sync
in interfaceRemoteAction<T>
- Throws:
PubNubException
-
async
public void async(@NotNull @NotNull PNCallback<U> callback)
- Specified by:
async
in interfaceRemoteAction<T>
-
retry
public void retry()
- Specified by:
retry
in interfaceRemoteAction<T>
-
silentCancel
public void silentCancel()
- Specified by:
silentCancel
in interfaceRemoteAction<T>
-
-