Esempio n. 1
0
 /// <summary>
 /// Set the log filename in ASCII
 /// </summary>
 /// <param name="logFileName"> for the image </param>
 /// <returns> flyweight </returns>
 public ImageBuffersReadyFlyweight LogFileName(string logFileName)
 {
     _buffer.PutStringAscii(_offset + LogFileNameOffset(), logFileName);
     return(this);
 }
Esempio n. 2
0
        /// <summary>
        /// Set the channel field as ASCII
        /// </summary>
        /// <param name="channel"> field value </param>
        /// <returns> flyweight </returns>
        public ImageMessageFlyweight Channel(string channel)
        {
            lengthOfChannel = buffer.PutStringAscii(offset + CHANNEL_OFFSET, channel);

            return(this);
        }
Esempio n. 3
0
 /// <summary>
 /// Set the log file name in ASCII.
 /// </summary>
 /// <param name="logFileName"> for the publication buffers. </param>
 /// <returns> the log file name in ASCII. </returns>
 public PublicationBuffersReadyFlyweight LogFileName(string logFileName)
 {
     _buffer.PutStringAscii(_offset + LOGFILE_FIELD_OFFSET, logFileName);
     return(this);
 }
 /// <summary>
 /// Set the log filename in ASCII
 /// </summary>
 /// <param name="logFileName"> for the image </param>
 /// <returns> flyweight </returns>
 public ImageBuffersReadyFlyweight LogFileName(string logFileName)
 {
     _buffer.PutStringAscii(_offset + LOG_FILE_NAME_OFFSET, logFileName);
     return(this);
 }
 /// <summary>
 /// Set the error message
 /// </summary>
 /// <param name="message"> to associate with the error </param>
 /// <returns> flyweight </returns>
 public ErrorResponseFlyweight ErrorMessage(string message)
 {
     _buffer.PutStringAscii(_offset + ERROR_MESSAGE_OFFSET, message);
     return(this);
 }