SDMRequestManager class

Deprecated. since 3.0, Use com.sap.mobile.lib.request.RequestManager

Syntax

public class SDMRequestManager extends ISDMRequestManager, ISDMPreferenceChangeListener

Members

All members of SDMRequestManager, including inherited members.

Variables
Modifier and Type Variable Description
public static AuthenticationChallengeListener authenticationListener  
public static final int MAX_THREADS  
protected Vector< ISDMRequest > mHQueue  
protected ISDMLogger mLogger  
protected ISDMConnectionHandler[] mMainHandler  
protected String mMainHandlerClassName  
protected boolean mPassportEnabled  
protected Vector< Object > mQueue  
MutualSSLChallengeListener msslListener  
int prevThreadSelected  
SSLChallengeListener sslListener  
protected SuccessThread successNotifier Success notification worker instance.
protected static final String TAG  
Constructors
Modifier and Type Constructor Description
public SDMRequestManager(ISDMLogger, ISDMPreferences, ISDMConnectivitiyParameters, int) Instantiates the SDMRequestManager.
Methods
Modifier and Type Method Description
public void addPassport(ISDMRequest)  
public synchronized Vector< ISDMRequest > getAllRequests() Returns all requests from the connectivity component which are in the queue.
public ISDMConnectivitiyParameters getConnectivityParameters() Returns the ConnectivityParameters object containing the settings used by the library.
public ISDMLogger getLogger()  
public synchronized PassportAndCorrId getNetPassport(ISDMRequest)  
public ISDMPreferences getPreferences()  
public int getQueueSize() Returns the number of requests from the connectivity component which are in the queue.
public synchronized Object getRequest() Returns an ISDMRequest from the queue(s)
public synchronized boolean hasRequests() Returns a boolean indicating the queue has requests or doesn't.
public void makeRequest(final ISDMRequest) Put a request object into the SDMRequestManager.
public void makeRequest(final ISDMBundleRequest)  
public void onPreferenceChanged(String, Object) Callback method for preference change event.
public void sendLog(final String)  
public void sendOnSuccess(final ISDMNetListener, final ISDMRequest, final ISDMResponse) Used to notify the ISDMNetListener implementation about successful request, without blocking ISDMConnectivity threads and reducing the concurrency on the application.
public static void setAuthenticationChallengeListener(IAuthenticationChallengeListner)  
public final void setMainHandlerClassName(final String) Sets the name (w.
public void setMutualSSLChallengeListener(IMutualSSLChallengeListener)  
public void setSSLChallengeListener(ISSLChallengeListener) Error notification worker.
public synchronized void terminate() Terminates all the requests in the queue.