view src/main/java/christie/daemon/RemoteMessage.java @ 17:59fabebb67d8

delete cgmName as String, add cgmID as int
author Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
date Thu, 18 Jan 2018 16:49:54 +0900
parents bcd4f2c19185
children 77583ea56656
line wrap: on
line source

package christie.daemon;

import org.msgpack.annotation.Message;

@Message
public class RemoteMessage {
    public int type;//PUT, PEEKなどのコマンドタイプ
    public int cgmID;
    public String key;//DS key
    public String clazz;

    public RemoteMessage(){}

    public RemoteMessage(int type, int cgmID, String key, String clazz) {
        this.type = type;
        this.cgmID = cgmID;
        this.key = key;
        this.clazz = clazz;
    }
}