|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--rath.msnm.entity.ServerInfo
XFR등의 접속해야할 서버가 referred될때마다 원격 서버의 위치정보를 나타내는 entity class이다.
| 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 |
public static final int DEFAULT_PORT
| Constructor Detail |
public ServerInfo(String host)
public ServerInfo(String host,
int port)
| Method Detail |
public String getHostAddress()
public int getPort()
public static ServerInfo getDefaultDispatchServerInfo()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||