org.codehaus.gpars

groovyx.gpars.actor.impl
[Groovy] Class DDAClosure

java.lang.Object
  groovyx.gpars.actor.impl.DDAClosure

abstract class DDAClosure

Creates a DDA closure to invoke appropriate actor's message handlers based on message runtime type

Authors:
Vaclav Pech


Constructor Summary
private DDAClosure()

 
Method Summary
static groovy.lang.Closure createDDAClosure(DynamicDispatchActor dda)

Creates the closure for a given DDA

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Constructor Detail

DDAClosure

private DDAClosure()


 
Method Detail

createDDAClosure

static groovy.lang.Closure createDDAClosure(DynamicDispatchActor dda)
Creates the closure for a given DDA
Parameters:
dda - The DynamicDispatchActor to dispatch messages on
Returns:
The closure to use for dynamic dispatch to the given actor


 

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