Exemple #1
0
 /// <remarks/>
 public void SendMessageAsync(System.Guid sessionID, UserID userIdTo, string message) {
     this.SendMessageAsync(sessionID, userIdTo, message, null);
 }
Exemple #2
0
 /// <remarks/>
 public void SendMessageAsync(System.Guid sessionID, UserID userIdTo, string message, object userState) {
     if ((this.SendMessageOperationCompleted == null)) {
         this.SendMessageOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendMessageOperationCompleted);
     }
     this.InvokeAsync("SendMessage", new object[] {
                 sessionID,
                 userIdTo,
                 message}, this.SendMessageOperationCompleted, userState);
 }
Exemple #3
0
 /// <remarks/>
 public void LogoutAsync(UserID userID, object userState) {
     if ((this.LogoutOperationCompleted == null)) {
         this.LogoutOperationCompleted = new System.Threading.SendOrPostCallback(this.OnLogoutOperationCompleted);
     }
     this.InvokeAsync("Logout", new object[] {
                 userID}, this.LogoutOperationCompleted, userState);
 }
Exemple #4
0
 public bool SendMessage(System.Guid sessionID, UserID userIdTo, string message) {
     object[] results = this.Invoke("SendMessage", new object[] {
                 sessionID,
                 userIdTo,
                 message});
     return ((bool)(results[0]));
 }
Exemple #5
0
 /// <remarks/>
 public void LogoutAsync(UserID userID) {
     this.LogoutAsync(userID, null);
 }
Exemple #6
0
 public void Logout(UserID userID) {
     this.Invoke("Logout", new object[] {
                 userID});
 }
Exemple #7
0
 /// <remarks/>
 public void StartSessionAsync(System.Guid sessionID, UserID userID, object userState) {
     if ((this.StartSessionOperationCompleted == null)) {
         this.StartSessionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnStartSessionOperationCompleted);
     }
     this.InvokeAsync("StartSession", new object[] {
                 sessionID,
                 userID}, this.StartSessionOperationCompleted, userState);
 }
Exemple #8
0
 /// <remarks/>
 public void StartSessionAsync(System.Guid sessionID, UserID userID) {
     this.StartSessionAsync(sessionID, userID, null);
 }
Exemple #9
0
 public void StartSession(System.Guid sessionID, UserID userID) {
     this.Invoke("StartSession", new object[] {
                 sessionID,
                 userID});
 }