/** * Start the background processing thread. */ public void start() { threadData = endpoint.getConnectionHandler().init(); thread = new ThreadWithAttributes(null, this); thread.setName(threadName); thread.setDaemon(true); thread.start(); }
public Object[] getInitData() { // no synchronization overhead, but 2 array access Object obj[]=new Object[2]; obj[1]= endpoint.getConnectionHandler().init(); obj[0]=new TcpConnection(); return obj; }