File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
src/main/java/com/github/shyiko/mysql/binlog/event Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 15
15
*/
16
16
package com .github .shyiko .mysql .binlog .event ;
17
17
18
+ import java .io .Serializable ;
19
+
18
20
/**
19
21
* @author <a href="mailto:stanley.shyiko@gmail.com">Stanley Shyiko</a>
20
22
*/
21
- public class Event {
23
+ public class Event implements Serializable {
22
24
23
25
private EventHeader header ;
24
26
private EventData data ;
Original file line number Diff line number Diff line change 15
15
*/
16
16
package com .github .shyiko .mysql .binlog .event ;
17
17
18
+ import java .io .Serializable ;
19
+
18
20
/**
19
21
* @author <a href="mailto:stanley.shyiko@gmail.com">Stanley Shyiko</a>
20
22
*/
21
- public interface EventData {
23
+ public interface EventData extends Serializable {
22
24
}
Original file line number Diff line number Diff line change 15
15
*/
16
16
package com .github .shyiko .mysql .binlog .event ;
17
17
18
+ import java .io .Serializable ;
19
+
18
20
/**
19
21
* @author <a href="mailto:stanley.shyiko@gmail.com">Stanley Shyiko</a>
20
22
*/
21
- public interface EventHeader {
23
+ public interface EventHeader extends Serializable {
22
24
23
25
long getTimestamp ();
24
26
EventType getEventType ();
25
27
long getServerId ();
26
28
long getHeaderLength ();
27
29
long getDataLength ();
28
-
29
30
}
You can’t perform that action at this time.
0 commit comments