I have a TCP server to process data from a gps device. I built a TCP.nioServer using a gateway to respond with necesary protocol data. Aditionally I want to send commands stored