OSDN Git Service

Cosmetic: Move logic from CommandListener into NetworkController.
authorSreeram Ramachandran <sreeram@google.com>
Fri, 18 Apr 2014 16:49:13 +0000 (09:49 -0700)
committerSreeram Ramachandran <sreeram@google.com>
Wed, 14 May 2014 07:45:07 +0000 (00:45 -0700)
commit3ced06906759b3ce252e114fcc9c98fa36228911
tree3579e56cece8a6bec2755d15015b2338f31670e9
parent8fe9c8e0a2b1c5cd2a34720efaccc641d9ab8fb6
Cosmetic: Move logic from CommandListener into NetworkController.

CommandListener should just unmarshal params, and delegate all functional logic
to NetworkController (or other such classes). So, for example, if you call
destroyNetwork() directly from a unit test, you should get the same effect as if
you sent a "network destroy" command to CommandListener.

(cherry picked from commit f7743bf18672d654e79565e85c7d3770e2f0f26c)

Change-Id: Ic61ae9141e2eea95394a3a38e30a72fe964cdc81
NetworkController.cpp