~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/event.proto

  • Committer: Stewart Smith
  • Date: 2011-01-14 05:18:23 UTC
  • mto: (2086.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 2087.
  • Revision ID: stewart@flamingspork.com-20110114051823-14fyn2kvg8pc5a15
\r and trailing whitespace removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  Represents events on the server
 
3
*/
 
4
package drizzled.message;
 
5
option optimize_for = SPEED;
 
6
 
 
7
option java_package = "org.drizzle.messages";
 
8
option java_outer_classname = "EventMessage";
 
9
 
 
10
 
 
11
/*
 
12
 * An Event message can represent any Drizzle related action that
 
13
 * a replication stream reader may be interested in, such as starting
 
14
 * up or shutting down Drizzle.
 
15
 */
 
16
message Event
 
17
{
 
18
  enum Type
 
19
  {
 
20
    STARTUP = 0;         /* Drizzle startup */
 
21
    SHUTDOWN = 1;        /* Normal Drizzle shutdown */
 
22
  }
 
23
 
 
24
  required Type type = 1;
 
25
}