public interface DeviceContext extends OFPContext, DeviceReplyProcessor, TxFacade, DeviceRegistry, RequestContextStack, ContextChainStateListener
| 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.controller.md.sal.binding.api.NotificationPublishService notificationPublishService)
Sets notification publish service.
|
void |
updatePacketInRateLimit(long upperBound)
change packetIn rate limiter borders.
|
close, getDeviceInfo, registerMastershipWatchercloseServiceInstance, instantiateServiceInstanceprocessAlienMessage, processExperimenterMessage, processFlowRemovedMessage, processPacketInMessage, processPortStatusMessage, processReply, processReplyaddDeleteToTxChain, getReadTransaction, isTransactionsEnabled, submitTransaction, syncSubmitTransaction, writeToTransaction, writeToTransactionWithParentsSlowgetDeviceFlowRegistry, getDeviceGroupRegistry, getDeviceMeterRegistrycreateRequestContextonStateAcquiredDeviceState getDeviceState()
DeviceStateConnectionContext getPrimaryConnectionContext()
TranslatorLibrary oook()
void setNotificationPublishService(org.opendaylight.controller.md.sal.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 © 2019 OpenDaylight. All rights reserved.