|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fxcm.external.api.transport.FXCMLoginProperties
public class FXCMLoginProperties
minimal login properties are in the consructor, additional optional properties are available via setters.
| Constructor Summary | |
|---|---|
FXCMLoginProperties(String aUserName,
String aPassword,
String aTerminal,
String aServer)
These are the minimal requirements for a succesful connection, other properties of this class are optional. |
|
FXCMLoginProperties(String aUserName,
String aPassword,
String aTerminal,
String aServer,
String aConfigFile)
These are the minimal requirements for a succesful connection plus the path to a config file with other properties. |
|
| Method Summary | |
|---|---|
void |
addProperty(Object aKey,
Object aValue)
|
String |
getPassword()
Password associated with this properties class |
Properties |
getProperties()
Properties associated with this properties class |
String |
getServer()
Server name registered in this properties class |
String |
getServiceName()
|
String |
getTerminal()
Terminal registered in this properties class |
String |
getUserName()
Username registered in this properties class |
void |
setProperties(Properties aProperties)
Set the properties associated with this login connection |
void |
setServiceName(String aServiceName)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FXCMLoginProperties(String aUserName,
String aPassword,
String aTerminal,
String aServer)
aUserName - like "user"aPassword - like "pass"aTerminal - like "demo"aServer - like "server.fxcm.com:7777"
public FXCMLoginProperties(String aUserName,
String aPassword,
String aTerminal,
String aServer,
String aConfigFile)
aUserName - like "user"aPassword - like "pass"aTerminal - like "demo"aServer - like "server.fxcm.com:7777"aConfigFile - path to configfile cfg\test.cfg| Method Detail |
|---|
public void addProperty(Object aKey,
Object aValue)
public String getPassword()
public Properties getProperties()
throws IOException
IOExceptionpublic void setProperties(Properties aProperties)
aProperties - public String getServer()
public String getServiceName()
public void setServiceName(String aServiceName)
public String getTerminal()
public String getUserName()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||