Package com.mparticle.networking
Class BaseNetworkConnection
- java.lang.Object
-
- com.mparticle.networking.BaseNetworkConnection
-
- Direct Known Subclasses:
NetworkConnection
public abstract class BaseNetworkConnection extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseNetworkConnection(android.content.Context context)
protected
BaseNetworkConnection(android.content.SharedPreferences sharedPreferences)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract MPConnection
makeUrlRequest(MParticleBaseClientImpl.Endpoint endpoint, MPConnection connection, java.lang.String payload, boolean identity)
void
setNextAllowedRequestTime(MPConnection connection, MParticleBaseClientImpl.Endpoint endpoint)
void
setNextRequestTime(MParticleBaseClientImpl.Endpoint endpoint, long timeMillis)
-
-
-
Method Detail
-
makeUrlRequest
public abstract MPConnection makeUrlRequest(MParticleBaseClientImpl.Endpoint endpoint, MPConnection connection, java.lang.String payload, boolean identity) throws java.io.IOException
- Throws:
java.io.IOException
-
setNextAllowedRequestTime
public void setNextAllowedRequestTime(MPConnection connection, MParticleBaseClientImpl.Endpoint endpoint)
-
setNextRequestTime
public void setNextRequestTime(MParticleBaseClientImpl.Endpoint endpoint, long timeMillis)
-
-