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.4 2002/03/16 17:44:30 xrath Exp $
Author:
Jang-Ho Hwang, rath@linuxkorea.co.kr

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()
          Deprecated. »õ·Î¿î MSN¿¡¼­´Â DS¸¦ ÇÊ¿ä·Î ÇÏÁö ¾Ê´Â ±¸Á¶À̹ǷΠ»ç¿ëÇÏÁö ¾Ê´Â´Ù.
static ServerInfo getDefaultServerInfo()
           
 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()
Deprecated. »õ·Î¿î MSN¿¡¼­´Â DS¸¦ ÇÊ¿ä·Î ÇÏÁö ¾Ê´Â ±¸Á¶À̹ǷΠ»ç¿ëÇÏÁö ¾Ê´Â´Ù.

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

Returns:
Default DS ServerInfo instance of MSN messenger.

getDefaultServerInfo

public static ServerInfo getDefaultServerInfo()

toString

public String toString()
Overrides:
toString in class Object