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
Constructors Constructor Description MultiLayerMultipartRequestCallback(RequestContext<List<T>> context, Class<?> requestType, DeviceContext deviceContext, EventIdentifier eventIdentifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isMultipart(OfHeader result)
Check if result is multipart.protected boolean
isReqMore(T result)
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 Detail
-
MultiLayerMultipartRequestCallback
public MultiLayerMultipartRequestCallback(RequestContext<List<T>> context, Class<?> requestType, DeviceContext deviceContext, EventIdentifier eventIdentifier)
-
-
Method Detail
-
isMultipart
protected boolean isMultipart(OfHeader result)
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
protected boolean isReqMore(T result)
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
-
-