예제 #1
0
 public static Offset <ReactiveMarkets.PlatformApi.SessionStatus> CreateSessionStatus(FlatBufferBuilder builder,
                                                                                      long source_ts            = 0,
                                                                                      StringOffset sourceOffset = default(StringOffset),
                                                                                      int code = 0,
                                                                                      StringOffset messageOffset = default(StringOffset))
 {
     builder.StartTable(4);
     SessionStatus.AddSourceTs(builder, source_ts);
     SessionStatus.AddMessage(builder, messageOffset);
     SessionStatus.AddCode(builder, code);
     SessionStatus.AddSource(builder, sourceOffset);
     return(SessionStatus.EndSessionStatus(builder));
 }
예제 #2
0
 public static SessionStatus GetRootAsSessionStatus(ByteBuffer _bb, SessionStatus obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }