com.monkeycoder.monkeynetwork
Class FtpStateEngine

java.lang.Object
  extended by java.util.Observable
      extended by com.monkeycoder.monkeynetwork.ProtocolStateEngine
          extended by com.monkeycoder.monkeynetwork.FtpStateEngine
All Implemented Interfaces:
java.lang.Runnable

public class FtpStateEngine
extends ProtocolStateEngine
implements java.lang.Runnable

This class handles FTP Fetching and state maintenance.

Author:
David Stephens

Field Summary
 
Fields inherited from class com.monkeycoder.monkeynetwork.ProtocolStateEngine
content, fetchUri, net, nextState, STATE_DONE, STATE_START
 
Constructor Summary
FtpStateEngine()
          Creates a state engine for handling FTP network traffic.
 
Method Summary
 void run()
          Multi-Threaded entry point.
 
Methods inherited from class com.monkeycoder.monkeynetwork.ProtocolStateEngine
getContent, setFetchUri, setNetwork
 
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

FtpStateEngine

public FtpStateEngine()
Creates a state engine for handling FTP network traffic.

Method Detail

run

public void run()
Multi-Threaded entry point. Run in its own thread and use Thread.start().

Specified by:
run in interface java.lang.Runnable
Specified by:
run in class ProtocolStateEngine