|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--edu.vt.marian.uip.uip_server
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 |
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)
public uip_server(java.lang.String filename,
edu.vt.marian.common.Debug debug)
public uip_server(java.io.BufferedReader br,
edu.vt.marian.common.Debug debug)
| Method Detail |
public java.lang.String get_hostname()
public int get_port()
public java.lang.String set_ip_address(java.lang.String ip_address)
public java.lang.String get_ip_address()
public java.lang.String set_short_description(java.lang.String short_des)
public java.lang.String get_short_description()
public java.lang.String set_long_description(java.lang.String long_des)
public java.lang.String get_long_description()
public java.lang.String equals(uip_server us)
public java.lang.String to_stream(java.io.PrintWriter pw)
public java.lang.String save(java.lang.String filename)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||