johnding1996 / HKUST-COMP3111H-Group

Group Project of COMP 3111H in Fall 2017 at HKUST
Apache License 2.0
0 stars 0 forks source link

JSON objects used to communicate with Controller #23

Closed gongaa closed 7 years ago

gongaa commented 7 years ago

They are the objects you will use to communicate with Controller. i.e Controller will send ParserMessageJSON object to your individual module and you will send FormatterMessageJSON object back to Formatter (which is part of the Controller). These two objects both contain a List of MsgJSON object, which is a super class for

gongaa commented 7 years ago

There is reason why I didn’t make MsgJSON abstract. When the @Autowired annotation is added, it will call the constructor of that object, but an abstract class cannot be instantiated.

thomaszhouan commented 7 years ago

See wiki page for the most updated API for ParserMessageJSON and FormatterMessageJSON