98e58fc22ccc4eea63047ae9b0e292aac9651359
[ccsdk/apps.git] / sdnr / wireless-transport / code-Carbon-SR1 / apps / websocketmanager / impl / src / main / java / org / opendaylight / mwtn / impl / utils / Utils.java
1 /*
2 * Copyright (c) 2016 Wipro Ltd. and others. All rights reserved.
3 *
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
7 */
8
9 package org.opendaylight.mwtn.impl.utils;
10
11 import java.util.HashMap;
12
13 import org.opendaylight.mwtn.impl.dto.UserDto;
14
15 import io.netty.channel.ChannelHandlerContext;
16
17 public class Utils {
18
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>();
26
27         public static enum SCOPE {
28                 ObjectCreationNotification, ObjectDeletionNotification, AttributeValueChangedNotification, ProblemNotification
29         };
30
31 }