![JAR search and dependency download from the Maven repository](/logo.png)
com.microsoft.azure.functions.signalr.SignalRMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-functions-java-library-signalr Show documentation
Show all versions of azure-functions-java-library-signalr Show documentation
This package contains all Java interfaces and annotations to interact with Microsoft Azure functions runtime for SignalR Service.
The newest version!
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.functions.signalr;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
*
* SignalR Message to use with SignalR output binding
*
*
* @since 1.0.0
*/
public class SignalRMessage {
/**
* Constructor
*/
public SignalRMessage() {
}
/**
* Constructor
*
* @param target Target method to invoke on clients
* @param arguments Arguments to pass to target method
*/
public SignalRMessage(String target, Object... arguments) {
this.target = target;
this.arguments.addAll(Arrays.asList(arguments));
}
/**
* User to send the message to
*/
public String userId = "";
/**
* Group to send the message to
*/
public String groupName = "";
/**
* Target method to invoke on clients
*/
public String target;
/**
* Arguments to pass to target method
*/
public List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy