Exemple #1
0
        /// <summary>
        /// Starts the connection, prepares the received data buffer and waits for data.
        /// </summary>
        public void Start()
        {
            mDataBuffer = new byte[RECEIVEDATA_BUFFER_SIZE];
            mDataReceivedCallback = new AsyncCallback(DataReceived);
            mRouteReceivedDataCallback = new IonTcpConnection.RouteReceivedDataCallback(HandleConnectionData);

            this.mUser = new User(this);
            this.mUser.StartLoggedInValues(this);
            WaitForData();
        }
Exemple #2
0
 /// <summary>
 /// Whisper a message from the User to another User in the room.
 /// </summary>
 /// <param name="Recipient">The User to recieve the message.</param>
 /// <param name="Message">The message to send.</param>
 /// <returns>The current User object. This allows chaining.</returns>
 public User Whisper(User Recipient, string Message)
 {
     return this;
 }