Class: ItunesController::CommandName

Inherits:
Object
  • Object
show all
Defined in:
lib/itunesController/controllserver.rb

Overview

Used to store the command names used in the server

Constant Summary collapse

HELO =

The HELO command is used to check that the server is respoinding

"HELO"
QUIT =

The QUIT command caused the client to disconnect

"QUIT"
LOGIN =

The login command taks the format LOGIN:<username> and causes the server to prompt for a password. This command is used to start the user login process

"LOGIN"
PASSWORD =

The password command takes the format PASSWORD:<password> and is used to log the user in if the username and password are correct.

"PASSWORD"
FILE =

The file command is used to tell the server about files that should be worked on. These files are the path as they are found on the server. This command takes the format FILE:<filename>

"FILE"
CLEARFILES =

This command is used to remove and registerd files that were registerd with the FILE command.

"CLEARFILES"
ADDFILES =

This command is used to add files registered with the FILE command to itunes then clear the file list.

"ADDFILES"
REMOVEFILES =

This command is used to remove files registered with the FILE command from the itunes library then clear the file list.

"REMOVEFILES"
REMOVEDEADFILES =

This command will remove any files in the itunes library where the path points at a file that does not exist.

"REMOVEDEADFILES"
REFRESHFILES =

This command is used to tell iTunes to refresh the metadata from the file of files registered with the FILE command from the itunes library then clear the file list.

"REFRESHFILES"
VERSION =

This command is used to get version information

"VERSION"