Class AbstractMultipartRequestCallback<T extends OfHeader>
java.lang.Object
org.opendaylight.openflowplugin.impl.services.AbstractRequestCallback<List<T>>
org.opendaylight.openflowplugin.impl.services.AbstractMultipartRequestCallback<T>
- All Implemented Interfaces:
com.google.common.util.concurrent.FutureCallback<OfHeader>
- Direct Known Subclasses:
AbstractMultipartRequestOnTheFlyCallback
,MultiLayerMultipartRequestCallback
,SingleLayerMultipartRequestCallback
public abstract class AbstractMultipartRequestCallback<T extends OfHeader>
extends AbstractRequestCallback<List<T>>
-
Constructor Summary
ConstructorDescriptionAbstractMultipartRequestCallback
(RequestContext<List<T>> context, Class<?> requestType, DeviceContext deviceContext, EventIdentifier eventIdentifier) -
Method Summary
Methods inherited from class org.opendaylight.openflowplugin.impl.services.AbstractRequestCallback
getEventIdentifier, onFailure, setResult, spyMessage
-
Constructor Details
-
AbstractMultipartRequestCallback
public AbstractMultipartRequestCallback(RequestContext<List<T>> context, Class<?> requestType, DeviceContext deviceContext, EventIdentifier eventIdentifier)
-
-
Method Details
-
onSuccess
-
isMultipart
Check if result is multipart.- Parameters:
result
- result- Returns:
- true if result is multipart
-
isReqMore
Check if result requests more multiparts.- Parameters:
result
- result- Returns:
- true if result requests more multiparts
-