示例#1
0
 /// <remarks/>
 public void SendMessageAsync(System.Guid sessionID, UserID userIdTo, string message) {
     this.SendMessageAsync(sessionID, userIdTo, message, null);
 }
示例#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);
 }
示例#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);
 }
示例#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]));
 }
示例#5
0
 /// <remarks/>
 public void LogoutAsync(UserID userID) {
     this.LogoutAsync(userID, null);
 }
示例#6
0
 public void Logout(UserID userID) {
     this.Invoke("Logout", new object[] {
                 userID});
 }
示例#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);
 }
示例#8
0
 /// <remarks/>
 public void StartSessionAsync(System.Guid sessionID, UserID userID) {
     this.StartSessionAsync(sessionID, userID, null);
 }
示例#9
0
 public void StartSession(System.Guid sessionID, UserID userID) {
     this.Invoke("StartSession", new object[] {
                 sessionID,
                 userID});
 }