org.atmosphere.wasync.transport
Class TransportsUtil

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

public class TransportsUtil
extends java.lang.Object


Constructor Summary
TransportsUtil()
           
 
Method Summary
static boolean invokeFunction(Event e, java.util.List<Decoder<? extends java.lang.Object,?>> decoders, java.util.List<FunctionWrapper> functions, java.lang.Class<?> implementedType, java.lang.Object instanceType, java.lang.String functionName, FunctionResolver resolver)
           
static boolean invokeFunction(java.util.List<Decoder<? extends java.lang.Object,?>> decoders, java.util.List<FunctionWrapper> functions, java.lang.Class<?> implementedType, java.lang.Object instanceType, java.lang.String functionName, FunctionResolver resolver)
           
static java.util.List<java.lang.Object> matchDecoder(Event e, java.lang.Object instanceType, java.util.List<Decoder<? extends java.lang.Object,?>> decoders, java.util.List<java.lang.Object> decodedObjects)
           
static boolean matchFunction(java.lang.Object instanceType, java.lang.Class[] typeArguments, java.lang.Class<?> implementedType, FunctionResolver resolver, java.lang.String originalMessage, java.lang.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(java.util.List<Decoder<? extends java.lang.Object,?>> decoders,
                                     java.util.List<FunctionWrapper> functions,
                                     java.lang.Class<?> implementedType,
                                     java.lang.Object instanceType,
                                     java.lang.String functionName,
                                     FunctionResolver resolver)

invokeFunction

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

matchFunction

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

matchDecoder

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


Copyright © 2014. All Rights Reserved.