~drizzle-trunk/drizzle/development

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
  Represents events on the server
*/
package drizzled.message;
option optimize_for = SPEED;

option java_package = "org.drizzle.messages";
option java_outer_classname = "EventMessage";


/*
 * An Event message can represent any Drizzle related action that
 * a replication stream reader may be interested in, such as starting
 * up or shutting down Drizzle.
 */
message Event
{
  enum Type
  {
    STARTUP = 0;         /* Drizzle startup */
    SHUTDOWN = 1;        /* Normal Drizzle shutdown */
  }

  required Type type = 1;
}