Class AbstractMultipartRequestOnTheFlyCallback<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>
-
- All Implemented Interfaces:
com.google.common.util.concurrent.FutureCallback<OfHeader>
- Direct Known Subclasses:
MultiLayerFlowMultipartRequestOnTheFlyCallback
,SingleLayerFlowMultipartRequestOnTheFlyCallback
public abstract class AbstractMultipartRequestOnTheFlyCallback<T extends OfHeader> extends AbstractMultipartRequestCallback<T>
-
-
Constructor Summary
Constructors Constructor Description AbstractMultipartRequestOnTheFlyCallback(RequestContext<List<T>> context, Class<?> requestType, DeviceContext deviceContext, EventIdentifier eventIdentifier, MultipartWriterProvider statisticsWriterProvider, ConvertorExecutor convertorExecutor)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract MultipartType
getMultipartType()
Get multipart type.protected TxFacade
getTxFacade()
Get tx facade.void
onSuccess(OfHeader result)
-
Methods inherited from class org.opendaylight.openflowplugin.impl.services.AbstractMultipartRequestCallback
isMultipart, isReqMore
-
Methods inherited from class org.opendaylight.openflowplugin.impl.services.AbstractRequestCallback
getEventIdentifier, onFailure, setResult, spyMessage
-
-
-
-
Constructor Detail
-
AbstractMultipartRequestOnTheFlyCallback
public AbstractMultipartRequestOnTheFlyCallback(RequestContext<List<T>> context, Class<?> requestType, DeviceContext deviceContext, EventIdentifier eventIdentifier, MultipartWriterProvider statisticsWriterProvider, ConvertorExecutor convertorExecutor)
-
-
Method Detail
-
onSuccess
public void onSuccess(OfHeader result)
-
getTxFacade
protected TxFacade getTxFacade()
Get tx facade.- Returns:
- tx facade
-
getMultipartType
protected abstract MultipartType getMultipartType()
Get multipart type.- Returns:
- multipart type
-
-