public void run ( ) { // I hope that this hits you over the head with its simplicity. // That's the idea. The instances of the transports are supposed to be self // contained. Thread transportThread ; for ( Transport t : _transports ) { transportThread = new Thread ( t ) ; transportThread . setName ( t . transportName ( ) ) ; transportThread . start ( ) ; } }
This is the main run method for the Argo Responder . It starts up all the configured transports in their own thread and starts their receive loops .