Beispiel #1
0
        /// <summary>
        /// Sends a Join query to the Session asynchronously
        /// </summary>
        /// <param name="availableSession">The Session we are trying to join</param>
        public override void JoinSession(AvailableSession availableSession)
        {
            _networkSessionLocker = JoiningSession;

            NetworkSession.BeginJoin(((LiveAvailableSession)availableSession).AvailableNetworkSession,
                                     OnLiveSessionJoined, _networkSessionLocker);
        }
Beispiel #2
0
        /// <summary>
        /// Sends a Join query to the Session asynchronously
        /// </summary>
        /// <param name="availableSession">The Session we are trying to join</param>
        public override void JoinSession(AvailableSession availableSession)
        {
            if (CurrentSession != null)
            {
                throw new CoreException("Session is already running");
            }

            _networkSessionLocker = JoiningSession;
            LidgrenSession.BeginJoin(availableSession as LidgrenAvailableSession, OnLidgrenSessionJoined, _networkSessionLocker);
        }
Beispiel #3
0
        /// <summary>
        /// Sends a Join query to the Session asynchronously
        /// </summary>
        /// <param name="availableSession">The Session we are trying to join</param>
        public override void JoinSession(AvailableSession availableSession)
        {
            _networkSessionLocker = JoiningSession;

            NetworkSession.BeginJoin(((LiveAvailableSession) availableSession).AvailableNetworkSession,
                                     OnLiveSessionJoined, _networkSessionLocker);
        }
Beispiel #4
0
        /// <summary>
        /// Sends a Join query to the Session asynchronously
        /// </summary>
        /// <param name="availableSession">The Session we are trying to join</param>
        public override void JoinSession(AvailableSession availableSession)
        {
            if (CurrentSession != null)
                throw new CoreException("Session is already running");

            _networkSessionLocker = JoiningSession;
            LidgrenSession.BeginJoin(availableSession as LidgrenAvailableSession, OnLidgrenSessionJoined, _networkSessionLocker);
        }
Beispiel #5
0
 /// <summary>
 /// Sends a Join query to the Session asynchronously
 /// </summary>
 /// <param name="availableSession">The Session we are trying to join</param>
 public override void JoinSession(AvailableSession availableSession)
 {
     throw new NotImplementedException();
 }
Beispiel #6
0
 /// <summary>
 /// Sends a Join query to the Session asynchronously
 /// </summary>
 /// <param name="availableSession">The Session we are trying to join</param>
 public override void JoinSession(AvailableSession availableSession)
 {
     throw new NotImplementedException();
 }