aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/gnunet/voting/messages/SubmitMessage.java
blob: afd54b9406b2a489e94a1c376e672f2de5f45f4b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package org.gnunet.voting.messages;

import org.gnunet.construct.NestedMessage;
import org.gnunet.construct.UInt32;
import org.gnunet.construct.UnionCase;
import org.gnunet.construct.ZeroTerminatedString;
import org.gnunet.util.GnunetMessage;
import org.gnunet.util.HashCode;

/**
 * Message send by the voter to the election authority to submit a vote.
 */
@UnionCase(42007)
public class SubmitMessage implements GnunetMessage.Body {
    @NestedMessage
    public HashCode ballotGuid;
    @UInt32
    public int choiceId;
}