rath.msnm.entity
Class ServerInfo

java.lang.Object
  |
  +--rath.msnm.entity.ServerInfo

public class ServerInfo
extends Object

XFRµîÀÇ Á¢¼ÓÇؾßÇÒ ¼­¹ö°¡ referredµÉ¶§¸¶´Ù ¿ø°Ý ¼­¹öÀÇ À§Ä¡Á¤º¸¸¦ ³ªÅ¸³»´Â entity classÀÌ´Ù.

Version:
$Id: ServerInfo.java,v 1.1.1.1 2002/03/03 21:32:36 xrath Exp $, since 2001/11/07
Author:
Jang-Ho Hwang, rath@xrath.com

Field Summary
static int DEFAULT_PORT
          Default port number for DS(Dispatch server) and SS(Switchboard server)
 
Constructor Summary
ServerInfo(String host)
          ÁÖ¾îÁø host¿Í DEFAULT_PORT¸¦ °¡Áö´Â ServerInfo °´Ã¼¸¦ »ý¼ºÇÑ´Ù.
ServerInfo(String host, int port)
          ÁÖ¾îÁø host¿Í port¸¦ °¡Áö´Â ServerInfo °´Ã¼¸¦ »ý¼ºÇÑ´Ù.
 
Method Summary
static ServerInfo getDefaultDispatchServerInfo()
          2001³â 11¿ù 7ÀÏ ÇöÀç MSN messengerÀÇ DS(Dispatch Server)ÀÇ Host¿Í port¸¦ °¡Áö´Â ServerInfo°´Ã¼¸¦ »ý¼ºÇÏ¿© ¹ÝȯÇØÁØ´Ù.
 String getHostAddress()
           
 int getPort()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_PORT

public static final int DEFAULT_PORT
Default port number for DS(Dispatch server) and SS(Switchboard server)

See Also:
Constant Field Values
Constructor Detail

ServerInfo

public ServerInfo(String host)
ÁÖ¾îÁø host¿Í DEFAULT_PORT¸¦ °¡Áö´Â ServerInfo °´Ã¼¸¦ »ý¼ºÇÑ´Ù.


ServerInfo

public ServerInfo(String host,
                  int port)
ÁÖ¾îÁø host¿Í port¸¦ °¡Áö´Â ServerInfo °´Ã¼¸¦ »ý¼ºÇÑ´Ù.

Method Detail

getHostAddress

public String getHostAddress()

getPort

public int getPort()

getDefaultDispatchServerInfo

public static ServerInfo getDefaultDispatchServerInfo()
2001³â 11¿ù 7ÀÏ ÇöÀç MSN messengerÀÇ DS(Dispatch Server)ÀÇ Host¿Í port¸¦ °¡Áö´Â ServerInfo°´Ã¼¸¦ »ý¼ºÇÏ¿© ¹ÝȯÇØÁØ´Ù.

Returns:
Default DS ServerInfo instance of MSN messenger.

toString

public String toString()
Overrides:
toString in class Object