|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.hattrickorganizer.net.MyConnector
public class MyConnector
DOCUMENT ME!
Field Summary | |
---|---|
static java.lang.String |
m_sIDENTIFIER
TODO Missing Parameter Documentation |
Method Summary | |
---|---|
void |
enableProxy()
|
java.lang.String |
fetchRegionID(int teamID)
TODO Missing Method Documentation |
java.lang.String |
getArena()
Fetch our arena |
java.lang.String |
getArena(int arenaId)
Fetch a specific arena |
java.lang.String |
getEconomy()
holt die Finanzen |
Extension |
getEpvVersion()
|
java.io.InputStream |
getFileFromWeb(java.lang.String url,
boolean displaysettingsScreen)
TODO Missing Method Documentation |
java.lang.String |
getHattrickIPAdress()
lädt die IP Adress-Seite |
java.lang.String |
getHattrickXMLFile(java.lang.String file)
downloads an xml File from hattrick |
static java.lang.String |
getHOSite()
|
News |
getLatestNews()
|
double |
getLatestVersion()
|
java.lang.String |
getLeagueDetails()
lädt die Tabelle |
java.lang.String |
getLeagueFixtures(int season,
int ligaID)
lädt den Spielplan |
java.lang.String |
getMatchArchiv(int teamId,
java.lang.String firstDate,
java.lang.String lastDate)
lädt das MatchArchiv als xml |
java.lang.String |
getMatchdetails(int matchId)
lädt den Die Aufstellungsbewertung zu einem Spiel |
java.lang.String |
getMatchesASP(int teamId,
boolean forceRefresh)
lädt die matches.asp seite als xml |
java.lang.String |
getMatchLineup(int matchId,
int teamId)
lädt den Die Aufstellungsbewertung zu einem Spiel |
java.lang.String |
getMatchOrder(int matchId)
lädt den Die Aufstellung zu einem Spiel |
java.lang.String |
getPage(java.lang.String url)
|
java.lang.String |
getPage(java.lang.String surl,
boolean needLogin)
TODO Missing Method Documentation |
java.lang.String |
getPlayersAsp()
holt die Spielerdaten |
java.lang.String |
getProxyHost()
Getter for property m_sProxyHost. |
java.lang.String |
getProxyPort()
Getter for property m_sProxyPort. |
java.lang.String |
getProxyUserName()
Getter for property m_ProxyUserName. |
java.lang.String |
getProxyUserPWD()
Getter for property m_ProxyUserPWD. |
Extension |
getRatingsVersion()
|
static java.lang.String |
getResourceSite()
|
ServerVerweis[] |
getServerList()
holt die Liste der verfügbaren Server aus der I-Net-Server-DB |
java.lang.String |
getTeamdetails(int teamId)
holt die Teamdetails |
java.lang.String |
getTraining()
holt das Training |
java.lang.String |
getTransferCompare(int playerID)
lädt die Tabelle |
java.lang.String |
getUsalWebPage(java.lang.String url,
boolean displaysettingsScreen)
TODO Missing Method Documentation |
java.lang.String |
getUserName()
Getter for property m_sUserName. |
java.lang.String |
getUserPwd()
Getter for property m_sUserPwd. |
java.lang.String |
getVerein()
holt die Vereinsdaten |
java.lang.String |
getWebPage(java.lang.String surl,
boolean needCookie)
TODO Missing Method Documentation |
java.lang.String |
getWorldDetails()
holt die Weltdaten |
boolean |
hasSecLogin()
TODO Missing Method Documentation |
static MyConnector |
instance()
TODO Missing Method Documentation |
boolean |
isAuthenticated()
TODO Missing Method Documentation |
boolean |
isCookieSet()
|
boolean |
isProxyAuthentifactionNeeded()
Getter for property m_bProxyAuthentifactionNeeded. |
boolean |
isUseProxy()
Getter for property m_UseProxy. |
boolean |
login()
|
void |
logout()
TODO Missing Method Documentation |
int |
registerServer(java.lang.String ipAdress,
int port,
java.lang.String info)
registriert einen HO! Friendly Server im Internet |
boolean |
sendAlive(int matchId)
Informiert Inet Db das Friendly-Server weiterhin lauscht |
boolean |
sendSpielbericht(Spielbericht sb,
boolean isServer)
holt die Liste der verfügbaren Server aus der I-Net-Server-DB |
void |
setAuthenticated(boolean value)
um nach einem Fehler zu restten |
void |
setProxyAuthentifactionNeeded(boolean m_bProxyAuthentifactionNeeded)
Setter for property m_bProxyAuthentifactionNeeded. |
void |
setProxyHost(java.lang.String m_sProxyHost)
Setter for property m_sProxyHost. |
void |
setProxyPort(java.lang.String m_sProxyPort)
Setter for property m_sProxyPort. |
void |
setProxyUserName(java.lang.String m_ProxyUserName)
Setter for property m_ProxyUserName. |
void |
setProxyUserPWD(java.lang.String m_ProxyUserPWD)
Setter for property m_ProxyUserPWD. |
void |
setUseProxy(boolean m_UseProxy)
Setter for property m_UseProxy. |
void |
setUserName(java.lang.String m_sUserName)
Setter for property m_sUserName. |
void |
setUserPwd(java.lang.String m_sUserPwd)
Setter for property m_sUserPwd. |
boolean |
unregisterServer(int matchId)
Informiert die DB das der Server nicht mehr zur verfügung steht |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String m_sIDENTIFIER
Method Detail |
---|
public static MyConnector instance()
public static java.lang.String getResourceSite()
public static java.lang.String getHOSite()
public java.lang.String getArena() throws java.io.IOException
java.io.IOException
public java.lang.String getArena(int arenaId) throws java.io.IOException
arenaId
- id of the arena to fetch (-1 = our arena)
java.io.IOException
public void setAuthenticated(boolean value)
value
- TODO Missing Constructuor Parameter Documentationpublic boolean isAuthenticated()
public boolean isCookieSet()
public java.lang.String getEconomy() throws java.io.IOException
java.io.IOException
- TODO Missing Constructuor Exception Documentationpublic java.lang.String getHattrickIPAdress() throws java.io.IOException
java.io.IOException
- TODO Missing Constructuor Exception Documentationpublic java.lang.String getHattrickXMLFile(java.lang.String file) throws java.io.IOException
getHattrickXMLFile
in interface IDownloadHelper
file
- ex. = /common/leagueDetails.asp?outputType=XML&actionType=view
java.io.IOException
- TODO Missing Constructuor Exception Documentationpublic java.lang.String getLeagueDetails() throws java.io.IOException
java.io.IOException
- TODO Missing Constructuor Exception Documentationpublic java.lang.String getLeagueFixtures(int season, int ligaID) throws java.io.IOException
season
- angabe der Saison ( optinal < 1 für aktuelleligaID
- TODO Missing Constructuor Parameter Documentation
java.io.IOException
- TODO Missing Constructuor Exception Documentationpublic java.lang.String getMatchArchiv(int teamId, java.lang.String firstDate, java.lang.String lastDate) throws java.io.IOException
teamId
- TODO Missing Constructuor Parameter DocumentationfirstDate
- TODO Missing Constructuor Parameter DocumentationlastDate
- TODO Missing Constructuor Parameter Documentation
java.io.IOException
- TODO Missing Constructuor Exception Documentationpublic java.lang.String getMatchLineup(int matchId, int teamId) throws java.io.IOException
matchId
- angabe der Saison ( optinal < 1 für aktuelleteamId
- TODO Missing Constructuor Parameter Documentation
java.io.IOException
- TODO Missing Constructuor Exception Documentationpublic java.lang.String getMatchOrder(int matchId) throws java.io.IOException
matchId
- angabe der Saison ( optinal < 1 für aktuelle
java.io.IOException
- TODO Missing Constructuor Exception Documentationpublic java.lang.String getMatchdetails(int matchId) throws java.io.IOException
matchId
- angabe der Saison ( optinal < 1 für aktuelle
java.io.IOException
- TODO Missing Constructuor Exception Documentationpublic java.lang.String getMatchesASP(int teamId, boolean forceRefresh) throws java.io.IOException
teamId
- TODO Missing Constructuor Parameter DocumentationforceRefresh
- TODO Missing Constructuor Parameter Documentation
java.io.IOException
- TODO Missing Constructuor Exception Documentationpublic java.lang.String getPage(java.lang.String url) throws java.io.IOException
java.io.IOException
public java.lang.String getPage(java.lang.String surl, boolean needLogin) throws java.io.IOException
surl
- TODO Missing Method Parameter DocumentationneedLogin
- TODO Missing Method Parameter Documentation
java.io.IOException
- TODO Missing Method Exception Documentationpublic java.lang.String getPlayersAsp() throws java.io.IOException
java.io.IOException
- TODO Missing Constructuor Exception Documentationpublic void setProxyAuthentifactionNeeded(boolean m_bProxyAuthentifactionNeeded)
m_bProxyAuthentifactionNeeded
- New value of property m_bProxyAuthentifactionNeeded.public boolean isProxyAuthentifactionNeeded()
public void setProxyHost(java.lang.String m_sProxyHost)
m_sProxyHost
- New value of property m_sProxyHost.public java.lang.String getProxyHost()
public void setProxyPort(java.lang.String m_sProxyPort)
m_sProxyPort
- New value of property m_sProxyPort.public java.lang.String getProxyPort()
public void setProxyUserName(java.lang.String m_ProxyUserName)
m_ProxyUserName
- New value of property m_ProxyUserName.public java.lang.String getProxyUserName()
public void setProxyUserPWD(java.lang.String m_ProxyUserPWD)
m_ProxyUserPWD
- New value of property m_ProxyUserPWD.public java.lang.String getProxyUserPWD()
public ServerVerweis[] getServerList()
public java.lang.String getTeamdetails(int teamId) throws java.io.IOException
teamId
- TODO Missing Constructuor Parameter Documentation
java.io.IOException
- TODO Missing Constructuor Exception Documentationpublic java.lang.String getTraining() throws java.io.IOException
java.io.IOException
- TODO Missing Constructuor Exception Documentationpublic java.lang.String getTransferCompare(int playerID) throws java.io.IOException
playerID
- TODO Missing Constructuor Parameter Documentation
java.io.IOException
- TODO Missing Constructuor Exception Documentationpublic void setUseProxy(boolean m_UseProxy)
m_UseProxy
- New value of property m_UseProxy.public boolean isUseProxy()
public void setUserName(java.lang.String m_sUserName)
m_sUserName
- New value of property m_sUserName.public java.lang.String getUserName()
public void setUserPwd(java.lang.String m_sUserPwd)
m_sUserPwd
- New value of property m_sUserPwd.public java.lang.String getUserPwd()
public java.lang.String getVerein() throws java.io.IOException
java.io.IOException
- TODO Missing Constructuor Exception Documentationpublic java.lang.String getWebPage(java.lang.String surl, boolean needCookie) throws java.io.IOException
surl
- TODO Missing Method Parameter DocumentationneedCookie
- TODO Missing Method Parameter Documentation
java.io.IOException
- TODO Missing Method Exception Documentationpublic java.lang.String getWorldDetails() throws java.io.IOException
java.io.IOException
- TODO Missing Constructuor Exception Documentationpublic double getLatestVersion()
public Extension getEpvVersion()
public Extension getRatingsVersion()
public News getLatestNews()
public void enableProxy()
public java.lang.String fetchRegionID(int teamID)
fetchRegionID
in interface IDownloadHelper
teamID
- TODO Missing Method Parameter Documentation
public boolean hasSecLogin()
public boolean login() throws java.io.IOException
java.io.IOException
public void logout() throws java.io.IOException
java.io.IOException
- TODO Missing Method Exception Documentationpublic java.io.InputStream getFileFromWeb(java.lang.String url, boolean displaysettingsScreen) throws java.io.IOException
getFileFromWeb
in interface IDownloadHelper
url
- TODO Missing Method Parameter DocumentationdisplaysettingsScreen
- TODO Missing Method Parameter Documentation
java.io.IOException
- TODO Missing Method Exception Documentationpublic java.lang.String getUsalWebPage(java.lang.String url, boolean displaysettingsScreen) throws java.io.IOException
getUsalWebPage
in interface IDownloadHelper
url
- TODO Missing Method Parameter DocumentationdisplaysettingsScreen
- TODO Missing Method Parameter Documentation
java.io.IOException
- TODO Missing Method Exception Documentationpublic int registerServer(java.lang.String ipAdress, int port, java.lang.String info)
ipAdress
- TODO Missing Constructuor Parameter Documentationport
- TODO Missing Constructuor Parameter Documentationinfo
- TODO Missing Constructuor Parameter Documentation
public boolean sendAlive(int matchId)
matchId
- TODO Missing Constructuor Parameter Documentation
public boolean sendSpielbericht(Spielbericht sb, boolean isServer)
sb
- TODO Missing Constructuor Parameter DocumentationisServer
- TODO Missing Constructuor Parameter Documentation
public boolean unregisterServer(int matchId)
matchId
- TODO Missing Constructuor Parameter Documentation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |