2 * Copyright (c) 2016 Wipro Ltd. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.mwtn.impl.utils;
11 import java.util.HashMap;
13 import org.opendaylight.mwtn.impl.dto.UserDto;
15 import io.netty.channel.ChannelHandlerContext;
19 public static final String MSG_KEY_DATA = "data";
20 public static final String MSG_KEY_SCOPES = "scopes";
21 public static final String MSG_KEY_PARAM = "param";
22 public static final String MSG_KEY_VALUE = "value";
23 public static final String MSG_KEY_SCOPE = "scope";
24 public static HashMap<String, UserDto> hmClientScopes = new HashMap<String, UserDto>();
25 public static HashMap<String, ChannelHandlerContext> hmChannelContexts = new HashMap<String, ChannelHandlerContext>();
27 public static enum SCOPE {
28 ObjectCreationNotification, ObjectDeletionNotification, AttributeValueChangedNotification, ProblemNotification