source: events/src/main/java/geniusweb/inform/Inform.java@ 38

Last change on this file since 38 was 35, checked in by bart, 3 years ago

Fixed windows time-out.

File size: 936 bytes
Line 
1package geniusweb.inform;
2
3import com.fasterxml.jackson.annotation.JsonAutoDetect;
4import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;
5import com.fasterxml.jackson.annotation.JsonSubTypes;
6import com.fasterxml.jackson.annotation.JsonTypeInfo;
7
8/**
9 * base class of all information sent to a Party
10 */
11@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.WRAPPER_OBJECT)
12@JsonSubTypes({ @JsonSubTypes.Type(value = ActionDone.class),
13 @JsonSubTypes.Type(value = Inform.class),
14 @JsonSubTypes.Type(value = Settings.class),
15 @JsonSubTypes.Type(value = Finished.class),
16 @JsonSubTypes.Type(value = YourTurn.class),
17 @JsonSubTypes.Type(value = Voting.class),
18 @JsonSubTypes.Type(value = OptIn.class),
19 @JsonSubTypes.Type(value = OptInWithValue.class) })
20@JsonAutoDetect(fieldVisibility = Visibility.ANY, getterVisibility = Visibility.NONE, setterVisibility = Visibility.NONE)
21public interface Inform {
22
23}
Note: See TracBrowser for help on using the repository browser.