com.microsoft.signalr.InvocationHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of signalr Show documentation
Show all versions of signalr Show documentation
ASP.NET Core SignalR Client for Java applications
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
package com.microsoft.signalr;
import java.lang.reflect.Type;
import java.util.Arrays;
import java.util.List;
class InvocationHandler {
private final List types;
private final Object action;
InvocationHandler(Object action, Type... types) {
this.action = action;
this.types = Arrays.asList(types);
}
public List getTypes() {
return types;
}
public Object getAction() {
return action;
}
public boolean getHasResult() {
return action instanceof FunctionBase;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy