Skip to content

Instantly share code, notes, and snippets.

@kgadek
Created March 22, 2013 02:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kgadek/5218420 to your computer and use it in GitHub Desktop.
Save kgadek/5218420 to your computer and use it in GitHub Desktop.
Propozycja rozwiązania dla https://github.com/kgadek/Amber/issues/9
extend amber.DriverMsg {
// DriverMsg.type = DriverMsg.MsgType.PING / DriverMsg.MsgType.PONG
optional KeepaliveMsg keepaliveMsg = 10;
}
message Keepalive {
optional uint32 time = 1; // epoch! czas wysłania
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment