groovyx.gpars.actor
Class DefaultActorClosure

java.lang.Object
  extended by groovy.lang.GroovyObjectSupport
      extended by groovy.lang.Closure
          extended by groovyx.gpars.actor.DefaultActorClosure
All Implemented Interfaces:
groovy.lang.GroovyObject, java.io.Serializable, java.lang.Cloneable, java.lang.Runnable

public final class DefaultActorClosure
extends groovy.lang.Closure

Represents the DDA closure to invoke appropriate message handlers based on message runtime type

Author:
Vaclav Pech
See Also:
Serialized Form

Field Summary
private  DefaultActor myActor
           
private static long serialVersionUID
           
 
Fields inherited from class groovy.lang.Closure
DELEGATE_FIRST, DELEGATE_ONLY, DONE, maximumNumberOfParameters, OWNER_FIRST, OWNER_ONLY, parameterTypes, SKIP, TO_SELF
 
Constructor Summary
DefaultActorClosure(DefaultActor actor)
           
 
Method Summary
 java.lang.Object call(java.lang.Object arguments)
           
 
Methods inherited from class groovy.lang.Closure
asWritable, call, call, clone, curry, getDelegate, getDirective, getMaximumNumberOfParameters, getOwner, getParameterTypes, getProperty, getResolveStrategy, getThisObject, isCase, ncurry, rcurry, run, setDelegate, setDirective, setProperty, setResolveStrategy, throwRuntimeException
 
Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, invokeMethod, setMetaClass
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myActor

private final DefaultActor myActor

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

DefaultActorClosure

DefaultActorClosure(DefaultActor actor)
Method Detail

call

public java.lang.Object call(java.lang.Object arguments)
Overrides:
call in class groovy.lang.Closure

Copyright © 2008–2010 Václav Pech. All Rights Reserved.