org.gridbus.broker.farming.common
Class Server

java.lang.Object
  extended by org.gridbus.broker.farming.common.Server
Direct Known Subclasses:
ComputeServer, DataHost, StorageServer

public abstract class Server
extends java.lang.Object

Author:
krishna

Constructor Summary
Server()
           
 
Method Summary
 java.lang.String getHostname()
          Returns the hostname.
 java.lang.String getServerID()
          Returns the Unique ID of this server.
 void setHostname(java.lang.String hostname)
           
 void setServerID(java.lang.String string)
          Sets the server ID
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Server

public Server()
Method Detail

getHostname

public java.lang.String getHostname()
Returns the hostname.

Returns:
String

setHostname

public void setHostname(java.lang.String hostname)
Parameters:
hostname - The hostname to set.

getServerID

public java.lang.String getServerID()
Returns the Unique ID of this server.

Returns:
serverID

setServerID

public void setServerID(java.lang.String string)
Sets the server ID

Parameters:
string -