public class PceWebTopovMessageHandler extends UiMessageHandler
| Modifier and Type | Field and Description |
|---|---|
protected DeviceService |
deviceService |
protected PceService |
pceService |
protected TopologyService |
topologyService |
protected TunnelService |
tunnelService |
| Constructor and Description |
|---|
PceWebTopovMessageHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<RequestHandler> |
createRequestHandlers()
Subclasses must create and return the collection of request handlers
for the message types they handle.
|
void |
destroy()
Destroys the message handler context.
|
void |
init(UiConnection connection,
org.onlab.osgi.ServiceDirectory directory)
Initializes the handler with the user interface connection and
service directory context.
|
arrayNode, connection, directory, get, messageTypes, objectNode, process, sendMessageprotected TopologyService topologyService
protected TunnelService tunnelService
protected PceService pceService
protected DeviceService deviceService
public void init(UiConnection connection, org.onlab.osgi.ServiceDirectory directory)
UiMessageHandlerinit in class UiMessageHandlerconnection - user interface connectiondirectory - service directoryprotected Collection<RequestHandler> createRequestHandlers()
UiMessageHandler
Note that request handlers should be stateless. When we are
destroyed, we will simply drop our references to them
and allow them to be garbage collected.
createRequestHandlers in class UiMessageHandlerpublic void destroy()
UiMessageHandlerdestroy in class UiMessageHandler