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
ConstructorDescriptionSingleLayerFlowMultipartRequestOnTheFlyCallback
(RequestContext<List<T>> context, Class<?> requestType, DeviceContext deviceContext, EventIdentifier eventIdentifier, MultipartWriterProvider statisticsWriterProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected MultipartType
Get multipart type.protected 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.AbstractMultipartRequestOnTheFlyCallback
getTxFacade, onSuccess
Methods inherited from class org.opendaylight.openflowplugin.impl.services.AbstractRequestCallback
getEventIdentifier, onFailure, setResult, spyMessage
-
Constructor Details
-
SingleLayerFlowMultipartRequestOnTheFlyCallback
public SingleLayerFlowMultipartRequestOnTheFlyCallback(RequestContext<List<T>> context, Class<?> requestType, DeviceContext deviceContext, EventIdentifier eventIdentifier, MultipartWriterProvider statisticsWriterProvider)
-
-
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
-
getMultipartType
Description copied from class:AbstractMultipartRequestOnTheFlyCallback
Get multipart type.- Specified by:
getMultipartType
in classAbstractMultipartRequestOnTheFlyCallback<T extends OfHeader>
- Returns:
- multipart type
-