Ejemplo n.º 1
0
        /// <summary>
        ///     Sends the <see cref="NetMessage"/> to the specified <see cref="NetSocket"/>.
        /// </summary>
        public static void SendMessage(NetSocket socket, byte[] sessionId, NetMessage message)
        {
            if (sessionId == null)
            {
                throw new ArgumentNullException("sessionId");
            }

            NetMessaging.Send(socket, message, sessionId);
        }
Ejemplo n.º 2
0
 /// <summary>
 ///     Sends the <see cref="NetMessage"/> to the specified <see cref="NetSocket"/>.
 /// </summary>
 public static void SendMessage(NetSocket socket, NetMessage message)
 {
     NetMessaging.Send(socket, message);
 }
Ejemplo n.º 3
0
 /// <summary>
 ///     Sends the <see cref="NetMessage"/> to the specified <see cref="NetSocket"/>.
 /// </summary>
 public static void SendMessage(int serviceNodeType, int serviceNodeId, byte[] sessionId, NetMessage message)
 {
     NetMessaging.Send(serviceNodeType, serviceNodeId, message, sessionId);
 }