syntax = "proto2";

message PointXY {
    required float x = 1;
    required float y = 2;
}

message clouds {
    repeated PointXY clamp_1 = 1;
    repeated PointXY clamp_2 = 2;
    repeated PointXY clamp_3 = 3;
    repeated PointXY clamp_4 = 4;
}

message RequestCmd {
    optional bool start = 1;
}

service StreamServer{
  rpc OpenStream(RequestCmd) returns(stream clouds){}
  rpc CloseStream(RequestCmd) returns(stream clouds){}
}

