Cellphone Classes Ven Tadipatri, Matt Hatoun, Jennifer Wong, Michael Leen, Syung Youn Nam.

Slides:



Advertisements
Similar presentations
Systems Architecture Use Case Diagram, System Overview, Class Diagram Design Patterns (weve used) Refactorings (weve used) Table of Contents.
Advertisements

MIDP Mobile Information Device Profile Johnny Yau CIS 642 Prof. Insup Lee.
Suite Suite Part of zTPFGI suite of products and it is VM based. Efficient and Effective management of the process of bringing up.
13/04/2015Client-server Programming1 Block 6: Threads 1 Jin Sa.
Software Engineering Implementation Lecture 3 ASPI8-4 Anders P. Ravn, Feb 2004.
1 Chapter 11 Introducing the Class Pages ( )
INHERITANCE BASICS Reusability is achieved by INHERITANCE
C++ Classes & Data Abstraction
METHOD OVERRIDING Sub class can override the methods defined by the super class. Overridden Methods in the sub classes should have same name, same signature.
Java Virtual Machine (JVM). Lecture Objectives Learn about the Java Virtual Machine (JVM) Understand the functionalities of the class loader subsystem.
CHATROOM PROJECT Supervised by DAN WITZNER HANSEN Group Members ESWAR EMMADI SURESH KUMAR DONTHA.
Applets. The Applet Class public class MyApplet extends java.applet.Applet {... /** The no-arg constructor is called by the browser when the Web page.
Review of Java Applets Vijayan Sugumaran Decision and Information Sciences Oakland University.
Location Aware Devices  Location information can lead to creative applications  GPS hardware  cell tower positioning.
User logging into Facebook’s interface. Running the application from FaceBook applications.
Building Memory… Day 4 – November 20, Some clean up from last time Applet class can now be run as either an Applet or an Application Made picture.
Threads Load new page Page is loading Browser still responds to user (can read pages in other tabs)
Cosc 4755 Phone programming: GUI Concepts & Threads.
Developing J2ME Applications Mobile and Wireless Networks.
Canonical Producer CP API User Code CP Servlet Files CreateTable, Port, Protocol, Security, SQL Support, Multiple Query Support Security Insert Query Port.
Chris Harrison Stacey Kuznetsov Mariya Lysenkova Jennifer Refat Gabriel Sinkin.
Multithreading in Java Nelson Padua-Perez Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
Ch 13. Features Found Only in Java Timothy Budd Oregon State University.
Team A 3PB Project Midterm Progress Report. Original System Design.
Task Bag A Distributed System using the.NET Framework and Remoting Frank McCown Old Dominion University Spring 2005 CS 875 Distributed Systems - Final.
RMS Importer/Exporter Create configuration for the MedAustron Control System PP a-ABR_RMSImporterExporter.pptm abrett/mmarchha RMS Importer/Exporter.
Multithreading.
Sheet 1XML Technology in E-Commerce 2001Lecture 4 XML Technology in E-Commerce Lecture 4 Case Study: XmlMessenger.
Web Proxy Server. Proxy Server Introduction Returns status and error messages. Handles http CGI requests. –For more information about CGI please refer.
Programming Task: Task 1 Controlled Assessment Practice.
An Introduction to the Java ME Project Jens A Andersson.
Cloud Control Senior Project Summer Overview Cloud Control is a platform to control data transmission to/from internet connected devices from the.
Applets  The Applet Class  The HTML Tag F Passing Parameters to Applets.
JavaIOC Marty Kraimer EPICS Collaboration Meeting ICALEPCS October
Assignment 3 A Client/Server Application: Chatroom.
1 Kaseya Advanced Workshop Developed by Kaseya University Powered by IT Scholars Kaseya Version 6.2 Last updated on June 25, 2012 DAY TWO.
SelfDiagnose “who is to blame” ernest micklei, April 2007.
Programming Handheld and Mobile devices 1 Programming of Handheld and Mobile Devices Lecture 12 lcdui Rob Pooley
Programming Handheld and Mobile devices 1 Programming of Handheld and Mobile Devices Lecture 13 lcdui and OXO Rob Pooley
LAB 1CSIS04021 Briefing on Assignment One & RMI Programming February 13, 2007.
PlanWell PDS Admin Training Part 1 Installation Considerations and Configuring PlanWell PDS.
ABINIT INPUT MAKER By Simon Pesant and BenjaminTardif 29/01/2007.
MACCE and Real-Time Schedulers Steve Roberts EEL 6897.
1 Web Based Programming Section 8 James King 12 August 2003.
Preliminary Object-Oriented Design Clickermatic Software Clicker.
بسم الله الرحمن الرحيم ” اللهم أنت ربي لا إله إلا أنت خلقتني و أنا عبدك وأنا على عهدك ووعدك ما استطعت ، أعوذ بك من شر ما صنعت ، أبوء لك بنعمتك على و أبوء.
MAKANI ANDROID APPLICATION Prepared by: Asma’ Hamayel Alaa Shaheen.
Self-Referential Classes A Self-referential class is a class that contains a reference to an object that has the same class type. –A self-referential class.
Chapter 6 Introduction to Defining Classes. Objectives: Design and implement a simple class from user requirements. Organize a program in terms of a view.
IS 4506 Establishing Microsoft SMTP Service.  Overview Introduction to Microsoft SMTP Service SMTP Service features SMTP administration interface SMTP.
Reconfigurable Communication Link Between FASTER and RTSim Interface Matthew McCollum Mark Krause Derek Keibler.
Li Tak Sing COMPS311F. RMI callbacks In previous example, only the client can initiate a communication with the server. The server can only response to.
Getting Started on Lab 1 Requirements MigratableProcess TransactionalFile{Input, Output}Stream ProcessManager MigratableProcesses.
Kernel mode linux. Why? ● The pros – There is a C like interface inside the Linux kernel already. – The speed. – The size of AP. ● The cons – Missing.
Configuration Modes and TFTP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Android Boot Camp.
Creating Java Applications (Software Development Life Cycle) 1. specify the problem requirements - clarify 2. analyze the problem - Input? Processes? Output.
GL TRADE Internal Use Only GL Stream Server Module Notification Sequence Diagram December 12th, 2007.
Programming in Java Transitioning from Alice. Becomes not myFirstMethod but …. public static void main (String[] arg) { // code for testing classes goes.
CPSC 233 Tutorial January 21 st /22 nd, Linux Commands.
1 Framework Presentation Project Participants: Karun Biyani Manish Mehta Pradeep Vincent CSE870 Advanced Software Engineering, Spring 2001 Instructor:
Data Transport for Online & Offline Processing
Block 15 Developing the Calculator application
Software Development Java Classes and Methods
CS305J Introduction to Computing
IBM WEBSPHERE MESSAGE QUEUE online Training | IBM WEBSPHERE MQ Training
Implementation CAN Communication Engine
CUPS Print Services.
Pre-assessment Questions
Subtype Substitution Principle
Presentation transcript:

Cellphone Classes Ven Tadipatri, Matt Hatoun, Jennifer Wong, Michael Leen, Syung Youn Nam

Overview The cellphone needs to keep a queue of assignments received from the server, and continuously check for GPS info to send Hence, we have 2 threads running There’s a controller for both threads, and the user interface for displaying info. Also, there are some configuration settings to take care of--done by an external applet

Class Diagram Controller (extends midlet) GPS Server Connection Assignment Queue User Interface Form Assignment Parser Server Backup File Instantiates Accesses DataPack

Controller public method: public void InstantiateClasses() public void Start_GPS() public void Start_server() public int ReadConfig(String config_file_loc) Member variables: Server controller

Assignment Queue public method: public void Assignment_Queue(String backup_file_loc) public Assignment getNext() public void AddAssignmentList(List Assignment) public void AddAssignment(Assignment) private method: private void Write_to_File(backup_file_loc) private void clear_file(String backup_file_loc) Member variables: List listeners String backup

Assignment public method: Assignment(int, String, String, int, boolean, time) public String getDropOff() public String getPickUp() public int num_pass() public boolean callback() Time rec_time() member variables: int Assign_num String pickup String dropoff int num_people Time t boolean call_back

GPS Public Method GPS(int) void run() DataPack getPacket() Member Variables DataPack myPacket int myfreq DataPack Public Method DataPack(string, string, string) String getLatitude() String getLongitude() String getTime() Member Variables String myLat, myLong, myTime

Server public: ServerConnection(GPS, AssignmentQueue, String, int, bool); ServerConnection(AssignmentQueue, String, int, bool); void setParser (Parser ); void setGPS (GPS ); void setQueue (AssignmentQueue ); void run(); private: connectionLoop() Member Variables: Parser m_Parser; GPS m_gps; AssignmentQueue m_q; String m_serverURL; int m_waittime; bool m_getAssignments

Parser public methods: Parser () boolean isValid (String s) List parse (String s) private methods: NONE member variables: NONE

User_Interface public methods: UserInterface (AssignmentQueue) void QueueChanged () private methods: void updateTicker() Form TranslateToForm (Assignment) member variables: AssignmentQueue m_aq int Ticker

ConfigEdit Class Config (extends midlet) Textbox Form ChoiceGroup FileIO Instantiates Accesses

Config Public methods: -void writeFile() -void readFile() -bool getGPS() -void setGPS(bool) -void setLog(bool) -bool getLog() -string getServerAddress() -void setServerAddress(string) -void exit() Member Variables - string _serverAddress, _file; - bool _GPSselected, bool _Logselected; - ChoiceGroup _GPS, _Log; - TextBox _server; - Form _form;

Form Public methods: Void append(Item i): TextBox Public methods: Void setInitialInputMode(string): string getString(); void setString(String); ChoiceGroup Public methods: ChoiceGroup(String, int, String[], Image[]) int getSelectedIndex() void setSelectedIndex(int e, bool s)

That’s all folks! Any questions on the class diagram for either the main program or the config?

Class Diagram Controller (extends midlet) GPS Server Connection Assignment Queue User Interface Form Assignment Parser Server Backup File Instantiates Accesses DataPack