Results 1 to 7 of 7
- 12-21-2008, 11:51 PM #1
java.net.MalformedURLException: unknown protocol: ntp
I need to write an ntp Stream Handler, the URL class spits it - is there some way to sublcass
- URLStreamHandlerFactory
- URI
- URL
- URLConnection
- URLDecoder
- URLEncoder
- URLStreamHandler
Introduction to Programming Using Java.
Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor
- 12-22-2008, 02:06 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Nicol, did you read that Java Networking book on this ntp stream handler?
- 12-22-2008, 04:10 PM #3
reading that chapter now
I am working on it, that was my first attempt at getting into the actual code, upon reading the first few paragaphs I chose to put up help request as the author ( well informed ) stated that such things are likely not implemented. A decent perusal of the code and docs suggested that doing anything other that http will be convoluted at best.
Sounds pretty advanced looking at it so this is to share as much as it is to ask.Introduction to Programming Using Java.
Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor
- 12-23-2008, 02:06 AM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Still I'm not looking at that chapter Nicol. Let see what I can found there.
- 12-23-2008, 06:52 PM #5
I went through the book again yesterday after I posted. I think what I will have to do is use Socket constructor and Simple Time Protocol.
Introduction to Programming Using Java.
Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor
- 12-24-2008, 02:52 AM #6
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
STP... interesting. Better to look at on ntp basis first of all Nicol. Thanks for the info.
- 12-24-2008, 03:35 AM #7
Well the question here is one of responsiblity. NTP is clearly a Tier-1 protocol, with nagler's algorithm sufficient reliability could be attiained with enough stratum-2 timeservers....
My thinking tonight as I shut the machine off would be to look for a short list of open servers at stratum-2
Most providers would have traceable and redundant time services, I am thinking to look into Time Protocol RFC 868 ..... one of those catch-22's where any good effort is swamped by Alley Gators.Introduction to Programming Using Java.
Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor
Similar Threads
-
why do I get java.net.MalformedURLException ?
By aneuryzma in forum New To JavaReplies: 3Last Post: 08-14-2008, 11:57 AM -
New Protocol?
By lada.r in forum NetworkingReplies: 0Last Post: 11-06-2007, 09:13 PM -
how to use SIP protocol
By katie in forum Advanced JavaReplies: 1Last Post: 08-06-2007, 10:22 PM -
java.net.MalformedURLException
By mary in forum Advanced JavaReplies: 1Last Post: 07-13-2007, 04:37 PM -
Unknown publisher / Signing standalone tomcat.exe
By millross in forum New To JavaReplies: 1Last Post: 06-14-2007, 02:25 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks