biz.hammurapi.util
Class InvocationPump.Command

java.lang.Object
  extended by biz.hammurapi.util.InvocationPump.Command
Enclosing class:
InvocationPump

protected abstract class InvocationPump.Command
extends java.lang.Object


Constructor Summary
protected InvocationPump.Command()
           
 
Method Summary
protected abstract  java.lang.Object execute()
          Put single-threaded functionality here
 java.lang.Object post()
          Posts the command to the queue and waits until it is executed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvocationPump.Command

protected InvocationPump.Command()
Method Detail

execute

protected abstract java.lang.Object execute()
                                     throws java.lang.Throwable
Put single-threaded functionality here

Throws:
java.lang.Throwable

post

public java.lang.Object post()
                      throws java.lang.Throwable
Posts the command to the queue and waits until it is executed

Throws:
java.lang.Throwable


Copyright © 2003 Hammurapi Group. All Rights Reserved.