|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlive.dto.ConnectionInfo
This class holds information about how to connect to the SMAPI server.
It's stored in each session inside a ThreadInitInfo
object.
Field Summary | |
private String |
hostName
|
private String |
password
|
private int |
portNo
|
private String |
userName
|
Constructor Summary | |
ConnectionInfo(String host,
int port,
String user,
String pass)
Constructs a ConnectionInfo that will login to the specified server with the specified user name and password. |
Method Summary | |
String |
getHostName()
Gets the host name or IP address |
String |
getPassword()
Gets the password |
int |
getPort()
Gets the port number |
String |
getUserName()
Gets the userName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private String userName
private String password
private String hostName
private int portNo
Constructor Detail |
public ConnectionInfo(String host, int port, String user, String pass)
host
- The host name or IP address to connect toport
- The port to connect onuser
- The user name to send SMAPI calls aspass
- The password to send with SMAPI callsMethod Detail |
public String getUserName()
public String getPassword()
public String getHostName()
public int getPort()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |