Class AbstractService<I,O>
java.lang.Object
org.opendaylight.openflowplugin.impl.services.AbstractService<I,O>
- Direct Known Subclasses:
AbstractMultipartService
,AbstractSimpleService
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract OfHeader
buildRequest
(Xid xid, I input) boolean
protected abstract com.google.common.util.concurrent.FutureCallback<OfHeader>
createCallback
(RequestContext<O> context, Class<?> requestType) final org.opendaylight.yangtools.yang.common.Uint64
Deprecated.final @NonNull org.opendaylight.yangtools.yang.common.Uint8
@NonNull com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<O>>
handleServiceCall
(@NonNull I input) @NonNull com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<O>>
handleServiceCall
(@NonNull I input, @Nullable Function<OfHeader, Boolean> isComplete) void
setEventIdentifier
(EventIdentifier eventIdentifier)
-
Method Details
-
canUseSingleLayerSerialization
public boolean canUseSingleLayerSerialization() -
getEventIdentifier
-
setEventIdentifier
-
getVersion
public final @NonNull org.opendaylight.yangtools.yang.common.Uint8 getVersion() -
getDatapathId
public final org.opendaylight.yangtools.yang.common.Uint64 getDatapathId() -
getRequestContextStack
-
getDeviceContext
Deprecated. -
getDeviceRegistry
-
getDeviceInfo
-
getTxFacade
-
getMessageSpy
-
buildRequest
- Throws:
ServiceException
-
createCallback
protected abstract com.google.common.util.concurrent.FutureCallback<OfHeader> createCallback(RequestContext<O> context, Class<?> requestType) -
handleServiceCall
-
handleServiceCall
-