Subversion Repositories Code-Repo

Rev

Blame | Last modification | View Log | RSS feed

package org.vt.ece4564.latmb;

message TrackingMessage {
  required int32 id = 1;
  required int32 type = 2;
  repeated Message message = 3;
}

message Message {
  required string message = 1;
  required DateTime timestamp = 2;
  required DateTime expiration = 3;
  optional string username = 4;
  optional string chatroom = 5;
  optional Position coordinates = 6;
  optional double radius = 7;
}

message Position {
  required double latitude = 1;
  required double longitude = 2;
  required double accuracy = 3;
}

message DateTime {
  required int32 year = 1;
  required int32 month = 2;
  required int32 day = 3;
  required int32 hour = 4;
  required int32 minute = 5;
  required int32 second = 6;
}