using System.Threading.Tasks;
namespace OnlineSalesAutoCrop.CoreAPI.SignalRHub
{
///
///
///
public interface INotificationHub
{
///
///
///
/// User id to notify.
/// 1: Force to logout all, 2: Same user is logged in from another device,
/// 3: Subtask Start/Stop/Completed, 4: Subtask's remarks added
/// Another parameter.
/// Ip address from which the user is logged in.
///
Task NotifySubscriber(int userId, int msgType, int itemId, string ipAddress);
}
}