EncodeResponseMessage() публичный статический Метод

Transform the RESPONSE_MESSAGE to a byte array
public static EncodeResponseMessage ( RESPONSE_MESSAGE responseMessage ) : byte[]
responseMessage RESPONSE_MESSAGE The RESPONSE_MESSAGE message
Результат byte[]
Пример #1
0
        /// <summary>
        /// Send Reponse Message to the client.
        /// </summary>
        /// <param name="responseMessage">The response message.</param>
        public void SendPackage(RESPONSE_MESSAGE responseMessage)
        {
            this.SendByte(EncodeMessage.EncodeResponseMessage(responseMessage));

            if (this.logger != null)
            {
                this.logger.AddDebug("Pchc response message is sent successfully.");
            }
        }