chrriis.dj.nativeswing.swtimpl
Class LocalMessage

java.lang.Object
  extended by chrriis.dj.nativeswing.swtimpl.Message
      extended by chrriis.dj.nativeswing.swtimpl.CommandMessage
          extended by chrriis.dj.nativeswing.swtimpl.LocalMessage
All Implemented Interfaces:
Serializable

public abstract class LocalMessage
extends CommandMessage

A local message is a special message that is not sent through the messaging interface. It is normally used to sequence a local command among remote commands.

Author:
Christopher Deckers
See Also:
Serialized Form

Constructor Summary
LocalMessage()
          Construct a local message.
 
Method Summary
abstract  Object run(Object[] args)
          Run the message.
protected  Object runCommand()
           
 
Methods inherited from class chrriis.dj.nativeswing.swtimpl.CommandMessage
asyncExec, syncExec, toString
 
Methods inherited from class chrriis.dj.nativeswing.swtimpl.Message
asyncSend, isValid, syncSend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalMessage

public LocalMessage()
Construct a local message.

Method Detail

runCommand

protected Object runCommand()
Overrides:
runCommand in class CommandMessage

run

public abstract Object run(Object[] args)
Run the message.

Specified by:
run in class CommandMessage
Parameters:
args - the arguments that were specified for that command, or an empty array if none were specified.
Returns:
the result.