Re: TeaRound Java Application Design Stage

From: Gurmej (gurmejkalsi_at_yahoo.co.uk)
Date: 06/18/04


Date: 18 Jun 2004 01:59:03 -0700

Hi All,
any help would be appreciated with this... I'm just trying to learn
Thanks in advance
Gurmej

gurmejkalsi@yahoo.co.uk (Gurmej) wrote in message news:<e2abd048.0406170655.1d959589@posting.google.com>...
> Hi All
> The application I want to put together is :-
>
> This would be a basic requirement. It will be a single user/Desktop
> application.
> We have a Tea Round at work. Basically there are members in the tea
> round who take it in turn to fetch it.
> So what I want to do is be able to add/delete a member's name and IP
> address of Desktop and then set a thread running which would wake up
> on every 10 or 60 mins and send a network message saying it is your
> turn.
> Eventually I want a gui front-end to add/delete member or see a list
> of members.
>
> This would be a basic requirement as it develops I would evolve it
> further on.
>
> ------------------------
> Gui Layer Classes
> -----------------------
> not worried about the classes in here yet
>
>
> -------------------------
> Data Layer Classes
> -------------------------
>
> Class MembersList
> {
> private Member memlist;
> private int index;
> final static int nextmemNo;
>
> MembersList(){
> memlist=new Member[10]
> index=0
> nextmemNo=1}
>
> void AddMem(memNo, name,ipA)
>
> void DltMem(memNo)
> etc
> }
> ------------------------------------
> Class Member{
>
> private int memNo;
> private String name;
> private String ipAddress;
>
> member()
> member( memNo, name, ipAdd)
>
> getters()
> setters()
> }
>
> and maybe
>
> Static Class WhosTurnIsItThread{
>
> int LastMemToDoit
> }
>
> So MembersList would be a Container for Member Class.
>
>
> Questions
> 1. As I said not worried about the Gui Layer yet. What other
> Classes/Interfaces am I missising in the data layer.
> Is there any other layers that I need to consider.
>
> 2. How where do I fit the the Thread that will wake up to send network
> message.
>
> I am a newbie trying to learn via real life secenrios so any help
> would be appreciated. I want to think in Java and OO.
> Sorry for bad syntax in the Java I just want get over overviews of the
> Classes I have thought about.
>
> Thanks in advance for any help
> Gurmej



Relevant Pages

  • Savannah Runner Found Dead in Lake
    ... Homo was running around in the open at Olorgesailie. ... Member 4: ... Member 5:A poorly-developed paleosol layer that has a small pumice ... these animals in our previous digs in Locality A. ...
    (sci.anthropology.paleo)
  • TeaRound Java Application Design Stage
    ... Eventually I want a gui front-end to add/delete member or see a list ... Data Layer Classes ... private Member memlist; ... private int index; ...
    (comp.lang.java.programmer)
  • Re: Savannah Runner Found Dead in Lake
    ... Homo was running around in the open at Olorgesailie. ... > Member 5:A poorly-developed paleosol layer that has a small pumice ... > layer that was dated to 974,000 years ago. ... > these animals in our previous digs in Locality A. ...
    (sci.anthropology.paleo)
  • Re: How do I write to a textbox in a form from within a class
    ... you can control the level of access for each class member. ... Protected Friend ... Private PrivateVar As Integer ... to your TextBox issue ... ...
    (microsoft.public.dotnet.languages.vb)
  • Re: "this" and "base"
    ... compiler and the programming language. ... a private inherited field in a base class from a derived class is that the ... > because the member "is a private". ...
    (microsoft.public.dotnet.languages.csharp)