kuujo / vertigo

Flow-based programming for the Vert.x application platform.
Apache License 2.0
155 stars 24 forks source link

Only support ComponentHooks via the Network interface #18

Closed kuujo closed 11 years ago

kuujo commented 11 years ago

There seems to me to be no good reason to support InputHook and OutputHook on net.kuujo.vertigo.network.Component instances. A component hook accomplishes all the same tasks as an input or output hook, so these methods simply clutter the interface and require additional management of networks and contexts. This API should be refactored to support ComponentHook only.