Package io.drdroid.api.client
Class AsyncClient
- java.lang.Object
-
- io.drdroid.api.client.AsyncClient
-
- All Implemented Interfaces:
IDrDroidAPI
public class AsyncClient extends java.lang.Object implements IDrDroidAPI
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IDrDroidAPIgetAsyncClientInstance()longgetLostEventCount()intgetNumOfPendingEvents()longgetSentEventCount()protected voidregister()voidsend(java.lang.String eventName, java.util.Map<java.lang.String,?> kvs, long timestamp)
-
-
-
Method Detail
-
getAsyncClientInstance
public static IDrDroidAPI getAsyncClientInstance()
-
getSentEventCount
public long getSentEventCount()
- Specified by:
getSentEventCountin interfaceIDrDroidAPI
-
getLostEventCount
public long getLostEventCount()
- Specified by:
getLostEventCountin interfaceIDrDroidAPI
-
getNumOfPendingEvents
public int getNumOfPendingEvents()
- Specified by:
getNumOfPendingEventsin interfaceIDrDroidAPI
-
send
public void send(java.lang.String eventName, java.util.Map<java.lang.String,?> kvs, long timestamp)- Specified by:
sendin interfaceIDrDroidAPI
-
register
protected void register()
-
-