AbstractService

Kind of class:public class
Package:com.bourre.service
Inherits from:AbstractCommand
Implements:
Version:1.0
Author:Francis Bourre
Classpath:com.bourre.service.AbstractService
File last modified:Friday, 15 February 2008, 21:35:41

Summary


Constructor
Instance methods

Constructor

AbstractService

public function AbstractService (
)

Instance methods

addASyncCommandListener

public function addASyncCommandListener (
listener:ASyncCommandListener, rest) : Boolean

Adds the passed-in command listener object as listener
for this command events.

The {VISDOC_CODE_BLOCK_2} function support
the custom arguments provided by the

{VISDOC_CODE_BLOCK_3} method.

#
Parameters:
listener:
the listener object which want to
receive notification from this command
#
rest :
optional arguments corresponding to the
{VISDOC_CODE_BLOCK_4} behavior.
#
Returns:
  • {VISDOC_CODE_BLOCK_5} if the listener have been added as result
    of the call
    #

addEventListener

public function addEventListener (
type:String, listener:Object, rest) : Boolean

addServiceListener

public function addServiceListener (
listener:ServiceListener) : Boolean

fireCommandEndEvent

public function fireCommandEndEvent (
) : void

Fires the {VISDOC_CODE_BLOCK_7} event to the listeners of this command.
#

fireError

public function fireError (
) : void

Specified by:

fireResult

public function fireResult (
) : void

Specified by:

getArguments

public function getArguments (
) : Object

Specified by:

getResult

public function getResult (
) : Object

Specified by:

getServiceListener

public function getServiceListener (

isRunning

public function isRunning (
) : Boolean

release

public function release (
) : void

Specified by:

removeASyncCommandListener

public function removeASyncCommandListener (
listener:ASyncCommandListener) : Boolean

Removes the passed-in command listener object as listener
for this command events.
#
Parameters:
listener:
the listener object which to remove from this
command's listeners
#
Returns:
  • {VISDOC_CODE_BLOCK_6} if the listener have been removed as result
    of the call
    #

removeEventListener

public function removeEventListener (
type:String, listener:Object) : Boolean

removeServiceListener

public function removeServiceListener (
listener:ServiceListener) : Boolean

run

public function run (
) : void

setArguments

public function setArguments (
rest) : void

Specified by:

setResult

public function setResult (
result:Object) : void

Specified by: