Class SingleLayerFlowMultipartRequestOnTheFlyCallback<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.AbstractMultipartRequestOnTheFlyCallback<T>
-
- org.opendaylight.openflowplugin.impl.services.singlelayer.SingleLayerFlowMultipartRequestOnTheFlyCallback<T>
-
- All Implemented Interfaces:
com.google.common.util.concurrent.FutureCallback<OfHeader>
public class SingleLayerFlowMultipartRequestOnTheFlyCallback<T extends OfHeader> extends AbstractMultipartRequestOnTheFlyCallback<T>
-
-
Constructor Summary
Constructors Constructor Description SingleLayerFlowMultipartRequestOnTheFlyCallback(RequestContext<List<T>> context, Class<?> requestType, DeviceContext deviceContext, EventIdentifier eventIdentifier, MultipartWriterProvider statisticsWriterProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MultipartType
getMultipartType()
Get multipart type.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.AbstractMultipartRequestOnTheFlyCallback
getTxFacade, onSuccess
-
Methods inherited from class org.opendaylight.openflowplugin.impl.services.AbstractRequestCallback
getEventIdentifier, onFailure, setResult, spyMessage
-
-
-
-
Constructor Detail
-
SingleLayerFlowMultipartRequestOnTheFlyCallback
public SingleLayerFlowMultipartRequestOnTheFlyCallback(RequestContext<List<T>> context, Class<?> requestType, DeviceContext deviceContext, EventIdentifier eventIdentifier, MultipartWriterProvider statisticsWriterProvider)
-
-
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
-
getMultipartType
protected MultipartType getMultipartType()
Description copied from class:AbstractMultipartRequestOnTheFlyCallback
Get multipart type.- Specified by:
getMultipartType
in classAbstractMultipartRequestOnTheFlyCallback<T extends OfHeader>
- Returns:
- multipart type
-
-