org.netxms.client.objects
Class ClusterResource

java.lang.Object
  extended by org.netxms.client.objects.ClusterResource

public class ClusterResource
extends java.lang.Object

This class represents single cluster resource


Constructor Summary
protected ClusterResource(NXCPMessage msg, long baseId)
          Create cluster resource object from NXCP message
 
Method Summary
 long getCurrentOwner()
           
 long getId()
           
 java.lang.String getName()
           
 java.net.InetAddress getVirtualAddress()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusterResource

protected ClusterResource(NXCPMessage msg,
                          long baseId)
Create cluster resource object from NXCP message

Parameters:
msg - NXCP message
baseId - Base variable ID
Method Detail

getId

public long getId()
Returns:
the id

getName

public java.lang.String getName()
Returns:
the name

getVirtualAddress

public java.net.InetAddress getVirtualAddress()
Returns:
the virtualAddress

getCurrentOwner

public long getCurrentOwner()
Returns:
the currentOwner


Copyright © 2011. All Rights Reserved.