Mercurial > hg > Database > Christie
view src/main/java/christie/remoteTextEditor2/receiveCommand.java @ 237:90d463bfe734
add renew
author | ichikitakahiro <e165713@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 21 Jan 2020 19:53:10 +0900 |
parents | src/main/java/christie/remoteTextEditor/receiveCommand.java@665d56665b7e |
children |
line wrap: on
line source
package christie.remoteTextEditor2; import christie.annotation.Peek; import christie.annotation.Take; import christie.codegear.CodeGear; import christie.codegear.CodeGearManager; import christie.textEditor.NewTextEditor; 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("キャッチ"); } }