Mercurial > hg > Database > Christie
diff src/main/java/christie/remoteTextEditor/receiveCommand.java @ 234:665d56665b7e
add renew
author | ichikitakahiro <e165713@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 21 Jan 2020 19:05:04 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/java/christie/remoteTextEditor/receiveCommand.java Tue Jan 21 19:05:04 2020 +0900 @@ -0,0 +1,24 @@ +package christie.remoteTextEditor; + +import christie.annotation.Peek; +import christie.annotation.Take; +import christie.codegear.CodeGear; +import christie.codegear.CodeGearManager; +import christie.textEditor.NewTextEditor; +import christie.remoteTextEditor.Insert; +import christie.remoteTextEditor.Command; +import org.msgpack.annotation.Message; + +public class receiveCommand extends CodeGear { + @Take + Message cmd; + + @Peek + NewTextEditor myEditor; + + @Override + protected void run(CodeGearManager cgm) { +// cmd.execute(myEditor); + System.out.println("キャッチ"); + } +}