org.gridbus.broker.constants
Class LocationType

java.lang.Object
  extended by org.gridbus.broker.constants.LocationType

public final class LocationType
extends java.lang.Object

Author:
krishna

Field Summary
static int LOCAL
          LocationType LOCAL implies the broker node
static int NODE
          LocationType NODE implies the compute node
static int REMOTE
          LocationType REMOTE implies any remote node other than the broker and the compute node
 
Constructor Summary
LocationType()
           
 
Method Summary
static int intValue(java.lang.String location)
           
static java.lang.String stringValue(int location)
          Returns the string value of the given location
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCAL

public static final int LOCAL
LocationType LOCAL implies the broker node

See Also:
Constant Field Values

NODE

public static final int NODE
LocationType NODE implies the compute node

See Also:
Constant Field Values

REMOTE

public static final int REMOTE
LocationType REMOTE implies any remote node other than the broker and the compute node

See Also:
Constant Field Values
Constructor Detail

LocationType

public LocationType()
Method Detail

stringValue

public static java.lang.String stringValue(int location)
Returns the string value of the given location

Parameters:
location -
Returns:

intValue

public static int intValue(java.lang.String location)
Parameters:
location -
Returns:

Copyright © The University of Melbourne. 2006