コード例 #1
0
 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);
 }
コード例 #2
0
 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);
 }
コード例 #3
0
 public GetNotificationsUserTimeSpanRequest(LongPolling.User user, System.TimeSpan timeout)
 {
     this.user    = user;
     this.timeout = timeout;
 }
コード例 #4
0
 public GetNotificationsRequest(LongPolling.User user)
 {
     this.user = user;
 }
コード例 #5
0
 public void Unregister(LongPolling.User user)
 {
     base.Channel.Unregister(user);
 }
コード例 #6
0
 public void Register(LongPolling.User client)
 {
     base.Channel.Register(client);
 }