ORG.oclc.opserve.opsmanager
Class  LoadedServer
java.lang.Object
  |
  +--ORG.oclc.opserve.opsmanager.LoadedServer
- public class LoadedServer- extends Object
This class stores the information about a single server for use in
  reading or writing load balancing files.
 
| Constructor Summary | 
| LoadedServer(String line)Initializes a LoadedServer from a line in the load balancing file.
 | 
| LoadedServer(String id,
             String host,
             int sPort,
             int operPort,
             int lf)Initializes a LoadedServer.
 | 
 
| Method Summary | 
|  String | toString()Convers the LoadedServer to String appropriate for output in a
  load balancing file.
 | 
 
 
hostID
public String hostID
hostname
public String hostname
serverPort
public int serverPort
opPort
public int opPort
loadFactor
public int loadFactor
LoadedServer
public LoadedServer(String line)
             throws Exception
- Initializes a LoadedServer from a line in the load balancing file.- 
- Parameters:
- line- The line from the load balancing file.
 
LoadedServer
public LoadedServer(String id,
                    String host,
                    int sPort,
                    int operPort,
                    int lf)
- Initializes a LoadedServer.- 
- Parameters:
- id- Host id used in the JaSSI URL.
- host- Name of the host corresponding to the id.
- operPort- Operations port number.
- sPort- Server port number.
- lf- Load Factor.
 
toString
public String toString()
- Convers the LoadedServer to String appropriate for output in a
  load balancing file.- 
- Returns:
- LoadedServer in String form.
- Overrides:
- toString in class Object