8 #ifndef NTCORE_INETWORKCONNECTION_H_ 9 #define NTCORE_INETWORKCONNECTION_H_ 14 #include "ntcore_cpp.h" 20 enum State { kCreated, kInit, kHandshake, kSynchronized, kActive, kDead };
29 virtual void QueueOutgoing(std::shared_ptr<Message> msg) = 0;
30 virtual void PostOutgoing(
bool keep_alive) = 0;
32 virtual unsigned int proto_rev()
const = 0;
33 virtual void set_proto_rev(
unsigned int proto_rev) = 0;
35 virtual State state()
const = 0;
36 virtual void set_state(State state) = 0;
41 #endif // NTCORE_INETWORKCONNECTION_H_ NetworkTables Connection Information.
Definition: ntcore_cpp.h:62
Definition: IStorage.h:21
Definition: INetworkConnection.h:18