c3b0549e05b1da7a72f1be2248764441bfbb1c15
[public/netxms.git] / src / java / netxms-client / src / main / java / org / netxms / client / objects / Node.java
1 /**
2 * NetXMS - open source network management system
3 * Copyright (C) 2003-2013 Victor Kirhenshtein
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 */
19 package org.netxms.client.objects;
20
21 import org.netxms.base.NXCPMessage;
22 import org.netxms.client.NXCSession;
23
24 /**
25 * This class represents NetXMS NODE objects.
26 */
27 public class Node extends AbstractNode
28 {
29 /**
30 * Create new node object.
31 *
32 * @param id
33 * @param session
34 */
35 public Node(long id, NXCSession session)
36 {
37 super(id, session);
38 }
39
40 /**
41 * Create node object from NXCP message.
42 *
43 * @param msg
44 * @param session
45 */
46 public Node(NXCPMessage msg, NXCSession session)
47 {
48 super(msg, session);
49 }
50
51 /* (non-Javadoc)
52 * @see org.netxms.client.objects.GenericObject#getObjectClassName()
53 */
54 @Override
55 public String getObjectClassName()
56 {
57 return "Node";
58 }
59 }