/// <remarks/> public void SendMessageAsync(System.Guid sessionID, UserID userIdTo, string message) { this.SendMessageAsync(sessionID, userIdTo, message, null); }
/// <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); }
/// <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); }
public bool SendMessage(System.Guid sessionID, UserID userIdTo, string message) { object[] results = this.Invoke("SendMessage", new object[] { sessionID, userIdTo, message}); return ((bool)(results[0])); }
/// <remarks/> public void LogoutAsync(UserID userID) { this.LogoutAsync(userID, null); }
public void Logout(UserID userID) { this.Invoke("Logout", new object[] { userID}); }
/// <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); }
/// <remarks/> public void StartSessionAsync(System.Guid sessionID, UserID userID) { this.StartSessionAsync(sessionID, userID, null); }
public void StartSession(System.Guid sessionID, UserID userID) { this.Invoke("StartSession", new object[] { sessionID, userID}); }