com.octo.android.robospice.request.listener
Class SpiceServiceAdapter

java.lang.Object
  extended by com.octo.android.robospice.request.listener.SpiceServiceAdapter
All Implemented Interfaces:
SpiceServiceListener

public class SpiceServiceAdapter
extends Object
implements SpiceServiceListener

Defines the behavior of a listener that will be notified of request processing by the SpiceService.

Author:
sni

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.octo.android.robospice.request.listener.SpiceServiceListener
SpiceServiceListener.RequestProcessingContext
 
Constructor Summary
SpiceServiceAdapter()
           
 
Method Summary
 void onRequestAdded(CachedSpiceRequest<?> request, SpiceServiceListener.RequestProcessingContext requestProcessingContext)
           
 void onRequestAggregated(CachedSpiceRequest<?> request, SpiceServiceListener.RequestProcessingContext requestProcessingContext)
           
 void onRequestCancelled(CachedSpiceRequest<?> request, SpiceServiceListener.RequestProcessingContext requestProcessingContext)
           
 void onRequestFailed(CachedSpiceRequest<?> request, SpiceServiceListener.RequestProcessingContext requestProcessingContext)
           
 void onRequestNotFound(CachedSpiceRequest<?> request, SpiceServiceListener.RequestProcessingContext requestProcessingContext)
           
 void onRequestProcessed(CachedSpiceRequest<?> cachedSpiceRequest, SpiceServiceListener.RequestProcessingContext requestProcessingContext)
           
 void onRequestProgressUpdated(CachedSpiceRequest<?> request, SpiceServiceListener.RequestProcessingContext requestProcessingContext)
           
 void onRequestSucceeded(CachedSpiceRequest<?> request, SpiceServiceListener.RequestProcessingContext requestProcessingContext)
           
 void onServiceStopped()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpiceServiceAdapter

public SpiceServiceAdapter()
Method Detail

onRequestSucceeded

public void onRequestSucceeded(CachedSpiceRequest<?> request,
                               SpiceServiceListener.RequestProcessingContext requestProcessingContext)
Specified by:
onRequestSucceeded in interface SpiceServiceListener

onRequestFailed

public void onRequestFailed(CachedSpiceRequest<?> request,
                            SpiceServiceListener.RequestProcessingContext requestProcessingContext)
Specified by:
onRequestFailed in interface SpiceServiceListener

onRequestCancelled

public void onRequestCancelled(CachedSpiceRequest<?> request,
                               SpiceServiceListener.RequestProcessingContext requestProcessingContext)
Specified by:
onRequestCancelled in interface SpiceServiceListener

onRequestProgressUpdated

public void onRequestProgressUpdated(CachedSpiceRequest<?> request,
                                     SpiceServiceListener.RequestProcessingContext requestProcessingContext)
Specified by:
onRequestProgressUpdated in interface SpiceServiceListener

onRequestAdded

public void onRequestAdded(CachedSpiceRequest<?> request,
                           SpiceServiceListener.RequestProcessingContext requestProcessingContext)
Specified by:
onRequestAdded in interface SpiceServiceListener

onRequestAggregated

public void onRequestAggregated(CachedSpiceRequest<?> request,
                                SpiceServiceListener.RequestProcessingContext requestProcessingContext)
Specified by:
onRequestAggregated in interface SpiceServiceListener

onRequestNotFound

public void onRequestNotFound(CachedSpiceRequest<?> request,
                              SpiceServiceListener.RequestProcessingContext requestProcessingContext)
Specified by:
onRequestNotFound in interface SpiceServiceListener

onRequestProcessed

public void onRequestProcessed(CachedSpiceRequest<?> cachedSpiceRequest,
                               SpiceServiceListener.RequestProcessingContext requestProcessingContext)
Specified by:
onRequestProcessed in interface SpiceServiceListener

onServiceStopped

public void onServiceStopped()
Specified by:
onServiceStopped in interface SpiceServiceListener


Copyright © 2012-2014. All Rights Reserved.