|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.util.Observable
com.monkeycoder.monkeynetwork.MonkeyNetwork
public class MonkeyNetwork
This is the simplified access point for the MonkeyNetwork system.
| Constructor Summary | |
|---|---|
MonkeyNetwork()
This is the simplified access point for the MonkeyNetwork system. |
|
| Method Summary | |
|---|---|
java.io.InputStream |
blockFetch(java.lang.String inUrl)
Simplified blocking call to fetch content from the network. |
void |
fetch(java.lang.String inUrl)
Standard non-blocking call to fetch content from the network. |
void |
update(java.util.Observable inObservable,
java.lang.Object inArg)
Used by Network objects to pass messages to this class. |
| Methods inherited from class java.util.Observable |
|---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MonkeyNetwork()
| Method Detail |
|---|
public java.io.InputStream blockFetch(java.lang.String inUrl)
throws java.io.IOException,
MonkeyException
inUrl - The URL of the content to fetch.
java.io.IOException - When underlying code produces it.
MonkeyException - When underlying code produces it.
public void fetch(java.lang.String inUrl)
throws java.io.IOException,
MonkeyException
inUrl - The URL of the content to fetch.
java.io.IOException - When underlying code produces it.
MonkeyException - When underlying code produces it.UpdateMessage
public void update(java.util.Observable inObservable,
java.lang.Object inArg)
update in interface java.util.ObserverinObservable - The observable object.inArg - The UpdateMessage passed to the notifyObservers method.UpdateMessage
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||