faust.sacha.web.bot.spider.event
Class ThreadEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--faust.sacha.web.bot.spider.event.ThreadEvent
All Implemented Interfaces:
java.io.Serializable

public class ThreadEvent
extends java.util.EventObject

See Also:
Serialized Form

Field Summary
static int EVENT_ERROR
           
static int EVENT_FINISH
           
static int EVENT_IS_SITE_FINISH
           
static int EVENT_NEW
           
static int EVENT_SITE_FINISH
           
static int EVENT_SPIDER_SITE
           
static int EVENT_STOP
           
static int EVENT_SUCCESS
           
static int EVENT_TO_GET_DATA
           
static int EVENT_TO_GET_INFO
           
static int EVENT_TO_PROCESS_LINKS
           
static int EVENT_TO_SET_INFO
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ThreadEvent(java.lang.Object source)
           
ThreadEvent(java.lang.Object source, java.lang.Object result, int eventType)
           
 
Method Summary
 int getEventType()
           
 java.lang.Object getResult()
           
 void setEventType(int type)
           
 void setResult(java.lang.Object result)
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EVENT_NEW

public static final int EVENT_NEW
See Also:
Constant Field Values

EVENT_SUCCESS

public static final int EVENT_SUCCESS
See Also:
Constant Field Values

EVENT_ERROR

public static final int EVENT_ERROR
See Also:
Constant Field Values

EVENT_TO_GET_DATA

public static final int EVENT_TO_GET_DATA
See Also:
Constant Field Values

EVENT_TO_PROCESS_LINKS

public static final int EVENT_TO_PROCESS_LINKS
See Also:
Constant Field Values

EVENT_TO_SET_INFO

public static final int EVENT_TO_SET_INFO
See Also:
Constant Field Values

EVENT_STOP

public static final int EVENT_STOP
See Also:
Constant Field Values

EVENT_IS_SITE_FINISH

public static final int EVENT_IS_SITE_FINISH
See Also:
Constant Field Values

EVENT_SITE_FINISH

public static final int EVENT_SITE_FINISH
See Also:
Constant Field Values

EVENT_FINISH

public static final int EVENT_FINISH
See Also:
Constant Field Values

EVENT_SPIDER_SITE

public static final int EVENT_SPIDER_SITE
See Also:
Constant Field Values

EVENT_TO_GET_INFO

public static final int EVENT_TO_GET_INFO
See Also:
Constant Field Values
Constructor Detail

ThreadEvent

public ThreadEvent(java.lang.Object source)

ThreadEvent

public ThreadEvent(java.lang.Object source,
                   java.lang.Object result,
                   int eventType)
Method Detail

getResult

public java.lang.Object getResult()

setResult

public void setResult(java.lang.Object result)

setEventType

public void setEventType(int type)

getEventType

public int getEventType()