Пример #1
0
        /// <summary>
        /// set channel field
        /// </summary>
        /// <param name="channel"> field value </param>
        /// <returns> flyweight </returns>
        public ImageMessageFlyweight Channel(string channel)
        {
            lengthOfChannel = buffer.PutStringUtf8(offset + CHANNEL_OFFSET, channel);

            return(this);
        }
Пример #2
0
 /// <summary>
 /// Set the error message
 /// </summary>
 /// <param name="message"> to associate with the error </param>
 /// <returns> flyweight </returns>
 public ErrorResponseFlyweight ErrorMessage(string message)
 {
     _buffer.PutStringUtf8(_offset + ERROR_MESSAGE_OFFSET, message);
     return(this);
 }
 public PublicationBuffersReadyFlyweight LogFileName(string logFileName)
 {
     _buffer.PutStringUtf8(_offset + LOGFILE_FIELD_OFFSET, logFileName);
     return(this);
 }
Пример #4
0
 /// <summary>
 /// Set the log filename
 /// </summary>
 /// <param name="logFileName"> for the image </param>
 /// <returns> flyweight </returns>
 public ImageBuffersReadyFlyweight LogFileName(string logFileName)
 {
     _buffer.PutStringUtf8(_offset + LogFileNameOffset(), logFileName);
     return(this);
 }