In AbstractServiceInstance, changing return value of getTable()
to short, and making writeFlow() protected.

Change-Id: I28ba2899c77bf188be6a25f3d590f90b7ce7de9a
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>