Example #1
0
 public ListRecordingSubscriptionsRequestEncoder PseudoIndex(int value)
 {
     _buffer.PutInt(_offset + 16, value, ByteOrder.LittleEndian);
     return(this);
 }
Example #2
0
 public SessionCloseEventEncoder CloseReason(CloseReason value)
 {
     _buffer.PutInt(_offset + 24, (int)value, ByteOrder.LittleEndian);
     return(this);
 }
 public NewLeadershipTermEventEncoder LeaderMemberId(int value)
 {
     _buffer.PutInt(_offset + 24, value, ByteOrder.LittleEndian);
     return(this);
 }
        /// <summary>
        /// set stream id field
        /// </summary>
        /// <param name="streamId"> field value </param>
        /// <returns> flyweight </returns>
        public ImageMessageFlyweight StreamId(int streamId)
        {
            buffer.PutInt(offset + STREAM_ID_FIELD_OFFSET, streamId);

            return(this);
        }
 public ClusterActionRequestEncoder Action(ClusterAction value)
 {
     _buffer.PutInt(_offset + 24, (int)value, ByteOrder.LittleEndian);
     return(this);
 }
Example #6
0
 public EntriesEncoder ServiceId(int value)
 {
     _buffer.PutInt(_offset + 40, value, ByteOrder.LittleEndian);
     return(this);
 }
Example #7
0
        /// <summary>
        /// Set the session id field
        /// </summary>
        /// <param name="sessionId"> field value </param>
        /// <returns> flyweight </returns>
        public PublicationBuffersReadyFlyweight SessionId(int sessionId)
        {
            _buffer.PutInt(_offset + SESSION_ID_OFFSET, sessionId);

            return(this);
        }
 public RecordingStartedEncoder SessionId(int value)
 {
     _buffer.PutInt(_offset + 16, value, ByteOrder.LittleEndian);
     return(this);
 }
 /// <summary>
 /// Set the error code for the command.
 /// </summary>
 /// <param name="code"> for the error </param>
 /// <returns> flyweight </returns>
 public ErrorResponseFlyweight ErrorCode(ErrorCode code)
 {
     _buffer.PutInt(_offset + ERROR_CODE_OFFSET, (int)code);
     return(this);
 }
 public ListRecordingsRequestEncoder RecordCount(int value)
 {
     _buffer.PutInt(_offset + 24, value, ByteOrder.LittleEndian);
     return(this);
 }
 public SessionOpenEventEncoder ResponseStreamId(int value)
 {
     _buffer.PutInt(_offset + 32, value, ByteOrder.LittleEndian);
     return(this);
 }
Example #12
0
 public CommitPositionEncoder LeaderMemberId(int value)
 {
     _buffer.PutInt(_offset + 16, value, ByteOrder.LittleEndian);
     return(this);
 }
Example #13
0
 public MarkFileHeaderEncoder Version(int value)
 {
     _buffer.PutInt(_offset + 0, value, ByteOrder.LittleEndian);
     return(this);
 }
 public TerminationAckEncoder MemberId(int value)
 {
     _buffer.PutInt(_offset + 8, value, ByteOrder.LittleEndian);
     return(this);
 }
Example #15
0
 public SessionEventEncoder LeaderMemberId(int value)
 {
     _buffer.PutInt(_offset + 16, value, ByteOrder.LittleEndian);
     return(this);
 }
 public AuthConnectRequestEncoder ResponseStreamId(int value)
 {
     _buffer.PutInt(_offset + 8, value, ByteOrder.LittleEndian);
     return(this);
 }
Example #17
0
 public RecordingDescriptorEncoder InitialTermId(int value)
 {
     _buffer.PutInt(_offset + 56, value, ByteOrder.LittleEndian);
     return(this);
 }
        /// <summary>
        /// Set channel status counter id field
        /// </summary>
        /// <param name="counterId"> field value </param>
        /// <returns> flyweight </returns>
        public SubscriptionReadyFlyweight ChannelStatusCounterId(int counterId)
        {
            buffer.PutInt(offset + CHANNEL_STATUS_INDICATOR_ID_OFFSET, counterId);

            return(this);
        }
Example #19
0
 public SnapshotRecordingQueryEncoder RequestMemberId(int value)
 {
     _buffer.PutInt(_offset + 8, value, ByteOrder.LittleEndian);
     return(this);
 }
Example #20
0
 public ClientSessionEncoder ResponseStreamId(int value)
 {
     _buffer.PutInt(_offset + 8, value, ByteOrder.LittleEndian);
     return(this);
 }
Example #21
0
        /// <summary>
        /// Set counter id field
        /// </summary>
        /// <param name="counterId"> field value </param>
        /// <returns> flyweight </returns>
        public CounterUpdateFlyweight CounterId(int counterId)
        {
            buffer.PutInt(offset + COUNTER_ID_OFFSET, counterId);

            return(this);
        }
 public StartRecordingRequest2Encoder StreamId(int value)
 {
     _buffer.PutInt(_offset + 16, value, ByteOrder.LittleEndian);
     return(this);
 }
 public JoinClusterEncoder MemberId(int value)
 {
     _buffer.PutInt(_offset + 8, value, ByteOrder.LittleEndian);
     return(this);
 }
 public FindLastMatchingRecordingRequestEncoder SessionId(int value)
 {
     _buffer.PutInt(_offset + 24, value, ByteOrder.LittleEndian);
     return(this);
 }
Example #25
0
        /// <summary>
        /// set session id field </summary>
        /// <param name="sessionId"> field value </param>
        /// <returns> flyweight </returns>
        public ImageBuffersReadyFlyweight SessionId(int sessionId)
        {
            _buffer.PutInt(_offset + SESSION_ID_OFFSET, sessionId);

            return this;
        }
Example #26
0
 public RecoveryPlanEncoder RequestMemberId(int value)
 {
     _buffer.PutInt(_offset + 8, value, ByteOrder.LittleEndian);
     return(this);
 }
Example #27
0
 public SnapshotMarkerEncoder Index(int value)
 {
     _buffer.PutInt(_offset + 24, value, ByteOrder.LittleEndian);
     return(this);
 }
Example #28
0
 public LogsEncoder InitialTermId(int value)
 {
     _buffer.PutInt(_offset + 48, value, ByteOrder.LittleEndian);
     return(this);
 }
Example #29
0
 public RequestVoteEncoder CandidateMemberId(int value)
 {
     _buffer.PutInt(_offset + 16, value, ByteOrder.LittleEndian);
     return(this);
 }
 public StopCatchupEncoder FollowerMemberId(int value)
 {
     _buffer.PutInt(_offset + 8, value, ByteOrder.LittleEndian);
     return(this);
 }