public LongPolling.Notification[] GetNotifications(LongPolling.User user) { LongPolling.Client.NotificationServiceReference.GetNotificationsRequest inValue = new LongPolling.Client.NotificationServiceReference.GetNotificationsRequest(); inValue.user = user; LongPolling.Client.NotificationServiceReference.GetNotificationsResponse retVal = ((LongPolling.Client.NotificationServiceReference.INotificationService)(this)).GetNotifications(inValue); return(retVal.GetNotificationsResult); }
public LongPolling.Notification[] GetNotificationsUserTimeSpan(LongPolling.User user, System.TimeSpan timeout) { LongPolling.Client.NotificationServiceReference.GetNotificationsUserTimeSpanRequest inValue = new LongPolling.Client.NotificationServiceReference.GetNotificationsUserTimeSpanRequest(); inValue.user = user; inValue.timeout = timeout; LongPolling.Client.NotificationServiceReference.GetNotificationsUserTimeSpanResponse retVal = ((LongPolling.Client.NotificationServiceReference.INotificationService)(this)).GetNotificationsUserTimeSpan(inValue); return(retVal.GetNotificationsUserTimeSpanResult); }
public GetNotificationsUserTimeSpanRequest(LongPolling.User user, System.TimeSpan timeout) { this.user = user; this.timeout = timeout; }
public GetNotificationsRequest(LongPolling.User user) { this.user = user; }
public void Unregister(LongPolling.User user) { base.Channel.Unregister(user); }
public void Register(LongPolling.User client) { base.Channel.Register(client); }