Class AbstractService<I,O>
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.services.AbstractService<I,O>
-
- Direct Known Subclasses:
AbstractMultipartService,AbstractSimpleService,AbstractVoidService
public abstract class AbstractService<I,O> extends Object
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected abstract OfHeaderbuildRequest(Xid xid, I input)booleancanUseSingleLayerSerialization()protected abstract com.google.common.util.concurrent.FutureCallback<OfHeader>createCallback(RequestContext<O> context, Class<?> requestType)org.opendaylight.yangtools.yang.common.Uint64getDatapathId()DeviceContextgetDeviceContext()Deprecated.DeviceInfogetDeviceInfo()DeviceRegistrygetDeviceRegistry()EventIdentifiergetEventIdentifier()MessageSpygetMessageSpy()RequestContextStackgetRequestContextStack()TxFacadegetTxFacade()shortgetVersion()com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<O>>handleServiceCall(@NonNull I input)com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<O>>handleServiceCall(@NonNull I input, @Nullable Function<OfHeader,Boolean> isComplete)voidsetEventIdentifier(EventIdentifier eventIdentifier)
-
-
-
Method Detail
-
canUseSingleLayerSerialization
public boolean canUseSingleLayerSerialization()
-
getEventIdentifier
public EventIdentifier getEventIdentifier()
-
setEventIdentifier
public void setEventIdentifier(EventIdentifier eventIdentifier)
-
getVersion
public short getVersion()
-
getDatapathId
public org.opendaylight.yangtools.yang.common.Uint64 getDatapathId()
-
getRequestContextStack
public RequestContextStack getRequestContextStack()
-
getDeviceContext
@Deprecated public DeviceContext getDeviceContext()
Deprecated.
-
getDeviceRegistry
public DeviceRegistry getDeviceRegistry()
-
getDeviceInfo
public DeviceInfo getDeviceInfo()
-
getTxFacade
public TxFacade getTxFacade()
-
getMessageSpy
public MessageSpy getMessageSpy()
-
buildRequest
protected abstract OfHeader buildRequest(Xid xid, I input) throws ServiceException
- Throws:
ServiceException
-
createCallback
protected abstract com.google.common.util.concurrent.FutureCallback<OfHeader> createCallback(RequestContext<O> context, Class<?> requestType)
-
handleServiceCall
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<O>> handleServiceCall(@NonNull I input)
-
-