*
* @throws Exception
*/
public void startChatSource() throws Exception {
System.out.println("Connecting to target " + this.targetId + " ...");
final UCESocket socketTpPartner = UCEUnsecureSocketFactory.getInstance().createSourceSocket(this.targetId);
socketTpPartner.connect();
System.out.println("Connection to " + this.targetId + " established");
System.out.println("Starting threads for processing ...");
final Executor executor = Executors.newCachedThreadPool();
executor.execute(new ReaderTask(socketTpPartner.getOutputStream()));
executor.execute(new PrinterTask(socketTpPartner.getInputStream()));
System.out.println("Ready to chat ...");
}