edu.vt.marian.uip
Class uip_server

java.lang.Object
  |
  +--edu.vt.marian.uip.uip_server

public class uip_server
extends java.lang.Object

Class name: uip_server Class description: this class contains information about a uip server Author: Jianxin Zhao Finished time: ????, 1998 Known bugs: none Platform: jdk1.1.5 under UNIX


Constructor Summary
uip_server(java.io.BufferedReader br, edu.vt.marian.common.Debug debug)
          this constructor will create an uip_server object from a stream, this might be helpful for remote management in the future
uip_server(java.lang.String filename, edu.vt.marian.common.Debug debug)
          this constructor will create a uip server object from the specified file
uip_server(java.lang.String hostname, int port, java.lang.String short_des, java.lang.String long_des, edu.vt.marian.common.Debug debug)
          this constructor will create an uip_server object based on the hostname, port short description and lng description provided, note long description maybe a link to the server site
 
Method Summary
 java.lang.String equals(uip_server us)
          this method will tell whether or not the specified uip server and this one are pointing to the same server
 java.lang.String get_hostname()
          this method will return the hostmname of this uip server
 java.lang.String get_ip_address()
          this method will return the ip address of this uip server (not implemented yet)
 java.lang.String get_long_description()
          this method will return the long description of this uip server note that long description maybe a link to the server site since it's most likely that the full description about the serve can be found there
 int get_port()
          this method will return the port number of this uip server
 java.lang.String get_short_description()
          this method will return the short description of this uip server
 java.lang.String save(java.lang.String filename)
          this method will save the content of this object to the specified file
 java.lang.String set_ip_address(java.lang.String ip_address)
          this method will set the ip address for the uip server (not implemented yet)
 java.lang.String set_long_description(java.lang.String long_des)
          this method will set the long description (may be a link to serve site) for the uip server
 java.lang.String set_short_description(java.lang.String short_des)
          this method will set the short description for the uip server
 java.lang.String to_stream(java.io.PrintWriter pw)
          this method will print the content of this object to a stream, this might be helpful for remote management in the future
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

uip_server

public uip_server(java.lang.String hostname,
                  int port,
                  java.lang.String short_des,
                  java.lang.String long_des,
                  edu.vt.marian.common.Debug debug)
this constructor will create an uip_server object based on the hostname, port short description and lng description provided, note long description maybe a link to the server site

uip_server

public uip_server(java.lang.String filename,
                  edu.vt.marian.common.Debug debug)
this constructor will create a uip server object from the specified file

uip_server

public uip_server(java.io.BufferedReader br,
                  edu.vt.marian.common.Debug debug)
this constructor will create an uip_server object from a stream, this might be helpful for remote management in the future
Method Detail

get_hostname

public java.lang.String get_hostname()
this method will return the hostmname of this uip server

get_port

public int get_port()
this method will return the port number of this uip server

set_ip_address

public java.lang.String set_ip_address(java.lang.String ip_address)
this method will set the ip address for the uip server (not implemented yet)

get_ip_address

public java.lang.String get_ip_address()
this method will return the ip address of this uip server (not implemented yet)

set_short_description

public java.lang.String set_short_description(java.lang.String short_des)
this method will set the short description for the uip server

get_short_description

public java.lang.String get_short_description()
this method will return the short description of this uip server

set_long_description

public java.lang.String set_long_description(java.lang.String long_des)
this method will set the long description (may be a link to serve site) for the uip server

get_long_description

public java.lang.String get_long_description()
this method will return the long description of this uip server note that long description maybe a link to the server site since it's most likely that the full description about the serve can be found there

equals

public java.lang.String equals(uip_server us)
this method will tell whether or not the specified uip server and this one are pointing to the same server

to_stream

public java.lang.String to_stream(java.io.PrintWriter pw)
this method will print the content of this object to a stream, this might be helpful for remote management in the future

save

public java.lang.String save(java.lang.String filename)
this method will save the content of this object to the specified file