org.cdavies.itunes
Class Itunes45Connection
java.lang.Object
|
+--org.cdavies.itunes.Itunes45Connection
- All Implemented Interfaces:
- ItunesConnection
- public class Itunes45Connection
- extends java.lang.Object
- implements ItunesConnection
Constructor Summary |
Itunes45Connection(java.lang.String server,
int port,
java.lang.String serverTitle)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Itunes45Connection
public Itunes45Connection(java.lang.String server,
int port,
java.lang.String serverTitle)
isConnected
public boolean isConnected()
- Specified by:
isConnected
in interface ItunesConnection
disconnect
public void disconnect()
- Specified by:
disconnect
in interface ItunesConnection
refreshConnection
public void refreshConnection()
throws NoServerPermissionException
NoServerPermissionException
connect
public void connect()
throws NoServerPermissionException
- Specified by:
connect
in interface ItunesConnection
NoServerPermissionException
getRequestNumber
public int getRequestNumber()
- Specified by:
getRequestNumber
in interface ItunesConnection
getDatabases
public Database[] getDatabases()
- Specified by:
getDatabases
in interface ItunesConnection
getTracklist
public Track[] getTracklist(int databaseId)
- Specified by:
getTracklist
in interface ItunesConnection
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getServerName
public java.lang.String getServerName()
- Specified by:
getServerName
in interface ItunesConnection
getPort
public int getPort()
- Specified by:
getPort
in interface ItunesConnection
getSessionId
public int getSessionId()
- Specified by:
getSessionId
in interface ItunesConnection