org.swhite.daap
Class Logout

java.lang.Object
  extended byorg.swhite.daap.Logout

public class Logout
extends java.lang.Object

Created on Thursday Jan 01, 2004

Author:
Steve White

Constructor Summary
Logout(java.lang.String hostname, int sessionID)
          Constructs a new Logout with default port of 3689
Logout(java.lang.String hostname, int port, int sessionID)
          Constructs a new Logout
Logout(java.net.URL url)
          Constructs a new Logout with the data from the specified URL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Logout

public Logout(java.net.URL url)
       throws java.io.IOException,
              ParserException
Constructs a new Logout with the data from the specified URL.

Parameters:
url - URL containing the Logout, e.g. http://localhost:3689/login

Logout

public Logout(java.lang.String hostname,
              int sessionID)
       throws java.io.IOException,
              java.net.MalformedURLException,
              ParserException
Constructs a new Logout with default port of 3689

Parameters:
hostname - The hostname of the daap server
sessionID - The Session ID from LoginResponse

Logout

public Logout(java.lang.String hostname,
              int port,
              int sessionID)
       throws java.io.IOException,
              java.net.MalformedURLException,
              ParserException
Constructs a new Logout

Parameters:
hostname - The hostname of the daap server
sessionID - The Session ID from LoginResponse
port - The port number the daap server is listening on