org.codehaus.gpars

groovyx.gpars.actor.impl
[Java] Class SDAClosure

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

public abstract class SDAClosure

Creates a SDA closure to invoke appropriate actor's message handlers based on message compile-type type

Authors:
Vaclav Pech


Constructor Summary
private SDAClosure()

 
Method Summary
static groovy.lang.Closure createSDAClosure(StaticDispatchActor dda)

Creates the closure for a given SDA

 
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

SDAClosure

private SDAClosure()


 
Method Detail

createSDAClosure

public static groovy.lang.Closure createSDAClosure(StaticDispatchActor dda)
Creates the closure for a given SDA
Parameters:
dda - The StaticDispatchActor to dispatch messages on
Returns:
The closure to use for static dispatch to the given actor


 

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