/** * Creates the unicast and multicast sockets and starts the unicast and multicast receiver threads */ public void start() throws Exception { try { createSockets(); super.start(); } catch(Exception ex) { destroySockets(); throw ex; } ucast_receivers=createReceivers(unicast_receiver_threads, sock, UCAST_NAME); if(ip_mcast) mcast_receivers=createReceivers(multicast_receiver_threads, mcast_sock, MCAST_NAME); }
/** * Creates the unicast and multicast sockets and starts the unicast and multicast receiver threads */ public void start() throws Exception { if(log.isDebugEnabled()) log.debug("creating sockets and starting threads"); try { createSockets(); } catch(Exception ex) { String tmp="problem creating sockets (bind_addr=" + bind_addr + ", mcast_addr=" + mcast_addr + ")"; throw new Exception(tmp, ex); } super.start(); startThreads(); }
/** * Creates the unicast and multicast sockets and starts the unicast and multicast receiver threads */ public void start() throws Exception { try { createSockets(); super.start(); } catch(Exception ex) { destroySockets(); throw ex; } ucast_receivers=createReceivers(unicast_receiver_threads, sock, UCAST_NAME); if(ip_mcast) mcast_receivers=createReceivers(multicast_receiver_threads, mcast_sock, MCAST_NAME); }