Help With a Polling Server

Discussion in 'Java' started by Chuck, Aug 22, 2003.

  1. Chuck

    Chuck Guest

    I am embarking on a large project and was wondering if someone could
    could point me to some resources on how to create a server that has a
    polling mechnism. I want a server that can perform actions on a per
    second accuracy.

    ex: I want the server to make an SNMP request every 15 seconds to
    another machine. The polling/timing/scheduling component is what I need
    help with.

    Thanks,
    Chuck



    ----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
    http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
    ---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
     
    Chuck, Aug 22, 2003
    #1
    1. Advertising

  2. "Chuck" <> wrote in message news:3f462608$1_4@127.0.0.1...
    >
    > I am embarking on a large project and was wondering if someone could
    > could point me to some resources on how to create a server that has a
    > polling mechnism. I want a server that can perform actions on a per
    > second accuracy.
    >
    > ex: I want the server to make an SNMP request every 15 seconds to
    > another machine. The polling/timing/scheduling component is what I need
    > help with.


    Check out the Timer and TimerTask classes; they are your friends when it
    comes to this type of repetative, timed stuff. And besides, some simple
    diddling avoids the 'tight' polling stuff altogether (your processor
    would love you for that ;-)

    kind regards,

    Jos
     
    Jos A. Horsmeier, Aug 22, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Roz Lee

    Re: connection polling

    Roz Lee, Jul 10, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    1,315
  2. Sameer
    Replies:
    0
    Views:
    508
    Sameer
    Feb 13, 2005
  3. Jonathan Wood
    Replies:
    9
    Views:
    657
    Jonathan Wood
    Jan 5, 2009
  4. JohnD
    Replies:
    1
    Views:
    177
  5. Replies:
    3
    Views:
    166
    TheBagbournes
    May 7, 2006
Loading...

Share This Page