SoftwarePractice.org: Home | Courseware | Wiki | Archive

B4:Design Specifications

From SoftwarePractice.org

Contents

Data

Description
This Class is responsible for retriving the user details from the object array given from the Serialisation Class and assigning the individual attributes to unique variable which are altered and or retrieved through public methods.

Image:B4_DesignSpecs_Data_addUser.jpg

Image:B4_DesignSpecs_Data_commitUserChanges.jpg

Image:B4_DesignSpecs_Data_deleteUser.jpg

Image:B4_DesignSpecs_Data_extract.jpg

Image:B4_DesignSpecs_Data_getUserData.jpg

Image:B4_DesignSpecs_Data_listUsers.jpg


FileSystem

Description
This Class is responsible for server side file and folder interaction associated with the requirement for the program to be able to browse, create and delete folders of the residing filesystem.

Image:B4_DesignSpecs_FileSystem_checkDirExists.jpg

Image:B4_DesignSpecs_FileSystem_checkFileExists.jpg

Image:B4_DesignSpecs_FileSystem_createDir.jpg

Image:B4_DesignSpecs_FileSystem_deleteDirFile.jpg

Image:B4_DesignSpecs_FileSystem_getFolderList.jpg

Image:B4_DesignSpecs_FileSystem_listCurrentDir.jpg

Image:B4_DesignSpecs_FileSystem_moveDirFile.jpg


GUI

Description
This class handles all the calls made by the Graphical User Interface (GUI) Forms such as MainForm. It then makes a HTTP request to the HTTP Server instructing it what to do.

Image:B4_DesignSpecs_GUI_checkLogin.jpg

Image:B4_DesignSpecs_GUI_getRootFolder.jpg

Image:B4_DesignSpecs_GUI_loadMedia.jpg

Image:B4_DesignSpecs_GUI_pause.jpg

Image:B4_DesignSpecs_GUI_play.jpg

Image:B4_DesignSpecs_GUI_resumePlayback.jpg

Image:B4_DesignSpecs_GUI_setRootFolder.jpg

Image:B4_DesignSpecs_GUI_setVolume.jpg

Image:B4_DesignSpecs_GUI_stop.jpg


Playlist

Description
This class is responsible for creation, deletion and manipulation of Playlists.

Image:B4_DesignSpecs_Playlist_add.jpg

Image:B4_DesignSpecs_Playlist_delete.jpg

Image:B4_DesignSpecs_Playlist_delete2.jpg

Image:B4_DesignSpecs_Playlist_getPlaylist.jpg


Image:B4_DesignSpecs_Playlist_getTrack.jpg

Image:B4_DesignSpecs_Playlist_readPlaylist.jpg


Image:B4_DesignSpecs_Playlist_savePlaylist.jpg

Image:B4_DesignSpecs_Playlist_getPlaylists.png

ReMediaControl

Description
This class controls the BasicPlayer set of classes provided courtesy of www.javazoom.net an open source project. By controlling the BasicPlayer and BasicController classes in particular this clas give the reMedia project playback of mp3 functionality and subsequent media controls. This class is instantiated as reMediaPlayer on the server side of 'ReMedia'.

Image:B4_DesignSpecs_ReMediaControl_getCurrentMediaTime.jpg

Image:B4_DesignSpecs_ReMediaControl_getCurrentMediaTimePercentage.jpg

Image:B4_DesignSpecs_ReMediaControl_getPlayTime.jpg

Image:B4_DesignSpecs_ReMediaControl_getVolume.jpg

Image:B4_DesignSpecs_ReMediaControl_loadMediaFile.jpg

Image:B4_DesignSpecs_ReMediaControl_pause.jpg

Image:B4_DesignSpecs_ReMediaControl_play.jpg

Image:B4_DesignSpecs_ReMediaControl_resume.jpg

Image:B4_DesignSpecs_ReMediaControl_setDurationVariable.jpg

Image:B4_DesignSpecs_ReMediaControl_setVolume.jpg

Image:B4_DesignSpecs_ReMediaControl_stop.jpg


Serialisation

Description
This Class is used to read and write to files in particular the User.db database file to read and write userdata such as usernameData, passwordData, isAdminData, homeDir.

Image:B4_DesignSpecs_Serialisation_readData.jpg

Image:B4_DesignSpecs_Serialisation_writeData.jpg


Track

Description
This Class is responsible for retriving the ID3 info from the mp3 media files.

Image:B4_DesignSpecs_Track_getAlbum.jpg

Image:B4_DesignSpecs_Track_getArtist.jpg

Image:B4_DesignSpecs_Track_getFilename.jpg

Image:B4_DesignSpecs_Track_getGenre.jpg

Image:B4_DesignSpecs_Track_getInfo.jpg

Image:B4_DesignSpecs_Track_getTitle.jpg

Image:B4_DesignSpecs_Track_getYear.jpg

Image:B4_DesignSpecs_Track_set.jpg

Image:B4_DesignSpecs_Track_setAlbum.jpg

Image:B4_DesignSpecs_Track_setArtist.jpg

Image:B4_DesignSpecs_Track_setFilename.jpg

Image:B4_DesignSpecs_Track_setGenre.jpg

Image:B4_DesignSpecs_Track_setTitle.jpg

Image:B4_DesignSpecs_Track_setYear.jpg

Image:B4_DesignSpecs_User_getInfo.jpg

HTTPInterface

Description
This Class is used communicate and respond to HTTP requests from both 'client' and 'server' through the encoding and decoding of data.

Image:B4_DesignSpecs_HTTPInterface_request.png

Image:B4_DesignSpecs_HTTPInterface_respond.png

Image:B4_DesignSpecs_HTTPInterface_processData.png

Image:B4_DesignSpecs_HTTPInterface_encodeData.png

Image:B4_DesignSpecs_HTTPInterface_decodeData.png

Image:B4_DesignSpecs_HTTPInterface_chkMainDir.png

HTTPServer

Description
This Class is responsible for sending and receiving data between the 'server' and the 'client' using HTTP protocols.

Image:B4_DesignSpecs_HTTPServer_run.png

Image:B4_DesignSpecs_HTTPServer_ConnectHandler-run.png

Image:B4_DesignSpecs_HTTPServer_ConnectHandler-handleConnection.png

Personal tools