org.atmosphere.wasync.transport
Class TransportsUtil

java.lang.Object
  extended by org.atmosphere.wasync.transport.TransportsUtil

public class TransportsUtil
extends Object


Constructor Summary
TransportsUtil()
           
 
Method Summary
static boolean invokeFunction(Event e, List<Decoder<? extends Object,?>> decoders, List<FunctionWrapper> functions, Class<?> implementedType, Object instanceType, String functionName, FunctionResolver resolver)
           
static boolean invokeFunction(List<Decoder<? extends Object,?>> decoders, List<FunctionWrapper> functions, Class<?> implementedType, Object instanceType, String functionName, FunctionResolver resolver)
           
static List<Object> matchDecoder(Event e, Object instanceType, List<Decoder<? extends Object,?>> decoders, List<Object> decodedObjects)
           
static boolean matchFunction(Object instanceType, Class[] typeArguments, Class<?> implementedType, FunctionResolver resolver, String originalMessage, Object functionName, FunctionWrapper wrapper, Function f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransportsUtil

public TransportsUtil()
Method Detail

invokeFunction

public static boolean invokeFunction(List<Decoder<? extends Object,?>> decoders,
                                     List<FunctionWrapper> functions,
                                     Class<?> implementedType,
                                     Object instanceType,
                                     String functionName,
                                     FunctionResolver resolver)

invokeFunction

public static boolean invokeFunction(Event e,
                                     List<Decoder<? extends Object,?>> decoders,
                                     List<FunctionWrapper> functions,
                                     Class<?> implementedType,
                                     Object instanceType,
                                     String functionName,
                                     FunctionResolver resolver)

matchFunction

public static boolean matchFunction(Object instanceType,
                                    Class[] typeArguments,
                                    Class<?> implementedType,
                                    FunctionResolver resolver,
                                    String originalMessage,
                                    Object functionName,
                                    FunctionWrapper wrapper,
                                    Function f)

matchDecoder

public static List<Object> matchDecoder(Event e,
                                        Object instanceType,
                                        List<Decoder<? extends Object,?>> decoders,
                                        List<Object> decodedObjects)


Copyright © 2013. All Rights Reserved.