public interface DeviceContext extends OFPContext, DeviceReplyProcessor, TxFacade, DeviceRegistry, RequestContextStack, ContextChainStateListener, DeviceInitializationContext
Modifier and Type | Method and Description |
---|---|
boolean |
canUseSingleLayerSerialization()
Checks if device and controller supports single layer serialization.
|
DeviceState |
getDeviceState()
Method provides state of device represented by this device context.
|
MessageSpy |
getMessageSpy()
Gets message spy.
|
<T extends OfHeader> |
getMultiMsgCollector(RequestContext<List<T>> requestContext)
Gets multi msg collector.
|
ConnectionContext |
getPrimaryConnectionContext()
Getter.
|
boolean |
initialSubmitTransaction()
Method for initial submit transaction after successful initial gathering.
|
void |
onPublished()
Indicates that device context is fully published (e.g.: packetIn messages should be passed).
|
TranslatorLibrary |
oook()
Getter.
|
void |
setNotificationPublishService(org.opendaylight.mdsal.binding.api.NotificationPublishService notificationPublishService)
Sets notification publish service.
|
void |
updatePacketInRateLimit(long upperBound)
change packetIn rate limiter borders.
|
close, getDeviceInfo, registerMastershipWatcher
closeServiceInstance, instantiateServiceInstance
processAlienMessage, processExperimenterMessage, processFlowRemovedMessage, processPacketInMessage, processPortStatusMessage, processReply, processReply
acquireWriteTransactionLock, addDeleteToTxChain, getReadTransaction, isTransactionsEnabled, releaseWriteTransactionLock, submitTransaction, syncSubmitTransaction, writeToTransaction, writeToTransactionWithParentsSlow
getDeviceFlowRegistry, getDeviceGroupRegistry, getDeviceMeterRegistry
createRequestContext
onStateAcquired
initializeDevice
DeviceState getDeviceState()
DeviceState
ConnectionContext getPrimaryConnectionContext()
TranslatorLibrary oook()
void setNotificationPublishService(org.opendaylight.mdsal.binding.api.NotificationPublishService notificationPublishService)
notificationPublishService
- the notification publish serviceMessageSpy getMessageSpy()
<T extends OfHeader> MultiMsgCollector<T> getMultiMsgCollector(RequestContext<List<T>> requestContext)
T
- the type parameterrequestContext
- the request contextvoid onPublished()
void updatePacketInRateLimit(long upperBound)
upperBound
- max amount of outstanding packetInsboolean canUseSingleLayerSerialization()
boolean initialSubmitTransaction()
Copyright © 2020 OpenDaylight. All rights reserved.