Class MultiLayerMultipartRequestCallback<T extends OfHeader>
java.lang.Object
org.opendaylight.openflowplugin.impl.services.AbstractRequestCallback<List<T>>
org.opendaylight.openflowplugin.impl.services.AbstractMultipartRequestCallback<T>
org.opendaylight.openflowplugin.impl.services.multilayer.MultiLayerMultipartRequestCallback<T>
- All Implemented Interfaces:
com.google.common.util.concurrent.FutureCallback<OfHeader>
public class MultiLayerMultipartRequestCallback<T extends OfHeader>
extends AbstractMultipartRequestCallback<T>
-
Constructor Summary
ConstructorDescriptionMultiLayerMultipartRequestCallback
(RequestContext<List<T>> context, Class<?> requestType, DeviceContext deviceContext, EventIdentifier eventIdentifier) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isMultipart
(OfHeader result) Check if result is multipart.protected boolean
Check if result requests more multiparts.Methods inherited from class org.opendaylight.openflowplugin.impl.services.AbstractMultipartRequestCallback
onSuccess
Methods inherited from class org.opendaylight.openflowplugin.impl.services.AbstractRequestCallback
getEventIdentifier, onFailure, setResult, spyMessage
-
Constructor Details
-
MultiLayerMultipartRequestCallback
public MultiLayerMultipartRequestCallback(RequestContext<List<T>> context, Class<?> requestType, DeviceContext deviceContext, EventIdentifier eventIdentifier)
-
-
Method Details
-
isMultipart
Description copied from class:AbstractMultipartRequestCallback
Check if result is multipart.- Specified by:
isMultipart
in classAbstractMultipartRequestCallback<T extends OfHeader>
- Parameters:
result
- result- Returns:
- true if result is multipart
-
isReqMore
Description copied from class:AbstractMultipartRequestCallback
Check if result requests more multiparts.- Specified by:
isReqMore
in classAbstractMultipartRequestCallback<T extends OfHeader>
- Parameters:
result
- result- Returns:
- true if result requests more multiparts
-