Class SingleLayerMultipartRequestCallback<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.singlelayer.SingleLayerMultipartRequestCallback<T>
- All Implemented Interfaces:
com.google.common.util.concurrent.FutureCallback<OfHeader>
public class SingleLayerMultipartRequestCallback<T extends OfHeader>
extends AbstractMultipartRequestCallback<T>
-
Constructor Summary
ConstructorDescriptionSingleLayerMultipartRequestCallback
(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
-
SingleLayerMultipartRequestCallback
public SingleLayerMultipartRequestCallback(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
-