org.atmosphere.wasync.impl
Class DefaultFunctionResolver

java.lang.Object
  extended by org.atmosphere.wasync.impl.DefaultFunctionResolver
All Implemented Interfaces:
FunctionResolver

public class DefaultFunctionResolver
extends Object
implements FunctionResolver


Constructor Summary
DefaultFunctionResolver()
           
 
Method Summary
 boolean resolve(String message, Object functionName, FunctionWrapper fn)
          Resolve the current message with
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFunctionResolver

public DefaultFunctionResolver()
Method Detail

resolve

public boolean resolve(String message,
                       Object functionName,
                       FunctionWrapper fn)
Description copied from interface: FunctionResolver
Resolve the current message with

Specified by:
resolve in interface FunctionResolver
Parameters:
message - the original response's body received
functionName - the default function name taken from Function.MESSAGE
fn - The current FunctionWrapper
Returns:
true if the Function can be invoked.


Copyright © 2013. All Rights Reserved.