groovyx.gpars.actor.impl
Class SDAClosure

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

public abstract class SDAClosure
extends java.lang.Object

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

Author:
Vaclav Pech

Constructor Summary
private SDAClosure()
           
 
Method Summary
static
<T> groovy.lang.Closure
createSDAClosure(StaticDispatchActor<T> dda)
          Creates the closure for a given SDA
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SDAClosure

private SDAClosure()
Method Detail

createSDAClosure

public static <T> groovy.lang.Closure createSDAClosure(StaticDispatchActor<T> 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.