info.aduna.gee.publication.net
Class OutputHandler

java.lang.Object
  extended by info.aduna.gee.publication.net.OutputHandler
All Implemented Interfaces:
LocalNames, IOListener, Runnable

public class OutputHandler
extends Object
implements IOListener, LocalNames, Runnable

Central point for uploading ZPad specific files. These are the files that are of particular importance to content extractors and the transport module.


Field Summary
protected  Job _activeJob
          The active job
protected static Hashtable _checkedLogins
          The checked login objects are saved to prevent unnecessary URL requests.
protected  boolean _closeOnSync
          When I'm closed but contain data that should be stored, remember that I should be closed
protected static Hashtable _jobs
          The job queues, per location.
protected  Vector _listeners
          Audience interested in io events
protected static Vector _peers
          A pool of active output handlers
protected  Hashtable _postRequests
          Stream to URLConnection mapping for POST requests
protected  Vector _queue
          The job queue for this location
protected  Thread _thread
          The transfer thread
 boolean active
          Is this an active outputhandler ? An active outputhandler is an outputhandler connected to "something" that is capable of storing (e.g.
 InputHandler inputHandler
          The corresponding input handler
 WURL location
          the ZPad location to transfer to.
 String userName
          Only the OutputHandler knows the user's name.
 
Fields inherited from interface info.aduna.gee.publication.net.IOListener
CACHE_UPDATE, LOGIN_ADDED, PASSWORD_ERROR, QUEUE_UPDATE, SHOW_OBJECT, STORE_DONE, STORE_STARTED
 
Fields inherited from interface info.aduna.gee.publication.LocalNames
AM, APRIL, AUGUST, BUTTON_ADD, BUTTON_ASSOCIATES_MAY_NOT_EDIT, BUTTON_BACKUP, BUTTON_BOTTOM, BUTTON_CLEAR, BUTTON_CLEAR_CART, BUTTON_DELETE, BUTTON_DESCRIPTION, BUTTON_DOWN, BUTTON_EDIT, BUTTON_EDIT_CLABELS, BUTTON_EDIT_SUBSCRIPTION, BUTTON_EDIT_SUBSCRIPTIONS, BUTTON_ENTRY_FROM_CLIPBOARD, BUTTON_ENTRY_TO_CLIPBOARD, BUTTON_EXIT_EDIT_MODE, BUTTON_FAST_BACKWARD, BUTTON_FAST_FORWARD, BUTTON_FIND_FUTURE, BUTTON_FIND_PAST, BUTTON_INTERNALIZE_ENTRY, BUTTON_LINK, BUTTON_LINK_IN_FRAME, BUTTON_LOCK_ZPAD, BUTTON_MORE_TEXT, BUTTON_NEXTCONTENT, BUTTON_PERSONALIZE, BUTTON_PL0, BUTTON_PL1, BUTTON_PL2, BUTTON_PL3, BUTTON_PL4, BUTTON_PREVIOUSCONTENT, BUTTON_PROVIDE_ENTRY, BUTTON_RE_EXPORT, BUTTON_RE_MANUAL, BUTTON_REPEAT, BUTTON_REPEAT_TODAY, BUTTON_RESTORE, BUTTON_SEND_ORDER, BUTTON_SUGGESTED_DESTINATION, BUTTON_SUMMARY, BUTTON_SYNCHRONIZE, BUTTON_TIME, BUTTON_TODAY, BUTTON_TOMORROW, BUTTON_TOOLS, BUTTON_TOP, BUTTON_UNDO, BUTTON_UP, BUTTON_UPLOAD_IMAGE, BUTTON_YESTERDAY, CONFIRM_BACKUP_ERROR, CONFIRM_CHANGE_ALL_REPEATING, CONFIRM_CLABEL_DEFINITION_FORMAT, CONFIRM_COULD_NOT_SAVE, CONFIRM_DELETE_ALL_REPEATING, CONFIRM_DELETE_EXPIRED, CONFIRM_ERROR, CONFIRM_FILE_CHANGED, CONFIRM_FILE_CHANGED_TITLE, CONFIRM_FILE_REALLY_CHANGED, CONFIRM_FIND_CONTENT, CONFIRM_FIRST_SECTION, CONFIRM_HAS_THEMES_FRAME, CONFIRM_MIXED_TODAY, CONFIRM_NO_MORE_CONTENT, CONFIRM_NOT_A_ZPAD, CONFIRM_NOT_REMOVE_SECTION, CONFIRM_QUESTION, CONFIRM_READONLY_BROWSER, CONFIRM_SURE, CONFIRM_THIS_ZPAD, CONFIRM_TODAY_IS_AT_STARTUP, CONFIRM_TODAY_IS_AT_TRANSFER, CONFIRM_UNDO, DECEMBER, ENTRY_TYPE_APPLET, ENTRY_TYPE_HTML, ENTRY_TYPE_IMAGE, ENTRY_TYPE_OBJECT, ENTRY_TYPE_TEXT, ENTRY_TYPE_TMPLD, ERROR_CONFIG_LOAD, ERROR_DATABASE_LOAD, ERROR_IMAGE_LOAD, ERROR_RESOLVE_LOCATION, ERROR_ZPAD_LOAD, EXC_INVALID_PORT_NUMBER, EXC_NO_GZIP_SUPPORT, EXC_NO_HOSTNAME_SPECIFIED, EXC_UNKNOWN_COMPR, EXC_UNKNOWN_ENCODING, EXC_VELOCITY_NOT_SHOWN, FEBRUARY, FRIDAY, FROM, GETTING_BUTTONS, GETTING_CONTENT, HTML_EDIT_ENTRY, HTML_ENTRY_EXPIRED, HTML_ENTRY_NOT_YET_INSPIRED, HTML_ENTRY_WILL_EXPIRE, HTML_MOVE_ENTRY, HTML_ZPAD_GET_ENTRY, INVALID_USER_LOCATION, JANUARY, JULY, JUNE, LABEL_ACCEPT_BATCH, LABEL_ADD_TO_CART, LABEL_ALL_CLABELS, LABEL_ALLSUB_SECTIONS, LABEL_APPLET_CODE, LABEL_APPLET_CODEBASE, LABEL_AT_STARTUP, LABEL_AT_STARTUP_BRIEF, LABEL_BACKGROUND, LABEL_BATCH_IS_MULTIPLE, LABEL_BATCH_NEW_SECTION, LABEL_BLUE, LABEL_BOTTOMUP_SUBSCRIPTION, LABEL_CART_EMPTY, LABEL_CASE_SENSITIVE, LABEL_CHOOSE_SECTION, LABEL_CHOOSE_TMPL, LABEL_CLABEL_IMAGE, LABEL_CLABEL_OVER_IMAGE, LABEL_CLABEL_RULE, LABEL_CLABELS, LABEL_CLABELS_SELECTED, LABEL_COUNT, LABEL_COVER_SECTIONS, LABEL_COVER_SPECIFIC_BUTTONS, LABEL_COVER_SPECIFIC_ENTRY_BUTTONS, LABEL_COVER_USES_HIERMENU, LABEL_COVER_USES_HIERMENU_ALL_OPTION, LABEL_COVER_USES_INPAGE, LABEL_COVER_USES_JOUST, LABEL_CURRENT_SECTIONS, LABEL_DAILY, LABEL_DATE, LABEL_DAYOFWEEK, LABEL_DESCR, LABEL_DESCRIPTION, LABEL_DESTINATION, LABEL_DONT_INHERIT, LABEL_EDIT_BATCH, LABEL_EMBED_SOURCE, LABEL_ENTRY_HTML, LABEL_ENTRY_IS_TMPL, LABEL_FOREGROUND, LABEL_GREEN, LABEL_HEIGHT, LABEL_HTML_STYLE, LABEL_ID, LABEL_IMAGE_LOCATION, LABEL_IMPORT_CLASSNAME, LABEL_IMPORT_SERVERNAME, LABEL_INHERIT_CLABELS, LABEL_INHERIT_PRIVACY_GROUPS, LABEL_INLINE_DESCRIPTION, LABEL_INPAGE_ALT_TEMPLATE_ID, LABEL_INPAGE_ALT_TEMPLATE_SOURCE, LABEL_INPAGE_SUB_TEMPLATE_ID, LABEL_INPAGE_SUB_TEMPLATE_SOURCE, LABEL_INPAGE_SUBSUB_TEMPLATE_ID, LABEL_INPAGE_SUBSUB_TEMPLATE_SOURCE, LABEL_INPAGE_TEMPLATE_ID, LABEL_INPAGE_TEMPLATE_SOURCE, LABEL_LOADED_FRAMES, LABEL_LOADED_TEMPLATES, LABEL_MONTH, LABEL_MONTHLY, LABEL_MOUNTPOINT, LABEL_MULTISUB_SECTIONS, LABEL_NEVER_EXPIRES, LABEL_NEVER_INSPIRES, LABEL_NEW_CLABEL, LABEL_NEW_FRAME, LABEL_NEW_PL_MEMBER, LABEL_NEW_SECTION, LABEL_NEW_SUBSCRIPTION, LABEL_NEW_TEMPLATE, LABEL_NEW_ZPAD_NAME, LABEL_NO_COLOR, LABEL_NO_ENTRY_SPECIFIC_PROPERTIES, LABEL_NO_FRAME, LABEL_NO_TEMPLATE_PREFERENCE, LABEL_NOT_AT_THIS_PL, LABEL_NOT_IN_CLIENTMODE, LABEL_OBJECT_LOCATION, LABEL_OCCURRING_SUBSCRIPTION, LABEL_OPTIONS, LABEL_ORDER_PRICE, LABEL_OWN_CONTENTS_ONLY, LABEL_OWN_SECTIONS, LABEL_OWNER_VERSION, LABEL_PASSWORD, LABEL_PASSWORD_ERROR, LABEL_PL_MEMBERS, LABEL_PLUS_ASSOCIATES, LABEL_PRICE, LABEL_PRICE_PER_ITEM, LABEL_PRO_VERSION, LABEL_RECURSIVE_SUBSCRIPTION, LABEL_RED, LABEL_REPEAT_1, LABEL_REPEAT_2, LABEL_REPEAT_3, LABEL_REQUIRED, LABEL_RGB, LABEL_SELECT_ZPAD, LABEL_SELECTED_ZPAD, LABEL_SHARED_SUBSCRIPTION, LABEL_SHOWING_RESULT, LABEL_STARTPOINT, LABEL_SUBSCRIPTIONS, LABEL_SYSTEM_SUBSCRIPTIONS, LABEL_THIS_IS_HTML, LABEL_THIS_ZPAD, LABEL_TMPL_DESCRIPTOR, LABEL_TMPL_ID, LABEL_TMPL_LOOP, LABEL_TMPL_NOT_AVAILABLE, LABEL_TMPL_STUBCHARS, LABEL_TODAY, LABEL_TOPDOWN_SUBSCRIPTION, LABEL_TOTAL_PRICE, LABEL_TRANSLATION_URL, LABEL_UNCLASSIFIED, LABEL_UP_TO_USER, LABEL_USE_RANGE, LABEL_USER_NAME, LABEL_VOLUME_DISCOUNT, LABEL_WEEKLY, LABEL_WIDTH, LABEL_YEAR, LABEL_YEARLY, MARCH, MAY, MONDAY, MORE, NO_CONTENT_IN_PAGE, NOVEMBER, OCTOBER, PM, PRESSED_DATE_POPUP, PRESSED_EDIT_POPUP, PRESSED_FIND_POPUP, PRESSED_META_POPUP, PRESSED_PERSONALIZE_POPUP, PRESSED_PRIVL_POPUP, PRESSED_SECTION_POPUP, PRESSED_TOOLS_POPUP, QUESTION_ENTRY_TO_CLIPBOARD, QUESTION_OVERWRITE_BACKUP, QUESTION_REPLACE_WITH_BACKUP, QUESTION_SELECT_ADVANCED_VERSION, REMOVE, SATURDAY, SAVING_CONTENT, SEARCH_FOR_MANUAL, SEARCH_FOR_PRIVACY_LEVEL, SEARCH_FOR_PROVIDE_PL, SEARCH_FOR_RE_EXPORT, SEARCH_FOR_RE_MANUAL, SEARCH_FOR_SUBSCRIPTION, SEARCH_FOR_TIME, SEARCH_FOR_TYPE, SEPTEMBER, SHOULD_SYNC, SUNDAY, TEMPLATE_NOT_AVAILABLE, THURSDAY, TITLE_ADD_ALIAS, TITLE_ADD_APPLET, TITLE_ADD_EMBED, TITLE_ADD_HTML, TITLE_ADD_IMAGE, TITLE_ADD_IMPORT, TITLE_ADD_OBJECT, TITLE_ADD_TEXT, TITLE_ADD_TMPLD, TITLE_ADVANCED_ZPAD, TITLE_CHANGE_COVER, TITLE_CLABEL_DEFINITIONS, TITLE_CLABEL_SELECTION, TITLE_COPY_TO, TITLE_COVER_OPTIONS, TITLE_COVER_SECTIONS, TITLE_DATE_OFFSET, TITLE_DATE_SECTIONS, TITLE_DATE_SPEC, TITLE_DESTINATION, TITLE_EDIT_CATEGORIES, TITLE_EDIT_PRIVACY_GROUPS, TITLE_EDIT_SHEET, TITLE_ENTRY_ATTRIBS, TITLE_ENTRY_EXPIRATION, TITLE_ENTRY_INSPIRATION, TITLE_ENTRY_PARAMS, TITLE_ENTRY_PROPS, TITLE_EXPIRED_HANDLING, TITLE_EXTERNAL_SECTIONS, TITLE_FIND_ENTRY, TITLE_FIRST_SECTION, TITLE_IDENTIFY_YOURSELF, TITLE_INSTANT_COVER, TITLE_LAST_SECTION, TITLE_LOGIN_DIALOG, TITLE_MANIPULATE_SECTION, TITLE_MOVE_ENTRY, TITLE_MOVE_TO, TITLE_NAVIGATOR, TITLE_PERSONALIZE_SHEET, TITLE_PL_GROUPS, TITLE_REMOVE_ALIAS, TITLE_REMOVE_FILE, TITLE_REMOVE_IMAGE, TITLE_SELECT_DATE, TITLE_SELECT_PL, TITLE_SELECT_SECTION, TITLE_SELECT_TMPL, TITLE_SET_CLABEL_IMAGES, TITLE_SET_COLOR, TITLE_SET_COLORS, TITLE_SET_FRAME, TITLE_SET_HTML, TITLE_SET_PL, TITLE_START_SECTION, TITLE_STATISTICS, TITLE_SUBSCRIPTIONS, TITLE_TEMPLATE_PREFERENCE, TITLE_TOOLS_SHEET, TITLE_TRANSFER, TITLE_UPLOAD_FILE, TITLE_USER_SECTIONS, TO, TUESDAY, WEDNESDAY, ZPAD
 
Constructor Summary
OutputHandler(InputHandler input, boolean active)
          Creates a new output handler.
 
Method Summary
protected  Hashtable _getCheckedLogins()
           
protected  Hashtable _getJobs()
           
protected  Vector _getPeers()
           
protected  void _internalStore()
           
protected  void _notify(int info, String filename, Object arg)
          Notify this io handler of a change that applies to the way the database should be handled.
protected  void _notifyPeers(boolean all, int info, String filename, Object arg)
          Notify peer output handlers.
protected  void _processJob(Job job)
          Process a store job.
protected  void _reallyClose()
           
protected  boolean _shouldStore(Job job)
          Should we really store the Job ?
protected static OutputStream _writeTo(WStorable object, OutputStream output)
           
 void addListener(IOListener listener)
          Adds an IOListener interested in feedback about io.
protected  WOutputStream authorizedOutputStream(String filename, Login login, boolean force)
          Get a WOutputStream that already contains the authorization information.
static int checkResponse(String response)
          Check the response line of the HTTPD.
 void close()
          Deregisters this OutputHandler from the pool of OutputHandlers.
 void finalize()
          Called at garbage collection time.
 Login getLogin()
          Get the current Login for this location.
 int getLoginCount()
          How many logins are there ?
 OutputStream getOutputStream(String filename, boolean force)
          Open an output stream on a remote file.
 boolean hasActivePeers()
          Does the outputHandler have any active peers?
 boolean hasPassword(boolean personally)
          Has the current OutputHandler a password.
 void ioStateChanged(WURL location, int info, String filename, Object arg)
          Implements interface IOListener.
 boolean isLoggedIn(String name, boolean personally)
          Check whether a person is logged in.
 int jobCount()
          Counts the number of pending jobs.
 Vector jobNames()
          List the names of the pending jobs.
 WURL locationOf(String name)
          Get the location of a person.
 boolean login(Login login)
          Checks the authorization of supplied login information on the remote host.
 void logout()
          For whatever reason, remove the current login for the current location.
static String nameOf(WURL hislocation)
          Get a person's name from his location.
 void notifyListeners(Exception exc, String filename)
          Notifies all listeners of an exception.
 void notifyListeners(int info, String filename, Object arg)
          Notify all listener with io information.
 void onException(WURL location, Exception e, String filename)
          Implements interface IOListener.
 void onStreamClose(Object stream)
          Implements part of the interface of StreamListener.
 void onStreamException(Exception e, Object stream)
          Implements interface StreamListener.
 byte[] post(String path, WProperties headers, byte[] body)
           
 void removeJob(Job job)
           
 void removeJob(String jobName)
           
 void removeListener(IOListener listener)
          Removes a IOListener.
 void run()
          The starting point of the store thread.
 void setStorable(boolean storable)
           
 void start()
          Start storing jobs in the queue.
 void store(WStorable object, String filename, boolean force, boolean delay)
          Stores a storable object.
 void sync()
          Removes the delay from all jobs.
static void syncAll()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

location

public WURL location
the ZPad location to transfer to.


_peers

protected static Vector _peers
A pool of active output handlers


_jobs

protected static Hashtable _jobs
The job queues, per location. (WURL <--> Vector)


_queue

protected Vector _queue
The job queue for this location


_activeJob

protected Job _activeJob
The active job


_listeners

protected Vector _listeners
Audience interested in io events


_closeOnSync

protected boolean _closeOnSync
When I'm closed but contain data that should be stored, remember that I should be closed


inputHandler

public InputHandler inputHandler
The corresponding input handler


_thread

protected Thread _thread
The transfer thread


active

public boolean active
Is this an active outputhandler ? An active outputhandler is an outputhandler connected to "something" that is capable of storing (e.g. it contains a "sync" button).


_postRequests

protected Hashtable _postRequests
Stream to URLConnection mapping for POST requests


_checkedLogins

protected static Hashtable _checkedLogins
The checked login objects are saved to prevent unnecessary URL requests. The key is the location (a WURL) the value a Login.


userName

public String userName
Only the OutputHandler knows the user's name.

Constructor Detail

OutputHandler

public OutputHandler(InputHandler input,
                     boolean active)
Creates a new output handler. When no longer needed call close on this object.

Parameters:
input - the corresponding input handler.
active - specifies whether to create the actual store thread. If false, the store requests are overtaken by other ZPad components. Make sure there is at least one running...
See Also:
close()
Method Detail

store

public void store(WStorable object,
                  String filename,
                  boolean force,
                  boolean delay)
Stores a storable object.

Parameters:
object - The object to store.
filename - the name of the file to store to.
force - overwrite any other intermediate changes yes/no.
delay - delay the store request yes/no.

removeJob

public void removeJob(Job job)
Parameters:
job - the job to remove.

removeJob

public void removeJob(String jobName)
Parameters:
jobName - the name of the job to remove.

start

public void start()
Start storing jobs in the queue.


run

public void run()
The starting point of the store thread.

Specified by:
run in interface Runnable

authorizedOutputStream

protected WOutputStream authorizedOutputStream(String filename,
                                               Login login,
                                               boolean force)
                                        throws IOException
Get a WOutputStream that already contains the authorization information.

Throws:
IOException

hasPassword

public boolean hasPassword(boolean personally)
Has the current OutputHandler a password.

Parameters:
personally - if true, the password must be the personal password, otherwise it might be of an associate.

getLoginCount

public int getLoginCount()
How many logins are there ?


getLogin

public Login getLogin()
Get the current Login for this location.


getOutputStream

public OutputStream getOutputStream(String filename,
                                    boolean force)
                             throws IOException
Open an output stream on a remote file.

Parameters:
filename - the name of the remote file.
Returns:
an opened outputstream on the remote file or null if cancelled by the user.
Throws:
IOException

login

public boolean login(Login login)
              throws IOException
Checks the authorization of supplied login information on the remote host. Note that this is done only once per session if the password is not changed in the meantime.

Parameters:
login - the login information to check.
Throws:
IOException

logout

public void logout()
For whatever reason, remove the current login for the current location.


isLoggedIn

public boolean isLoggedIn(String name,
                          boolean personally)
Check whether a person is logged in.

Parameters:
name - the person's name.
personally - if true, the person should be logged in personally, otherwise it is sufficient to be an associate owner of person.

locationOf

public WURL locationOf(String name)
Get the location of a person.


nameOf

public static String nameOf(WURL hislocation)
Get a person's name from his location.


onStreamClose

public void onStreamClose(Object stream)
                   throws IOException
Implements part of the interface of StreamListener. It is necessary to detect the moment the stream is closed to be able to initiate the post.

Parameters:
stream - the stream that was closed.
Throws:
IOException

onStreamException

public void onStreamException(Exception e,
                              Object stream)
Implements interface StreamListener.

Parameters:
stream - an InputStream or OutputStream

checkResponse

public static int checkResponse(String response)
                         throws IOException
Check the response line of the HTTPD. This method parses the response to find a three digit code that tells more about the success of the request. There are troubles in Internet Explorer 4.0. Some versions seem to return a response which has the correct length "l", however the first character is repeated "l" times. Since we know exactly the responses that are returned (see ZPad's "store" server-side), we work-around this problem. It's ugly, but there is no alternative ...

Parameters:
response - the response line of HTTPD.
Returns:
the three digit response code in the response. if no code is found, 0 is returned.
Throws:
IOException

_processJob

protected void _processJob(Job job)
Process a store job. The job contains the object to store, the filename to use and a list of store listeners.

Parameters:
job - the job to process

addListener

public void addListener(IOListener listener)
Adds an IOListener interested in feedback about io.

Parameters:
listener - An IOListener interested in the changes.

removeListener

public void removeListener(IOListener listener)
Removes a IOListener. The io handler will no longer give feedback to this listener.

Parameters:
listener - The IOListener to remove.

close

public void close()
Deregisters this OutputHandler from the pool of OutputHandlers. Note: this OutputHandler is referenced by a static Vector (peers). If we don't remove it from this Vector, it will never be gc'ed. To prepare this object for garbage collection this method close() should be used as a c++ like destructor.


_reallyClose

protected void _reallyClose()

notifyListeners

public void notifyListeners(int info,
                            String filename,
                            Object arg)
Notify all listener with io information.

Parameters:
info - the information to send.
object - the object the information is about.
filename - the filename of the object the info is about.

notifyListeners

public void notifyListeners(Exception exc,
                            String filename)
Notifies all listeners of an exception.

Parameters:
exc - the exception to nofify.
filename - the name of the file.

_notifyPeers

protected void _notifyPeers(boolean all,
                            int info,
                            String filename,
                            Object arg)
Notify peer output handlers.

Parameters:
all - If true, notify all output handlers, if false, notify only the output handlers for this location.
info - The kind of information.
filename - the name of the file.
arg - an optional argument

_notify

protected void _notify(int info,
                       String filename,
                       Object arg)
Notify this io handler of a change that applies to the way the database should be handled.

Parameters:
info - The kind of information.
filename - the name of the file.
arg - an optional argument.

sync

public void sync()
Removes the delay from all jobs.


jobCount

public int jobCount()
Counts the number of pending jobs.

Returns:
The number of jobs in the queue, inclusive a possible active job.

jobNames

public Vector jobNames()
List the names of the pending jobs. Used for undo purposes.

Returns:
A vector containing the names of the files to stored.

finalize

public void finalize()
              throws Throwable
Called at garbage collection time. If the thread was killed while storing, deactivate the running job so it can be picked up by another running thread.

Overrides:
finalize in class Object
Throws:
Throwable

hasActivePeers

public boolean hasActivePeers()
Does the outputHandler have any active peers?


ioStateChanged

public void ioStateChanged(WURL location,
                           int info,
                           String filename,
                           Object arg)
Implements interface IOListener.

Specified by:
ioStateChanged in interface IOListener
Parameters:
info - the kind of feedback.
filename - the name of the file the info is about.
arg - an optional argument.
location - the location

onException

public void onException(WURL location,
                        Exception e,
                        String filename)
Implements interface IOListener.

Specified by:
onException in interface IOListener
Parameters:
e - the exception to notify.
filename - the name of the file the info is about.
location - the location

_getPeers

protected Vector _getPeers()

_getJobs

protected Hashtable _getJobs()

_getCheckedLogins

protected Hashtable _getCheckedLogins()

post

public byte[] post(String path,
                   WProperties headers,
                   byte[] body)
            throws IOException
Throws:
IOException

syncAll

public static void syncAll()

_internalStore

protected void _internalStore()

_writeTo

protected static OutputStream _writeTo(WStorable object,
                                       OutputStream output)
                                throws IOException
Throws:
IOException

_shouldStore

protected boolean _shouldStore(Job job)
Should we really store the Job ?


setStorable

public void setStorable(boolean storable)


Copyright © 1997-2008 Aduna. All Rights Reserved.